Smooth data using a window with requested size.
This method is based on the convolution of a scaled window with the signal. The signal is prepared by introducing reflected copies of the signal (with the window size) in both ends so that transient parts are minimized in the begining and end part of the output signal.
Parameters : | x : array
window_len: int :
window : str
|
---|---|
Returns : | y : array
|