In [5]: medfilt(ts, kernel_size=3) Out[5]: array([1., 2., 2., 3., 3., 3., 4., 4., 3., 2., 2., 1.])
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
In [5]: medfilt(ts, kernel_size=3) Out[5]: array([1., 2., 2., 3., 3., 3., 4., 4., 3., 2., 2., 1.])
_______________________________________________ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user