Skip to main content

Spherical Harmonics Transform API

Project description

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 Bitbucket 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fluidsht-0.0.3a1.tar.gz (47.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page