Applies the Discrete Cosine I transform, data binning and the variance stabilizing transform function to the data.
Data.trafo(y, Te, dct.out = FALSE)A list containing the following elements:
m: number of data points per bin, that is m=n*round(p/Te). If p/Te is not an integer, the first/last bin may contain more than m data points.
y.star: 2Te-2 dimensional vector with binned, variance stabilized and mirrowed data. The bin number Te may be modified to guarantee at least two data points per bin. If p/Te is not an integer, the vector dimension is 2*floor(p/round(p/Te))-2.
dct.matrix: p-dim. DCT-I matrix (if dct.out=TRUE)
nxp dimensional data matrix
number of bins for data binning. Te should be smaller than the vector length p.
logical. If TRUE, the p-dim. DCT-I matrix is returned. The default is FALSE.