QBruteForceTrendFinder Class Reference

List of all members.


Detailed Description

Finds multiple trends in amplitude vs. baseline by brute force search. Determines how to break a run into separate time intervals for stabilization. To be used with module FindMultipleTrendsByBruteForce. This code is experimental. If it proves useful, more documentation will be written.

Author:
Adam Bryant (adam_bryant@berkeley.edu)

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 int start, const int stop, double &intercept, double &slope, double &intercept_error, double &slope_error)
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

The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:04 2010 for CUORE Software by  doxygen 1.5.6