xr-scipy icon indicating copy to clipboard operation
xr-scipy copied to clipboard

Re: Possible merge with xarray-dsp and other projects

Open hippalectryon-0 opened this issue 1 year ago • 0 comments

Continuation of  #4

Projects to consider:

There are also a few wrappers for wavelets from pycwt, but I guess those wouldn't really fit into xr-scipy since pycwt is not included in scipy. It's also a question whether you want to restrict this project to scipy functions.

I also found kaipak/xrsigproc which also uses some smoothing functions from scipy.ndimage and scipy.convolve for (probably) spatial filtering. There is also serazing/xscale which also does some signal processing and FFT using mostly scipy again. Maybe we could contact these projects as well.

Also, I know crusaderky/xarray_extras. There must be much more small packages that have been developed individually. For a limited list, see FAQ page of xarray's document page

Hi! I have created a library that has wrappers for scipy.stats (among other things): https://xarray-einstats.readthedocs.io/en/latest/. It currently has: wrappers for many numpy.linalg functions wrappers for scipy.stats distributions plus a few functions wrappers for einops functions a numba.guvectorize-decorated version of numpy.histogram for dataarrays I have mostly added wrappers for things I personally use, also trying to not overlap with your library nor xarray-extras, so it might not make much sense as a group, but the modules are completely independent between them and could be reorganized into independent packages or merged into existing ones. I don't know what your roadmap is nor if there is interest within the xarray for scipy wrappers or similar things, but it could be interesting to collaborate. In my case, I might add some very thin wrappers on a few special functions that I use often (i.e. expit, logsumexp), and some more guvectorized things, but the things above are mostly what I'll use and what I am willing to maintain. Also, feedback very welcome!

Related:

hippalectryon-0 avatar May 05 '23 10:05 hippalectryon-0