This function return the data smoothed using the running median
algorithm. For each chunk of data of size equal to the buffer_size parameter
is calculated the median and this value is used as the i term of the newly
smoothed data.
For initial and final values zero padding is applied.
Usage
RMS(raw_data, buffer_size = 5)
Arguments
raw_data
Data upon which the algorithm is applied
buffer_size
number of points the algorithm use to compute the median