New routines for moving window statistics and filters

Patrick Alken
Wed May 2 20:58:00 GMT 2018

Dear GSL users/developers,

I have added a new module called gsl_movstat to GSL, which provides 
routines for moving window statistics (also called sliding window 
statistics, rolling statistics, running statistics, etc). Currently 
there is support for the following:

moving mean, sum, min/max, variance/stddev, median, MAD, q-quantile 
range, Q_n, S_n

I have also added some robust statistics routines to the gsl_stats area, 
including MAD, S_n, Q_n, Gastwirth and trimmed mean routines.

Finally, I added a new module called gsl_filter, which currently 
contains a small number of common filtering routines. Currently, there 
is 1 linear filter (Gaussian smoothing) and 3 nonlinear filters (median, 
recursive median and impulse-rejection filters). I would like to 
eventually add other common filters (like Butterworth, Chebyshev) and 
possibly some routines to allow users to design their own filters with 
various criteria. This probably won't happen before the next release 

I have put everything into the master branch of the git with 
documentation. Any feedback/suggestions are welcome.



More information about the Gsl-discuss mailing list