37 #define TF_FNCOMPLETENESS_CC_VERSION \ 38 "TF_FNCOMPLETENESS_CC V1.0 " 41 #include <tfxx/misc.h> 42 #include <aff/seriesoperators.h> 49 TFXX_debug(debug,
"completeness",
50 "just entered function" <<
"\n" << gs.
header.
ID);
59 for (
unsigned int j=0; j<2; ++j)
65 TFXX_debug(debug,
"completeness",
66 TFXX_value(j) <<
" " << TFXX_value(samplesperbin));
68 100.*(1.-
static_cast<double>(gs.
gapseries(i))/samplesperbin);
75 std::cout << TFXX_value(j) <<
" " 79 TFXX_debug(debug,
"completeness",
80 "about to leave function");
a class to hold a gap series for one stream
CompletenessSeries completeness(const GapSeries &gs, const bool &debug)
convert gaps to completeness
unsigned int samplesinbin(const libtime::TRelativeTime dt) const
number of samples to be expected in a bin
a class to hold a completeness series for one stream
libtime::TRelativeTime dt
function prototypes used in gap analysis (prototypes)
Tcompletenessseries completeness