title | keywords | sidebar | permalink | summary | tags | toc | editdoc | |
---|---|---|---|---|---|---|---|---|
SHCilmToCindex() |
spherical harmonics software package, spherical harmonic transform, legendre functions, multitaper spectral analysis, Python, gravity, magnetic field |
mydoc_sidebar |
pyshcilmtocindex.html |
|
false |
pydoc |
Convert a three-dimensional array of spherical harmonic coefficients to a two-dimensional indexed array.
cindex = SHCilmToCindex (cilm, [lmax])
cindex : float, dimension (2, (lmax+1)*(lmax+2)/2) : The indexed output spherical harmonic coefficients.
cilm : float, dimension (2, lmaxin+1, lmaxin+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.
lmax : optional, integer, default = lmaxin : Maximum degree of input spherical harmonics to convert.
SHCilmToCindex will convert a three-dimensional array of spherical harmonic coefficients to a two-dimensional indexed array. The degree l and order m corresponds to the index l*(l+1)/2+m.