-
Notifications
You must be signed in to change notification settings - Fork 106
/
shbiasadmitcorr.1
138 lines (138 loc) · 5.42 KB
/
shbiasadmitcorr.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
.\" Automatically generated by Pandoc 2.9.2
.\"
.TH "shbiasadmitcorr" "1" "2019-09-23" "Fortran 95" "SHTOOLS 4.6"
.hy
.SH SHBiasAdmitCorr
.PP
Calculate the expected multitaper admittance and correlation spectra
associated with the input global cross-power spectra of two functions.
.SH Usage
.PP
call SHAdmitCorr (\f[C]sgt\f[R], \f[C]sgg\f[R], \f[C]stt\f[R],
\f[C]lmax\f[R], \f[C]tapers\f[R], \f[C]lwin\f[R], \f[C]k\f[R],
\f[C]admit\f[R], \f[C]corr\f[R], \f[C]mtdef\f[R], \f[C]taper_wt\f[R],
\f[C]exitstatus\f[R])
.SH Parameters
.TP
\f[B]\f[CB]sgt\f[B]\f[R] : input, real(dp), dimension (\f[B]\f[CB]lmax\f[B]\f[R]+1)
The global cross-power spectrum of the functions \f[C]G\f[R] and
\f[C]T\f[R].
.TP
\f[B]\f[CB]sgg\f[B]\f[R] : input, real(dp), dimension (\f[B]\f[CB]lmax\f[B]\f[R]+1)
The global power spectrum of the function \f[C]G\f[R].
.TP
\f[B]\f[CB]stt\f[B]\f[R] : input, real(dp), dimension (\f[B]\f[CB]lmax\f[B]\f[R]+1)
The global power spectrum of the function \f[C]T\f[R].
.TP
\f[B]\f[CB]lmax\f[B]\f[R] : input, integer
The maximum spherical harmonic degree to use of the input spectra
\f[C]sgt\f[R], \f[C]sgg\f[R], \f[C]stt\f[R].
.TP
\f[B]\f[CB]tapers\f[B]\f[R] : input, real(dp), dimension (\f[B]\f[CB]lwin\f[B]\f[R]+1, \f[B]\f[CB]k\f[B]\f[R])
The spherical harmonic coefficients of the spherical cap localizing
windows.
Each column corresponds to the non-zero coefficients of a single angular
order.
Since all that is important is the power spectrum of each window, the
exact angular order is not important.
These are generated by a call to \f[C]SHReturnTapers\f[R] or
\f[C]SHReturnTapersM\f[R].
.TP
\f[B]\f[CB]lwin\f[B]\f[R] : input, integer
The spherical harmonic bandwidth of the localizing windows.
.TP
\f[B]\f[CB]k\f[B]\f[R] : input, integer
The number of localizing windows to use.
Only the first \f[C]k\f[R] columns of \f[C]tapers\f[R] will be employed,
which corresponds to the \f[C]k\f[R] best-concentrated localizing
windows.
.TP
\f[B]\f[CB]admit\f[B]\f[R] : output, real(dp), dimension (\f[B]\f[CB]lmax\f[B]\f[R]-\f[B]\f[CB]lwin\f[B]\f[R]+1)
The biased admittance spectrum obtained using the localized
(cross-)power spectra of Sgt and Stt.
.TP
\f[B]\f[CB]corr\f[B]\f[R] : output, real(dp), dimension (\f[B]\f[CB]lmax\f[B]\f[R]-\f[B]\f[CB]lwin\f[B]\f[R]+1)
The biased correlation spectrum obtained using the localized
(cross-)power spectra of Sgt, Stt, and Sgg.
.TP
\f[B]\f[CB]mtdef\f[B]\f[R] : optional, input, integer, default = 1
1 (default): Calculate the multitaper spectral estimates Sgt, Sgg and
Stt first, and then use these to calculate the admittance and
correlation functions.
2: Calculate admittance and correlation spectra using each individual
taper, and then average these to obtain the multitaper admittance and
correlation functions.
.TP
\f[B]\f[CB]taper_wt\f[B]\f[R] : input, optional, real(dp), dimension (\f[B]\f[CB]k\f[B]\f[R])
The weights to apply to each individual windowed spectral estimate.
The weights must sum to unity and are obtained from
\f[C]SHMTVarOpt\f[R].
.TP
\f[B]\f[CB]exitstatus\f[B]\f[R] : output, optional, integer
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
Given the global cross-power spectra \f[C]Sgt\f[R], \f[C]Sgg\f[R] and
\f[C]Stt\f[R] of two functions \f[C]G\f[R] and \f[C]T\f[R],
\f[C]SHBiasAdmitCorr\f[R] will calculate the expected multitaper
admittance and correlation spectra associated with the two global
functions.
This routine expects as input a matrix containing the spherical harmonic
coefficients of the localizing windows, which can be generated by a call
to \f[C]SHReturnTapers\f[R] or \f[C]SHReturnTapersM\f[R].
Only the \f[C]k\f[R] best-concentrated localization windows will be
employed when calculating the biased cross-power spectra.
The maximum calculated degree of the output biased admittance and
correlation spectra corresponds to \f[C]lmax-lwin\f[R], as it is assumed
that the input cross-power spectra beyond \f[C]lmax\f[R] are unknown,
and not zero.
.PP
Two manners of calculating the localized admittance and correlation
spectra are possible according to the value of the optional parameter
\f[C]mtdef\f[R].
In case 1, the multitaper cross-power spectra of Sgt, Sgg, and Stt are
first calculated, and from these, the admittance and correlation spectra
are formed.
In case 2, the biased admittance and correlation spectra are calculated
for each individual taper, and these are then averaged to obtain the
biased multitaper admittance and correlation spectra.
.PP
The default is to apply equal weights to each individual windowed
estimate of the spectrum, but this can be modified when \f[C]mtdef\f[R]
is 1 by specifying the weights in the optional argument
\f[C]taper_wt\f[R].
The weights must sum to unity and can be calculated by
\f[C]SHMTVarOpt\f[R].
.SH References
.PP
Wieczorek, M.
A.
and F.
J.
Simons, Minimum-variance multitaper spectral estimation on the sphere,
J.
Fourier Anal.
Appl., 13, doi:10.1007/s00041-006-6904-1, 665-692, 2007.
.PP
Simons, F.
J., F.
A.
Dahlen and M.
A.
Wieczorek, Spatiospectral concentration on the sphere, SIAM Review, 48,
504-536, doi:10.1137/S0036144504445765, 2006.
.PP
Wieczorek, M.
A.
and F.
J.
Simons, Localized spectral analysis on the sphere, Geophys.
J.
Int., 162, 655-675.
.SH See also
.PP
shbias, shbiask, shreturntapers, shreturntapersm, shmtvaropt