RaDecByAst< DataType > Class Template Reference

#include <RaDecByAst.hxx>

Inheritance diagram for RaDecByAst< DataType >:
Inheritance graph
[legend]
Collaboration diagram for RaDecByAst< DataType >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 RaDecByAst (const FitsFile &aFile)
 Constructor takes a FitsFile object.
virtual ~RaDecByAst ()
 Destructor.
void setSource (IntMap &tbls, IntMap &cols, StringMap units)
void setTarget (IntMap &cols, StringMap units)
void doit2 (TableData< DataType > &inpData, TableData< DataType > &data, int row1, int row2)
 Fill up the data columns for the ten WCS derived quantities.
void doit (TableData< DataType > &data, int row1, int row2)

Private Attributes

FitsFile mFile
int extnumColno
int raColno
int decColno
int xColno
int yColno
int extnumTblno
int xTblno
int yTblno
double decFact
double raFact
Logger log

Detailed Description

template<typename DataType>
class RaDecByAst< DataType >

Implements method to determine RA and DEC of sources in catalogue files calculated from WCS information encoded in FITS files.


Constructor & Destructor Documentation

template<typename DataType >
RaDecByAst< DataType >::RaDecByAst ( const FitsFile aFile  )  [inline]

Constructor takes a FitsFile object.

template<typename DataType >
virtual RaDecByAst< DataType >::~RaDecByAst (  )  [inline, virtual]

Destructor.


Member Function Documentation

template<typename DataType >
void RaDecByAst< 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 >.

template<typename DataType >
void RaDecByAst< DataType >::doit2 ( TableData< DataType > &  inpData,
TableData< DataType > &  data,
int  row1,
int  row2 
) [inline, virtual]
template<typename DataType >
void RaDecByAst< DataType >::setSource ( IntMap tbls,
IntMap cols,
StringMap  units 
) [inline, virtual]

Source is the data column corresponding to the HDU number in the FITS file in which the WCS information is encoded

Implements DataMethod< DataType >.

References RaDecByAst< DataType >::extnumColno, RaDecByAst< DataType >::extnumTblno, RaDecByAst< DataType >::xColno, RaDecByAst< DataType >::xTblno, RaDecByAst< DataType >::yColno, and RaDecByAst< DataType >::yTblno.

template<typename DataType >
void RaDecByAst< DataType >::setTarget ( IntMap cols,
StringMap  units 
) [inline, virtual]

Targets are the data columns corresponing to the ten WCS derived quantities

Implements DataMethod< DataType >.

References RaDecByAst< DataType >::decColno, RaDecByAst< DataType >::decFact, Converter::getFactor(), RaDecByAst< DataType >::raColno, and RaDecByAst< DataType >::raFact.


Member Data Documentation

template<typename DataType >
int RaDecByAst< DataType >::decColno [private]
template<typename DataType >
double RaDecByAst< DataType >::decFact [private]
template<typename DataType >
int RaDecByAst< DataType >::extnumColno [private]
template<typename DataType >
int RaDecByAst< DataType >::extnumTblno [private]
template<typename DataType >
Logger RaDecByAst< DataType >::log [private]
template<typename DataType >
FitsFile RaDecByAst< DataType >::mFile [private]
template<typename DataType >
int RaDecByAst< DataType >::raColno [private]
template<typename DataType >
double RaDecByAst< DataType >::raFact [private]
template<typename DataType >
int RaDecByAst< DataType >::xColno [private]
template<typename DataType >
int RaDecByAst< DataType >::xTblno [private]
template<typename DataType >
int RaDecByAst< DataType >::yColno [private]
template<typename DataType >
int RaDecByAst< DataType >::yTblno [private]

The documentation for this class was generated from the following file:
Generated on Mon Oct 4 10:39:38 2010 for WfcamSrc by  doxygen 1.6.3