#include <Magnitudes.hxx>


Public Member Functions | |
| MagnitudeError () | |
| Constructor just sets the method name. | |
| virtual | ~MagnitudeError () |
| Destructor. | |
| void | setSource (IntMap &tbls, IntMap &cols, StringMap units) |
| Source are the data columns for the flux and error in that flux. | |
| void | setTarget (IntMap &cols, StringMap units) |
| Target is the column for the magnitude error. | |
| void | doit2 (TableData< DataType > &inpData, TableData< DataType > &data, int row1, int row2) |
| Fill up the data column for the magnitude error. | |
| void | doit (TableData< DataType > &data, int row1, int row2) |
Private Attributes | |
| int | mFluxColno |
| int | mFluxErrColno |
| int | mMagErrColno |
| int | mFluxTblno |
| int | mFluxErrTblno |
Implements method to determine the errors in magnitudes from the errors in the original fluxes and the fluxes themselves.
| MagnitudeError< DataType >::MagnitudeError | ( | ) | [inline] |
Constructor just sets the method name.
| virtual MagnitudeError< DataType >::~MagnitudeError | ( | ) | [inline, virtual] |
Destructor.
| void MagnitudeError< DataType >::doit | ( | TableData< DataType > & | data, | |
| int | row1, | |||
| int | row2 | |||
| ) | [inline, virtual] |
Run the data method. This fills up the appropriate columns in the TableData object over the given row range where row>=row1 and row<row2
Implements DataMethod< DataType >.
| void MagnitudeError< DataType >::doit2 | ( | TableData< DataType > & | inpData, | |
| TableData< DataType > & | data, | |||
| int | row1, | |||
| int | row2 | |||
| ) | [inline, virtual] |
Fill up the data column for the magnitude error.
Implements DataMethod< DataType >.
References TableData< DataType >::assign(), TableData< DataType >::isDefined(), MagnitudeError< DataType >::mFluxColno, MagnitudeError< DataType >::mFluxErrColno, MagnitudeError< DataType >::mMagErrColno, DefaultValues::realdef, and TableData< DataType >::value().
| void MagnitudeError< DataType >::setSource | ( | IntMap & | tbls, | |
| IntMap & | cols, | |||
| StringMap | units | |||
| ) | [inline, virtual] |
Source are the data columns for the flux and error in that flux.
Implements DataMethod< DataType >.
References MagnitudeError< DataType >::mFluxColno, MagnitudeError< DataType >::mFluxErrColno, MagnitudeError< DataType >::mFluxErrTblno, and MagnitudeError< DataType >::mFluxTblno.
| void MagnitudeError< DataType >::setTarget | ( | IntMap & | cols, | |
| StringMap | units | |||
| ) | [inline, virtual] |
Target is the column for the magnitude error.
Implements DataMethod< DataType >.
References MagnitudeError< DataType >::mMagErrColno.
int MagnitudeError< DataType >::mFluxColno [private] |
Referenced by MagnitudeError< DataType >::doit2(), and MagnitudeError< DataType >::setSource().
int MagnitudeError< DataType >::mFluxErrColno [private] |
Referenced by MagnitudeError< DataType >::doit2(), and MagnitudeError< DataType >::setSource().
int MagnitudeError< DataType >::mFluxErrTblno [private] |
Referenced by MagnitudeError< DataType >::setSource().
int MagnitudeError< DataType >::mFluxTblno [private] |
Referenced by MagnitudeError< DataType >::setSource().
int MagnitudeError< DataType >::mMagErrColno [private] |
Referenced by MagnitudeError< DataType >::doit2(), and MagnitudeError< DataType >::setTarget().
1.6.3