9 #ifndef _RdChannelLinearPredictorRFISuppressor_h_
10 #define _RdChannelLinearPredictorRFISuppressor_h_
14 #include <fwk/VModule.h>
15 #include <revt/Channel.h>
16 #include <revt/Station.h>
unsigned int fOccupiedRegion2Start
unsigned int fTrainRegionStart
unsigned int fTraceLength
unsigned int fTotalTraceLength
unsigned int TranslateTimeToSample(double time, double binning, char const *name)
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)
unsigned int fTrainRegionStop
unsigned int fOptimization
class to hold data at the radio Station level.
void FillSampleDataWithRelevantValuesForFirstChannel(SampleData &samples, revt::ChannelTimeSeries const ×eries, revt::Station const &station)
double fMinimumTrainRegionLength
bool TestOverlap(int a1, int a2, int b1, int b2)
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
Linear Predictor. Trains on noise with RFI, predicts RFI given other noisy signal.
double fTrainRegionStopOverride
unsigned int fMinimumTrainRegionLength
ResultFlag
Flag returned by module methods to the RunController.
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
fwk::VModule::ResultFlag TestSampleDataForConsistency(SampleData &samples, revt::ChannelTimeSeries const ×eries)
REGISTER_MODULE("RdChannelLinearPredictorRFISuppressor", RdChannelLinearPredictorRFISuppressor)
unsigned int fOccupiedRegion1Stop
unsigned int fNumCoefficients
unsigned int fOccupiedRegion2Stop
double fTrainRegionStartOverride
unsigned int fOccupiedRegion1Start
unsigned int fNumChannels