#include <calibrator.h>
Public Member Functions | |
| Calibrator (std::vector< float >, std::vector< float >, std::vector< float >, std::vector< float >) | |
| std::vector< float > | Calibrate (std::vector< int >, std::vector< int >) |
This class encapsulates the calibration of the MTP scans. It makes use of constants that are written into the .REF file for the flight in question. I am unclear as to when that file gets written.
When the MTP instrument completes a scan of the atmosphere the scan counts are converted to Brightness Temperatures using this class.
Definition at line 32 of file calibrator.h.
| Calibrator::Calibrator | ( | std::vector< float > | , |
| std::vector< float > | , | ||
| std::vector< float > | , | ||
| std::vector< float > | |||
| ) |
Constructor
| std::vector<float> | is the 'Cnd0' values from the REF file. I believe that these are the "temperatures" of the target in each channel in degrees C when the noise diode is on. Comments in the VB code call it the Noise Diode Temperature Fit Offset value. |
| std::vector<float> | is the 'GOF' values from the REF file. I believe that these are an offset for the temperature of the mixer, one for each channel. Comments in the code say they are Gain Equation Offsets but their use belies that. |
| std::vector<float> | is teh 'GEC(chan,1)' vector from the REF file called Gain Equation Coefficients, they do seem to be used in that way There is one value per channel, this one is the offset coefficient. |
| std::vector<float> | is the 'GEC(chan,2)' vector from the REF file called Gain Equation Coefficients, this one is the linear coefficient applied to the difference of the Mixer temperature minus the GOF above. |
Definition at line 5 of file calibrator.cc.
| std::vector< float > Calibrator::Calibrate | ( | std::vector< int > | ScanCounts, |
| std::vector< int > | PltWireCnts | ||
| ) |
Calibrate method
| std::vector<int> | is the vector of counts produced by the MTP instrument for this scan. This vector should be of length 36 - three points for each angle (one per channel) and six points for the target - three per channel for the noise diode turned on and for it turned off. |
Definition at line 23 of file calibrator.cc.
1.8.5