Skip to content

astro-informatics/ssht

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
 
 
 
 
lib
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SSHT: Fast spin spherical harmonic transforms

CMake Build Python Build

DESCRIPTION

The SSHT code provides functionality to perform fast and exact spin spherical harmonic transforms based on the sampling theorem on the sphere derived in McEwen & Wiaux (2011).

SSHT can also interface with ducc0 and use it as a backend for spherical harmonic transforms and rotations.

INSTALLATION

The python package, pyssht, is available on pypi and can be installed with:

pip install pyssht

The C package can be installed with CMake and conan.

Both can be installed using pip:

pip install conan cmake

Then SSHT can be compiled with:

git clone https://github.com/astro-informatics/ssht.git
mkdir ssht/build && cd ssht/build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local -Dconan_deps=True ..
make
make install

The above will also download FFTW, if necessary.

Further instructions for installing SSHT Matlab and Fortran versions are available here.

DOCUMENTATION

Further documentation is available here.

Usage for the python package is also given in the package docstring.

REFERENCING

If you use SSHT for work that results in publication, please reference https://github.com/astro-informatics/ssht/ and cite our related academic papers:

LICENSE

SSHT is released under the GPL-3 license. For further details see LICENSE.

AUTHORS

SSHT was initially written by Jason McEwen but significant contributors have since been made by a number of others.