Skip to content

🌐 Python package for performing Spherical Harmonic Transforms (SHT) with different libraries (publish-only mirror)

License

Notifications You must be signed in to change notification settings

fluiddyn/fluidsht

Repository files navigation

FluidSHT

efficient and easy Spherical Harmonic Transforms for Python

Latest version Supported Python versions Documentation status Code coverage travis

A Python package to provide a unified API to perform Spherical Harmonic Transforms (SHT).

Documentation: https://fluidsht.readthedocs.io

Getting started

For a basic installation it should be sufficient to run:

pip install fluidsht [--user]

You can get the source code from Heptapod or from the Python Package Index. The development mode is often useful if you intend to modify fluidsht. From the root directory:

pip install -e .

Tests

From the root directory:

make tests

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.

About

🌐 Python package for performing Spherical Harmonic Transforms (SHT) with different libraries (publish-only mirror)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published