add a code to simulate data and preprocess data for wavelet based analysis or window based analysis