|
Public Member Functions |
|
void | FindTrends (int minPointsInInterval=3) |
|
const std::vector< Line > & | GetBestFitLines () |
|
const std::vector< double > & | GetBreakTimes () |
|
void | RemoveOutliers (const double nMAD=5.0 *1.4826) |
|
void | SetMinProbability (const double minProbability) |
|
void | SetPoint (const double time, const double baseline, const double amplitude) |
Protected Member Functions |
|
double | GetDeviation (const int start, const int stop) |
|
double | GetDeviation (const int start, const int stop, double &intercept, double &slope) |
|
double | GetDeviation (const std::vector< int > &breakPoints) |
|
bool | Next (std::vector< int > &breakPoints, int minPointsInInterval, int numPoints) |
Protected Attributes |
|
double * | fAmplitudes |
|
double * | fBaselines |
|
std::vector< Line > | fBestFitLines |
|
std::vector< double > | fBreakTimes |
std::map< int, std::map< int,
double > > | fDeviationCache |
|
double | fMinProbability |
|
std::vector< Point > | fPoints |
Classes |
| class | Line |
| class | Point |