#include <AxesLength.hxx>
Public Member Functions | |
AxesLength (const FitsFile &aFile) | |
Constructor takes FitsFile objects for the pixel file. | |
virtual | ~AxesLength () |
Destructor. | |
void | setSource (IntMap &tbls, IntMap &cols, StringMap units) |
Source data column is the one with the extension number. | |
void | setTarget (IntMap &cols, StringMap units) |
Target data columns are numAxes, axis1Length, axis2Length. | |
void | doit (TableData< DataType > &data, int row1, int row2) |
void | doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2) |
Private Attributes | |
FitsFile | mFile |
int | extnumColno |
int | numaxesColno |
int | axis1Colno |
int | axis2Colno |
Implements method to fill up the appropriate data columns with axis length information
AxesLength< DataType >::AxesLength | ( | const FitsFile & | aFile | ) | [inline] |
Constructor takes FitsFile objects for the pixel file.
virtual AxesLength< DataType >::~AxesLength | ( | ) | [inline, virtual] |
Destructor.
void AxesLength< 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 >.
References AxesLength< DataType >::axis1Colno, AxesLength< DataType >::axis2Colno, and AxesLength< DataType >::numaxesColno.
void AxesLength< DataType >::doit2 | ( | TableData< DataType > & | rawData, | |
TableData< DataType > & | data, | |||
int | row1, | |||
int | row2 | |||
) | [inline, virtual] |
Implements DataMethod< DataType >.
void AxesLength< DataType >::setSource | ( | IntMap & | tbls, | |
IntMap & | cols, | |||
StringMap | units | |||
) | [inline, virtual] |
Source data column is the one with the extension number.
Implements DataMethod< DataType >.
void AxesLength< DataType >::setTarget | ( | IntMap & | cols, | |
StringMap | units | |||
) | [inline, virtual] |
Target data columns are numAxes, axis1Length, axis2Length.
Implements DataMethod< DataType >.
References AxesLength< DataType >::extnumColno.
int AxesLength< DataType >::axis1Colno [private] |
Referenced by AxesLength< DataType >::doit().
int AxesLength< DataType >::axis2Colno [private] |
Referenced by AxesLength< DataType >::doit().
int AxesLength< DataType >::extnumColno [private] |
Referenced by AxesLength< DataType >::setTarget().
FitsFile AxesLength< DataType >::mFile [private] |
int AxesLength< DataType >::numaxesColno [private] |
Referenced by AxesLength< DataType >::doit().