/
shpowerspectrumdensityc.1
56 lines (56 loc) · 1.83 KB
/
shpowerspectrumdensityc.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.\" Automatically generated by Pandoc 2.17.1.1
.\"
.\" Define V font for inline verbatim, using C font in formats
.\" that render this, and otherwise B font.
.ie "\f[CB]x\f[]"x" \{\
. ftr V B
. ftr VI BI
. ftr VB B
. ftr VBI BI
.\}
.el \{\
. ftr V CR
. ftr VI CI
. ftr VB CB
. ftr VBI CBI
.\}
.TH "shpowerspectrumdensityc" "1" "2021-02-15" "Fortran 95" "SHTOOLS 4.10"
.hy
.SH SHPowerSpectrumDensityC
.PP
Compute the power spectral density of a complex function.
.SH Usage
.PP
call SHPowerSpectrumDensityC (\f[V]cilm\f[R], \f[V]lmax\f[R],
\f[V]pspectrum\f[R], \f[V]exitstatus\f[R])
.SH Parameters
.TP
\f[V]cilm\f[R] : input, complex(dp), dimension (2, \f[V]lmaxin\f[R]+1, \f[V]lmaxin\f[R]+1)
The complex function expressed in complex spherical harmonics.
.TP
\f[V]lmax\f[R] : input, integer(int32)
The maximum spherical harmonic degree of the power spectral density.
This must be less than or equal to \f[V]lmaxin\f[R].
.TP
\f[V]pspectrum\f[R] : output, real(dp), dimension (\f[V]lmax\f[R]+1)
The power spectral density of the function.
.TP
\f[V]exitstatus\f[R] : output, optional, integer(int32)
If present, instead of executing a STOP when an error is encountered,
the variable exitstatus will be returned describing the error.
0 = No errors; 1 = Improper dimensions of input array; 2 = Improper
bounds for input variable; 3 = Error allocating memory; 4 = File IO
error.
.SH Description
.PP
\f[V]SHPowerSpectrumDensityC\f[R] will calculate the power spectral
density of a complex function expressed in complex 4-pi normalized
spherical harmonics.
For a given spherical harmonic degree \f[V]l\f[R], this is calculated
as:
.PP
\f[V]pspectrum(l) = Sum_{i=1}\[ha]2 Sum_{m=0}\[ha]l | cilm(i, l+1, m+1) |**2 / (2l + 1)\f[R].
.SH See also
.PP
shpowerlc, shpowerdensitylc, shcrosspowerlc, shcrosspowerdensitylc,
shpowerspectrumc, shcrosspowerspectrumc, shcrosspowerspectrumdensityc