[GRASS-user] Median filtering time series in time only
nik at nikosalexandris.net
nik at nikosalexandris.net
Wed Jan 27 07:31:12 PST 2021
An example:
In [1]: from scipy.signal import medfilt
In [4]: ts = [1, 2, 2, 6, 3, 3, 4, 4, 3, 2, 2, 1]
In [5]: medfilt(ts, kernel_size=3)
Out[5]: array([1., 2., 2., 3., 3., 3., 4., 4., 3., 2., 2., 1.])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20210127/c69a02f2/attachment.html>
More information about the grass-user
mailing list