/
shcrosspowerlc.1
55 lines (55 loc) · 1.68 KB
/
shcrosspowerlc.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
.\" 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 "shcrosspowerlc" "1" "2021-02-15" "Fortran 95" "SHTOOLS 4.10"
.hy
.SH SHCrossPowerLC
.PP
Compute the cross-power of two complex functions for a single spherical
harmonic degree.
.SH Usage
.PP
\f[V]cpower\f[R] = SHCrossPowerLC (\f[V]cilm1\f[R], \f[V]cilm2\f[R],
\f[V]l\f[R])
.SH Parameters
.TP
\f[V]cpower\f[R] : output, complex(dp)
Cross power of the two complex functions for spherical harmonic degree
\f[V]l\f[R].
.TP
\f[V]cilm1\f[R] : input, complex(dp), dimension (2, \f[V]lmaxin1\f[R]+1, \f[V]lmaxin1\f[R]+1)
The first complex function expressed in complex spherical harmonics.
.TP
\f[V]cilm2\f[R] : input, complex(dp), dimension (2, \f[V]lmaxin2\f[R]+1, \f[V]lmaxin2\f[R]+1)
The second complex function expressed in complex spherical harmonics.
.TP
\f[V]l\f[R] : input, integer(int32)
The spherical harmonic degree.
This must be less than or equal to the minimum of \f[V]lmaxin1\f[R] and
\f[V]lmaxin2\f[R].
.SH Description
.PP
\f[V]SHCrossPowerLC\f[R] will calculate the spectral cross-power of two
complex functions expressed in complex 4-pi normalized spherical
harmonics for a single spherical harmonic degree \f[V]l\f[R].
This is calculated as:
.PP
\f[V]cpower = Sum_{i=1}\[ha]2 Sum_{m=0}\[ha]l cilm1(i, l+1, m+1) * conjg[cilm2(i, l+1, m+1)]\f[R].
.SH See also
.PP
shpowerlc, shpowerdensitylc, shcrosspowerdensitylc, shpowerspectrumc,
shpowerspectrumdensityc, shcrosspowerspectrumc,
shcrosspowerspectrumdensityc