TS++ library: time series library

◆ psdnorm()

double ts::tapers::FourPoint::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
Todo:
FourPoint::psdnorm() must be implemented

Implements ts::tapers::Taper.

Definition at line 268 of file tapers.cc.

References TSXX_abort.

269  {
270  const double retval=1.;
271  TSXX_abort("FourPoint::psdnorm() is not yet defined");
276  return (retval);
277  } // double FourPoint::psdnorm() const
#define TSXX_abort(M)
Abort and give a message.
Definition: error.h:135