ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2405.011] DirectSHT: Direct spherical harmonic transform

DirectSHT performs direct spherical harmonic transforms for point sets on the sphere. Given a set of points, defined by arrays of theta and phi (in radians) and weights, it provides the spherical harmonic transform coefficients alm. JAX (ascl:2111.002) can be used to speed up the computation; the code will automatically fall back to numpy if JAX is not present. The code is much faster when run on GPUs. When they are available and JAX is installed, the code automatically distributes computation and memory across them.

Code site:
https://github.com/martinjameswhite/directsht
Described in:
https://ui.adsabs.harvard.edu/abs/2024JCAP...05..010B
Bibcode:
2024ascl.soft05011B

Views: 418

ascl:2405.011
Add this shield to your page
Copy the above HTML to add this shield to your code's website.