S2fft

Latest version: v1.1.1

Safety actively analyzes 641872 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.1.0

This minor release of `S2FFT` aims to increase the accessibility of differentiable harmonic transforms to users without easy access to GPU compute resources. We provide custom JAX frontends for existing CPU bound C/C++ spherical harmonic libraries, at this point we capture the functionality of [`SSHT`](https://astro-informatics.github.io/ssht/) and [`HEALPix`](https://healpy.readthedocs.io/en/latest/) though in principle any spherical harmonics could easily be integrated.

> [!tip]
> For details on this approach see the original derivation in section 5.3.1 and 5.3.2 of [Price & McEwen 2023](https://arxiv.org/pdf/2311.14670.pdf).

Main changelog:

- JAX frontend support for HEALPix C++ library
- JAX frontend support for SSHT C library
- Reverse mode gradients for above validated against finite difference

1.0.2

Incremental version of `S2FFT` which adds support for:

- `PyTorch` precompute transforms
- Gauss-Legendre sampling schemes
- JAX harmonic space rotation functions
- JAX Risbo recursions

This version also implements some changes to reduce the compile time of HEALPix Fast Fourier transforms, though this issues is yet to be fully solved.

1.0.1

This is a relatively small patch which attempts to **mitigate the compile time of HEALPix transforms**. Though this is unlikely to have solved the overall scaling of the compile time, it has reduced the time by a factor of ~4 which should help.

1.0.0

This is the initial beta release to accompany the associated paper (see badges). In addition this version is deployed on PyPi with universal wheels which should be straightforward to install for various python versions and machine architectures.

0.0.1

This is a pre-alpha release version for use by collaborators. Most functionality is in place, but development of minor additions will be ongoing. Please submit an issue if you have one and we will respond asap!

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.