astro-informatics / s2wav

Differentiable and accelerated wavelet transform on the sphere with JAX
https://astro-informatics.github.io/s2wav/
MIT License
14 stars 0 forks source link

Support upsampling symmetry #34

Closed CosmoMatt closed 1 year ago

CosmoMatt commented 1 year ago

See section 3 of this paper . In the code you'll see this coming up with terms like this, where for a given j the bandlimit will be different. Notice also that this shouldn't just be an upper limit but also a lower limit, i.e. a given wavelet scale j will only have non-zero harmonic coefficients between some restricted range L_0j to L_j. This part of the code update should be relatively straightforward to implement in numpy, but may be more difficult when we come to write JAX versions.

CosmoMatt commented 1 year ago

As you suggested @jasonmcewen I think a list of arrays may be the best approach for what we want to do here (at least in numpy, not sure how well JAX will play with this though).