38 #define TF_STRUCTGAPANALYSIS_CC_VERSION \ 39 "TF_STRUCTGAPANALYSIS_CC V1.1" 48 Tvecofgap::const_iterator I=
gap.begin();
51 if (I->isbreak()) { ++retval.
nbreaks; }
else { ++retval.
ngaps; }
64 os <<
id.ID <<
" dt=" <<
id.dt.timestring();
74 os <<
"chunk of " <<
id <<
":" <<
"\n";
75 os << chunk.
first.timestring() <<
" - " << chunk.
last.timestring();
84 os <<
" " << gap.
first.timestring();
87 os <<
": break in contiguous data\n";
91 os <<
" - " << gap.
last.timestring() <<
"\n";
97 if (nmissing!=1) { os <<
"s are"; }
else { os <<
" is"; }
structs used in primary gap analysis (prototypes)
unsigned int ngaps
total number of gaps
std::ostream & operator<<(std::ostream &os, const Gapid &id)
print stream ID
Gapsummary summarize() const
provide a summary for this stream
unsigned int nbreaks
total number of breaks
libtime::TAbsoluteTime first
libtime::TAbsoluteTime first
struct to present a summary
Indicate a contiguous set of data.
libtime::TAbsoluteTime Mlatest
unsigned int nmissing
number of missing samples
libtime::TAbsoluteTime last
libtime::TRelativeTime dt
libtime::TAbsoluteTime Mearliest
libtime::TRelativeTime tmissing
time span not covered with samples
libtime::TAbsoluteTime last