9 #ifndef _LinearPredictor_h_
10 #define _LinearPredictor_h_
14 #include <Eigen/Dense>
16 #ifndef __python_test__
17 #include <fwk/VModule.h>
20 using namespace Eigen;
27 LinearPredictor(
unsigned int numCoeffPerChannel,
unsigned int delayLine,
unsigned int numChannels,
unsigned int optimization = 1);
28 void train(std::vector< std::vector<double> >
const &channels,
double fudgeFactor);
29 std::vector< std::vector<double> > predict(std::vector< std::vector<double> >
const &channels)
const;
unsigned int optimization
unsigned int dimPredictorCoefficients
Linear Predictor. Trains on noise with RFI, predicts RFI given other noisy signal.
unsigned int numCoeffPerChannel
MatrixXd predictorCoefficients
unsigned int totalPredictorOffset