- SHCrossPowerSpectrumDensityC -
-
Compute the cross-power spectral density of two complex functions.
- SUBROUTINE SHCrossPowerSpectrumDensityC (
-
C1, C2, LMAX, CSPECTRUM )
- COMPLEX*16
-
C1(2, LMAX+1, LMAX+1), C2(2, LMAX+1, LMAX+1), CSPECTRUM(LMAX+1)
- INTEGER
-
LMAX
SHCrossPowerSpectrumDensityC will calculate the cross-power spectral density of two functions expressed in complex spherical harmonics. For a given degree L, this is explicitly calculated as:
Sum_{i=1}^2 Sum_{m=0}^L C1(i, L+1, m+1) * conjg[C2(i, L+1, m+1)] / (2L + 1).
- C1
-
(input) COMPLEX*16, DIMENSION (2, LMAX+1, LMAX+1)
The first function expressed in complex spherical harmonics.
- C2
-
(input) COMPLEX*16, DIMENSION (2, LMAX+1, LMAX+1)
The second function expressed in complex spherical harmonics.
- LMAX
-
(input) INTEGER
The maximum spherical harmonic degree for which the cross power spectral density will be calculated.
- CSPECTRUM
-
(output) COMPLEX*16, DIMENSION (LMAX+1)
The cross-power spectral density of the two complex functions.
shpowerlc(1), shpowerdensitylc(1), shcrosspowerc(1), shcrosspowerdensitylc(1), shpowerspectrumc(1), shpowerspectrumdensityc(1), shcrosspowerspectrumc(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.