1 #ifndef BANDWIDTH_MEASURE_H 2 #define BANDWIDTH_MEASURE_H 28 double bandwidthMeasure(
const AnalysisWaveform * wf,
int timeCheck = 0, TGraph* gTest = 0);
33 double differenceFromImpulse(
const AnalysisWaveform * wf,
int timeCheck = 0, TGraph* gTest = 0);
38 double maxDifferenceFromImpulse(
const AnalysisWaveform * wf,
int timeCheck = 0, TGraph* gTest = 0);
52 double powerInBand(
const AnalysisWaveform * wf,
double minFreq=.17,
double maxFreq=.26);
56 double lowness(
const AnalysisWaveform *wf,
double minf = 0.17,
double maxf = 0.6) ;
60 void checkNotches(
int timeCheck,
double& notch0,
double& notch1,
double& notch2);
61 double fillPowers(
const TGraphAligned* powd, std::vector<double> &powers,
double notch0,
double notch1,
double notch2);
62 TGraph* loadImpulsePower(
int timeCheck);
63 void normalizePower(TGraph* g);
64 TGraph* downsampleImpulse(TGraph* imp,
const TGraphAligned* examp);