TS++ library: time series library

◆ psdnorm()

double ts::tapers::Cosine::psdnorm ( ) const
privatevirtual

return normalization for PSD calculation. The taper coefficients $w_k$ have to be devided by the return value $W$.

Returns
$ W=\sqrt{\frac{\sum\limits_{k=1}^{N} w_k^2}{N}} $
See also
ts::tapers::Taper::psdapply

Implements ts::tapers::Taper.

Definition at line 170 of file tapers.cc.

References TSXX_abort.

171  {
172  const double retval=1.;
173  TSXX_abort("Cosine::psdnorm() is not yet defined");
174  /*
175  *
176  * NOTICE:
177  * The transform of the cosine taper is available in fouriertrafo.tex
178  * in work/pjt/doz/mess
179  *
180  */
181  return (retval);
182  } // double Cosine::psdnorm() const
#define TSXX_abort(M)
Abort and give a message.
Definition: error.h:135