14 float _AA = -244.3364635;
16 float _cC = 0.0000588;
17 float _DD = -0.000000013;
25 std::vector<float> Gnd;
26 std::vector<float> Geqn;
37 Gnd[i] = ScanCounts[TargIndx]-ScanCounts[TargNDIndx]/_CND0[i];
38 TargIndx = TargIndx+12;
39 TargNDIndx = TargNDIndx+12;
44 int TMC = PltWireCnts[4];
46 TMix = _AA + _Bb*TMC + _cC*TMC*TMC + _DD*TMC*TMC*TMC;
51 if (_Gain[i] == 0.0) {
52 _Gain[i] = TMix*_GEC2[i];
54 _Gain[i] = (_Gain[i] + Gnd[i] * _Wtg)/ (1+_Wtg);
#define NUM_CHANNELS
number of frequencies used by the MTP
This class encapsulates the calibration of the MTP scans.
Calibrator(std::vector< float >, std::vector< float >, std::vector< float >, std::vector< float >)
std::vector< float > Calibrate(std::vector< int >, std::vector< int >)