SHTOOLS --- Tools for working with spherical harmonics

> Home > Documentation > Python > Spherical Harmonic I/O and Storage

SHCindexToCilm

Convert a two-dimensional indexed array of spherical harmonic coefficients to a three-dimensional array.

Usage

cilm = pyshtools.SHCindexToCilm (cindex, [lmax])

Returns

cilm : float, dimension (2, lmax+1, lmax+1)
The input spherical harmonic coefficients. cilm[0,:,:] and cilm[1,:,:] correspond to either the real and imaginary components, or cosine and sine coefficients, respectively.

Parameters

cindex : float, dimension (2, (lmaxin+1)*(lmaxin+2)/2)
The indexed spherical harmonic coefficients.
lmax : optional, integer, default = lmaxin
The maximum degree of the output coefficients to convert.

Description

SHCindexToCilm will convert a two-dimensional indexed array of spherical harmonic coefficients to a three-dimensional array of complex spherical harmonic coefficients. The degree l and order m corresponds to the index l*(l+1)/2+m.

See also

shcilmtocindex, shcilmtovector, shvectortocilm

> Home > Documentation > Python > Spherical Harmonic I/O

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