TS++ library: time series library

◆ FourPoint()

ts::tapers::FourPoint::FourPoint ( const double &  t1 = 0.,
const double &  t2 = 0.1,
const double &  t3 = 0.9,
const double &  t4 = 1. 
)

Definition at line 186 of file tapers.cc.

References Mt1, Mt2, Mt3, Mt4, and TSXX_assert.

190  : Mt1(t1), Mt2(t2), Mt3(t3), Mt4(t4)
191  {
192  TSXX_assert(((0<=Mt1) && (Mt1<=Mt2) && (Mt2<=Mt3) && (Mt3<=Mt4) &&
193  (Mt4<=1.)),
194  "FourPoint taper times are not in increasing order");
195  } // FourPoint::FourPoint(...)
#define TSXX_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:127
double Mt1
times in units of time series duration relative to first sample
Definition: tapers.h:152