81 using libtime::TAbsoluteTime;
82 using libtime::TRelativeTime;
94 "requested sample lies outside time series");
95 aff::Tsubscript iright= (ileft < s.last()) ? ileft+1 : ileft;
96 double f=libtime::time2double(t-sff::wid2isample(hd, ileft-s.f()))/hd.dt;
107 " " <<
TSXX_value(sff::wid2isample(hd, ileft-s.f()).timestring())
111 " " <<
TSXX_value(sff::wid2isample(hd, iright-s.f()).timestring())
117 Tvalue retval=((1.-f)*s(ileft)+f*s(iright));
Tconst_timeseries Mts
here we hold a copy
Tconst_timeseries::Theader Theader
#define TSXX_value(V)
report value
libtime::TAbsoluteTime Madjustedfirst
Ttimeseries::Tvalue Tvalue
#define TSXX_debug(C, N, M)
produce debug output
libtime::TRelativeTime Mdt
libtime::TRange Minputwindow
Theader header
data header fields
bool debug() const
indicate whether interpolator is in debug mode
#define TSXX_assert(C, M)
Check an assertion and report by throwing an exception.
Tconst_timeseries::Tseries Tconst_series