Spherical Harmonics Transform API
efficient and easy Spherical Harmonic Transforms for Python
A Python package to provide a unified API to perform Spherical Harmonic Transforms (SHT).
For a basic installation it should be sufficient to run:
pip install fluidsht [--user]
pip install -e .
From the root directory:
Or, from the root directory or any of the “test” directories:
python -m unittest discover
How does it work?
For the uninitiated, SHT is the spherical coordinates equivalent of FFT for cartesian coordinates. The aim of this package is to provides Python wrapper classes to facilitate SHT and related operators, very similar to FluidFFT, using various libraries such as:
SHTns and SHTOOLS are an OpenMP implementations while, libsharp is an MPI implementation. All the libraries have built-in python bindings and SHTOOLS is pip installable. There are other SHT codes such as:
which may be pursued if needed.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.