Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 1.15 KB

shpowerdensitylc.md

File metadata and controls

28 lines (16 loc) · 1.15 KB

SHPowerDensityLC

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

Usage

psd = SHPowerDensityLC (cilm, l)

Parameters

psd : output, real(dp) : Power spectral density of the complex function for spherical harmonic degree l.

cilm : input, complex(dp), dimension (2, lmaxin+1, lmaxin+1) : The complex function expressed in complex spherical harmonics.

l : input, integer(int32) : The spherical harmonic degree. This must be less than or equal to lmaxin.

Description

SHPowerDensityLC will calculate the power spectral density of a complex function expressed in complex 4-pi normalized spherical harmonics for a single spherical harmonic degree l. This is calculated as:

psd = Sum_{i=1}^2 Sum_{m=0}^l | cilm(i, l+1, m+1) |**2 / (2l + 1).

See also

shpowerlc, shcrosspowerlc, shcrosspowerdensitylc, shpowerspectrumc, shpowerspectrumdensityc, shcrosspowerspectrumc, shcrosspowerspectrumdensityc