SHTOOLS; Fortran/Python spherical harmonic transform software package

The current version of SHTOOLS is 3.2 (released June 20, 2016)

What is SHTOOLS?

SHTOOLS is an archive of Fortran 95 and Python software that can be used to perform spherical harmonic transforms and reconstructions, rotations of data expressed in spherical harmonics, and multitaper spectral analyses on the sphere.

SHTOOLS is extremely versatile:

How do I install SHTOOLS?

The most recent release of SHTOOLS can be downloaded from GitHub. Installation of SHTOOLS can be as simple as executing the following command in a unix terminal:


To run the Fortran 95 and Python tests, enter

make fortran-tests
make python-tests

To compile the OpenMP version of the fortran routines, enter

make fortran-mp

More information can be found on the GitHub wiki and in the SHTOOLS documentation. Keep up to date by following SHTOOLS on Twitter.

How do I use SHTOOLS?

SHTOOLS can be used in any Fortran 95 or Python program. The base SHTOOLS software is written in Fortran 95, and Python wrappers allow simple access to all fortran-compiled routines. SHTOOLS makes use of the freely available Fourier transform package FFTW and the linear algebra packages LAPACK and BLAS.

How much does it cost?

The SHTOOLS software package is entirely free and open source. SHTOOLS can be modified and distributed according to the revised BSD license.

Institut de Physique du Globe de Paris University of Sorbonne Paris Cité © 2016 SHTOOLS