Calculating power

power.SHPowerL(c, l)

Calculates the power contained in a particular spherical harmonic degree

Parameters:
  • c (numpy array) – array of SH coefficients of shape (2, lmax+1, lmax+1), where lmax is the maximum degree for which coefficients are stored in the array
  • l (int) – the degree for which to calculate power
Returns:

power in degree l

power.SHPowerSpectrum(c)

Calculates the power for all degrees represented in a CILM array

Parameters:c (numpy array) – array of SH coefficients of shape (2, lmax+1, lmax+1), where lmax is the maximum degree for which coefficients are stored in the array
Returns:1D numpy array of length lmax
power.SHDegreeVariance(c)

Calculate the degree variance for all degrees represented in a CILM array

Parameters:c (numpy array) – array of SH coefficients of shape (2, lmax+1, lmax+1), where lmax is the maximum degree for which coefficients are stored in the array
Returns:1D numpy array of length lmax
power.SHPowerSpectrumDensity(c)

Calculate the degree normalized density for all degrees represented in a CILM array

Parameters:c (numpy array) – array of SH coefficients of shape (2, lmax+1, lmax+1), where lmax is the maximum degree for which coefficients are stored in the array
Returns:1D numpy array of length lmax

Previous topic

Special Functionality Routines

Next topic

Miscelaneous Functions

This Page