1 #ifndef PrepareSubSamples_H
2 #define PrepareSubSamples_H
util::Stopwatch * m_stopwatch
The stopwatch, if we're using one.
bool Initialise(std::string configfile, DataModel &data)
std::vector< SubSample > SplitSubSampleVector(std::vector< SubSample > &samples)
Split all SubSamples.
void StreamToLog(int level)
std::string m_stopwatch_file
Image filename to save the histogram to, if required.
TimeDelta m_sample_width
The desired maximum SubSample length.
bool CheckSubSampleNeedsSplitting(const SubSample &sample)
Check whether the SubSample needs to be split.
void Log(const std::string &message, const int message_level)
Format messages in the same way as for tools.
bool CheckSubSampleVectorNeedsSplitting(const std::vector< SubSample > &samples)
Check whether any of the SubSamples needs to be split.
TimeDelta m_sample_overlap
The desired SubSample overlap time.
void SortSubSampleVector(std::vector< SubSample > &samples)
Sort the digits in all SubSamples by time.