Compute the power of a complex function for a single spherical harmonic degree.
power
= SHPowerLC (cilm
, l
)
power
: output, real(dp)
: Power of the complex function for spherical harmonic degree l
.
cilm
: input, complex(dp), dimension (2, lmaxin
+1, lmaxin
+1)
: The complex spherical harmonics of the complex function.
l
: input, integer
: The spherical harmonic degree. This must be less than or equal to lmaxin
.
SHPowerLC
will calculate the power of a complex function expressed in complex 4-pi normalized spherical harmonics for a single spherical harmonic degree l
. This is calculated as:
power = Sum_{i=1}^2 Sum_{m=0}^l | cilm(i, l+1, m+1) |**2
.
shpowerdensitylc, shcrosspowerlc, shcrosspowerdensitylc, shpowerspectrumc, shpowerspectrumdensityc, shcrosspowerspectrumc, shcrosspowerspectrumdensityc