- SHPowerSpectrumDensity -
-
Compute the power spectral density of a real function.
- SUBROUTINE SHPowerSpectrumDensity (
-
C, LMAX, SPECTRUM )
- REAL*8
-
C(2, LMAX+1, LMAX+1), SPECTRUM(LMAX+1)
- INTEGER
-
LMAX
SHPowerSpectrumDensity will calculate the power spectral density of a function expressed in real spherical harmonics. For a given degree L, this is explicitly calculated as:
Sum_{i=1}^2 Sum_{m=0}^L C(i, L+1, m+1)**2 / (2L + 1).
- C
-
(input) REAL*8, DIMENSION (2, LMAX+1, LMAX+1)
The function expressed in real spherical harmonics.
- LMAX
-
(input) INTEGER
The maximum spherical harmonic degree to calculate the power spectral density.
- SPECTRUM
-
(output) REAL*8, DIMENSION (LMAX+1)
The power spectral density of the function.
shpowerl(1), shpowerdensityl(1), shcrosspowerl(1), shcrosspowerdensityl(1), shpowerspectrum(1), shcrosspowerspectrum(1), shcrosspowerspectrumdensity(1), shadmitcorr(1)
Copyright 2012 by Mark Wieczorek <wieczor@ipgp.fr>.
This is free software; you can distribute and modify it under the terms of the revised BSD license.