CalibratedMagnitude< DataType > Class Template Reference

#include <Magnitudes.hxx>

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

List of all members.

Public Member Functions

 CalibratedMagnitude (const FitsFile &aCatFile, IllumTable &anIllum)
virtual ~CalibratedMagnitude ()
 Destructor.
void setSource (IntMap &tbls, IntMap &cols, StringMap units)
 Source is data column with the fluxes.
void setTarget (IntMap &cols, StringMap units)
 Target is data column with the calibrated magnitudes.
void doit2 (TableData< DataType > &inpData, TableData< DataType > &data, int row1, int row2)
void doit (TableData< DataType > &data, int row1, int row2)

Private Attributes

FitsFile mCatFile
IllumTablemIllum
int mExtnumColno
int mFluxColno
int mXColno
int mYColno
int mMagColno
int mExtnumTblno
int mFluxTblno
int mXTblno
int mYTblno

Detailed Description

template<typename DataType>
class CalibratedMagnitude< DataType >

Implements method to calculate calibrated magnitudes from flux data in linear units. The calibrated magnitudes here, are corrected for extinction and airmass effect. Note the code is incomplete pending clarification on how the necessary information is encoded in the FITS files.


Constructor & Destructor Documentation

template<typename DataType>
CalibratedMagnitude< DataType >::CalibratedMagnitude ( const FitsFile aCatFile,
IllumTable anIllum 
) [inline]

Constructor takes FitsFile objects for the pixel and catalog files. The final implementation, not yet complete, will extract the airmass and extinction from these objects.

References CalibratedMagnitude< DataType >::mIllum.

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

Destructor.


Member Function Documentation

template<typename DataType>
void CalibratedMagnitude< 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 CalibratedMagnitude< DataType >::doit2 ( TableData< DataType > &  inpData,
TableData< DataType > &  data,
int  row1,
int  row2 
) [inline, virtual]
template<typename DataType>
void CalibratedMagnitude< DataType >::setSource ( IntMap tbls,
IntMap cols,
StringMap  units 
) [inline, virtual]
template<typename DataType>
void CalibratedMagnitude< DataType >::setTarget ( IntMap cols,
StringMap  units 
) [inline, virtual]

Target is data column with the calibrated magnitudes.

Implements DataMethod< DataType >.

References CalibratedMagnitude< DataType >::mMagColno.


Member Data Documentation

template<typename DataType>
FitsFile CalibratedMagnitude< DataType >::mCatFile [private]
template<typename DataType>
int CalibratedMagnitude< DataType >::mExtnumColno [private]
template<typename DataType>
int CalibratedMagnitude< DataType >::mExtnumTblno [private]
template<typename DataType>
int CalibratedMagnitude< DataType >::mFluxColno [private]
template<typename DataType>
int CalibratedMagnitude< DataType >::mFluxTblno [private]
template<typename DataType>
IllumTable* CalibratedMagnitude< DataType >::mIllum [private]
template<typename DataType>
int CalibratedMagnitude< DataType >::mMagColno [private]
template<typename DataType>
int CalibratedMagnitude< DataType >::mXColno [private]
template<typename DataType>
int CalibratedMagnitude< DataType >::mXTblno [private]
template<typename DataType>
int CalibratedMagnitude< DataType >::mYColno [private]
template<typename DataType>
int CalibratedMagnitude< DataType >::mYTblno [private]

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