#include <TotalExpTime.hxx>


Public Member Functions | |
| TotalExpTime (const FitsFile &aFile) | |
| virtual | ~TotalExpTime () |
| Destructor. | |
| void | setSource (IntMap &tbls, IntMap &cols, StringMap units) |
| Source is data column with extension number. | |
| void | setTarget (IntMap &cols, StringMap units) |
| Target is data column with the total exposure time. | |
| void | doit (TableData< DataType > &data, int row1, int row2) |
| void | doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2) |
Public Attributes | |
| Logger | log |
Private Attributes | |
| FitsFile | mFile |
| int | mTotalExpTimeColno |
| int | mExtnumColno |
Implements method to calculate the total exposure time.
| TotalExpTime< DataType >::TotalExpTime | ( | const FitsFile & | aFile | ) | [inline] |
| virtual TotalExpTime< DataType >::~TotalExpTime | ( | ) | [inline, virtual] |
Destructor.
| void TotalExpTime< DataType >::doit | ( | TableData< DataType > & | data, | |
| int | row1, | |||
| int | row2 | |||
| ) | [inline, virtual] |
Fill up the data column with the total exposure time. If the time is not available from a fits keyword, calculate it.
Implements DataMethod< DataType >.
References TableData< DataType >::assign(), FitsFile::cEXP_TIME, ExpectNames::extNum, FitsFile::getFileName(), FitsFile::isTile(), TotalExpTime< DataType >::mExtnumColno, TotalExpTime< DataType >::mFile, FitsFile::movabsHdu(), TotalExpTime< DataType >::mTotalExpTimeColno, FitsFile::readKey(), DefaultValues::realdef, PreSuffixNames::stackSuffix, FitsFile::TEXPTIME, and TableData< DataType >::value().
| void TotalExpTime< DataType >::doit2 | ( | TableData< DataType > & | rawData, | |
| TableData< DataType > & | data, | |||
| int | row1, | |||
| int | row2 | |||
| ) | [inline, virtual] |
Implements DataMethod< DataType >.
| void TotalExpTime< DataType >::setSource | ( | IntMap & | tbls, | |
| IntMap & | cols, | |||
| StringMap | units | |||
| ) | [inline, virtual] |
Source is data column with extension number.
Implements DataMethod< DataType >.
References TotalExpTime< DataType >::mExtnumColno.
| void TotalExpTime< DataType >::setTarget | ( | IntMap & | cols, | |
| StringMap | units | |||
| ) | [inline, virtual] |
Target is data column with the total exposure time.
Implements DataMethod< DataType >.
References TotalExpTime< DataType >::mTotalExpTimeColno.
| Logger TotalExpTime< DataType >::log |
Constructor takes FitsFile objects for the pixel and catalog files.
int TotalExpTime< DataType >::mExtnumColno [private] |
Referenced by TotalExpTime< DataType >::doit(), and TotalExpTime< DataType >::setSource().
FitsFile TotalExpTime< DataType >::mFile [private] |
Referenced by TotalExpTime< DataType >::doit().
int TotalExpTime< DataType >::mTotalExpTimeColno [private] |
Referenced by TotalExpTime< DataType >::doit(), and TotalExpTime< DataType >::setTarget().
1.6.3