SHTOOLS --- Tools for working with spherical harmonics

> Home > Documentation > Fortran 95

Spherical Harmonic I/O, Storage, and Conversions

Spherical harmonic I/O

SHRead Read spherical harmonic coefficients from an ascii-formatted file.
SHRead2 Read spherical harmonic coefficients from a CHAMP or GRACE-like ASCII file.
SHReadJPL Read spherical harmonic coefficients from a JPL ASCII file.

Spherical harmonic storage

SHCilmToCindex Convert a three-dimensional array of complex spherical harmonic coefficients to a two-dimensional indexed array.
SHCindexToCilm Convert a two-dimensional indexed array of complex spherical harmonic coefficients to a three-dimensional array.
SHCilmToVector Convert a 3-dimensional array of real spherical harmonic coefficients to a 1-dimensional ordered array.
SHVectorToCilm Convert a 1-dimensional indexed vector of real spherical harmonic coefficients to a 3-dimensional array.
YilmIndexVector Determine the index of a 1D ordered vector of spherical harmonic coefficients corresponding to I, L, and M.

Spherical harmonic conversions

SHrtoc Convert real spherical harmonics to complex form.
SHctor Convert complex spherical harmonics to real form.

> Home > Documentation > Fortran 95

Laboratoire Lagrange Observatoire de la Côte d'Azur © 2016 SHTOOLS