hippalectryon-0 / xr-scipy

scipy for xarray eco-system
http://xr-scipy.readthedocs.io
61 stars 9 forks source link

xrscipy.signal.frequency_filter: support dask #10

Closed FRidh closed 1 year ago

FRidh commented 3 years ago

The filter is applied along the core dimension. Supporting dask along that dimension is non-trivial. It is however easy to support dask along the non-core dimensions.

My use case is that I have lots of audio data that needs processing. With this change, it is possible to apply the same filter to all channels, and perform the computations out of core.

FRidh commented 3 years ago

Thanks to https://github.com/pydata/xarray/issues/2817#issuecomment-473759429.