Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 1.07 KB

pyshpowerlc.md

File metadata and controls

30 lines (17 loc) · 1.07 KB

SHPowerLC

Compute the power of a complex function for a single spherical harmonic degree.

Usage

power = pyshtools.SHPowerLC (cilm, l)

Returns

power : float : Power of the complex function for spherical harmonic degree l.

Parameters

cilm : complex, dimension (2, lmaxin+1, lmaxin+1) : The complex spherical harmonics of the complex function.

l : integer : The spherical harmonic degree. This must be less than or equal to lmaxin.

Description

SHPowerLC will calculate the power of a complex function expressed in complex spherical harmonics for a single spherical harmonic degree l. This is calculated as:

power = Sum_{i=0}^1 Sum_{m=0}^l | cilm[i, l, m] |**2.

See also

shpowerdensitylc, shcrosspowerlc, shcrosspowerdensitylc, shpowerspectrumc, shpowerspectrumdensityc, shcrosspowerspectrumc, shcrosspowerspectrumdensityc