1 #ifndef _RdChannelSineWaveSuppressor_RdChannelSineWaveSuppressor_h_
2 #define _RdChannelSineWaveSuppressor_RdChannelSineWaveSuppressor_h_
4 #include <fwk/VModule.h>
49 static void SineFitFnc(
int&
nPar,
double*
const grad,
double& value,
50 double*
const par,
const int flag);
52 static void RFISort(std::vector<int> &v,
int left,
int right);
static void SineFitFnc(int &nPar, double *const grad, double &value, double *const par, const int flag)
Interface class to access to the Radio part of an event.
static unsigned int fgNoiseStop
static unsigned int fgNoiseStart
static unsigned int fgSignalStop
static unsigned int fgSignalStart
REGISTER_MODULE("RdChannelSineWaveSuppressor", RdChannelSineWaveSuppressor)
static int fgCurrentStation
unsigned int fScanWindowSize
static revt::REvent * fgCurrentREvent
static int fgCurrentChannel
fwk::VModule::ResultFlag Finish() override
Finish: invoked at end of the run (NOT end of the event)
ResultFlag
Flag returned by module methods to the RunController.
fwk::VModule::ResultFlag Run(evt::Event &event) override
Run: invoked once per event.
static void RFISort(std::vector< int > &v, int left, int right)
Identifies RFI, fits sine waves to RFI bands and removes these from data, as described in GAP2013-012...
fwk::VModule::ResultFlag Init() override
Initialize: invoked at beginning of run (NOT beginning of event)