35 #define TF_WID2LASTSAMPLE_CC_VERSION \ 36 "TF_WID2LASTSAMPLE_CC V1.1 " 45 libtime::TRelativeTime dt=libtime::double2time(wid2.
dt);
46 libtime::TAbsoluteTime retval=wid2.
date+(dt*(wid2.
nsamples-1));
53 libtime::TRelativeTime dt=libtime::double2time(wid2.
dt);
54 libtime::TAbsoluteTime retval=wid2.
date+(dt*wid2.
nsamples);
libtime::TAbsoluteTime wid2lastsample(const WID2 &wid2)
return time of last sample in waveform
int nsamples
number of samples
libtime::TAbsoluteTime date
time of first sample
libtime::TAbsoluteTime wid2nextdate(const WID2 &wid2)
return time of next first sample for contiguous data
double dt
sampling interval (sec)