Next: Function: fvalue_cmp()
Up: GRASP Routines: General purpose
Previous: Function: multitaper_cross_spectrum()
  Contents
0
This is a structure used to keep track of spectral lines as
they are removed. Its primary use is in the function remove_spectral_lines(). The structure contains the following:
struct removed_lines{
int index;
float fvalue;
float re;
float im;
};
The different quantities are:
- index: The subscript (frequency bin) occupied by the spectral
line in an array of length
(defined in the previous section).
Note that in typical use index runs over a range of
possible
values, including DC and Nyquist.
- fvalue The value of the F-statistic, defined by Percival and
Walden eqn. (499c).
- re: The real part of the line's complex amplitude.
The normalization/sign conventions are identical to Percival and Walden
eqns (499a) and the example on line 20 of page 513.
- im: The imaginary part of the line's complex amplitude.
The normalization
conventions are identical to Percival and Walden eqns (499a) and the
example on line 20 of page 513, but the sign is reversed, because
the Percival and Walden FFT conventions eqn (65ab) are opposite to
Numerical Recipes.
Next: Function: fvalue_cmp()
Up: GRASP Routines: General purpose
Previous: Function: multitaper_cross_spectrum()
  Contents
Bruce Allen
2000-11-19