#include <HlRadii.hxx>
Public Member Functions | |
HlRadii (const FitsFile &aCatFile, const FitsFile &aFile) | |
Constructor just sets the method name. | |
virtual | ~HlRadii () |
Destructor. | |
void | setSource (IntMap &tbls, IntMap &cols, StringMap units) |
Source data columns are the aperFlux, aperFluxErr columns. | |
void | setTarget (IntMap &cols, StringMap units) |
Target columns are those corresponding to galactic l and b. | |
void | doit (TableData< DataType > &data, int row1, int row2) |
Fill up the Half-light radii columns. | |
void | doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2) |
double | circToEll (double ell) |
Private Attributes | |
FitsFile | mCatFile |
FitsFile | mFile |
int | hlGeoColNo |
int | hlSMnColNo |
int | hlSMjColNo |
int | hlCorSMnColNo |
int | hlCorSMjColNo |
int | hlcColNo |
int | extColNo |
int | ellColNo |
Static Private Attributes | |
static const double | seeFact = 0.50 |
Implements methods to calculate different radii. Different inputs hlGeoRad or hlSMjRad, ell and seeing calc hlGeoRad, hlSMnRad, hlSMjRad, hlCorSMnRad, hlCorSMjRad
HlRadii< DataType >::HlRadii | ( | const FitsFile & | aCatFile, | |
const FitsFile & | aFile | |||
) | [inline] |
Constructor just sets the method name.
double HlRadii< DataType >::circToEll | ( | double | ell | ) | [inline] |
Referenced by HlRadii< DataType >::doit().
void HlRadii< DataType >::doit | ( | TableData< DataType > & | data, | |
int | row1, | |||
int | row2 | |||
) | [inline, virtual] |
Fill up the Half-light radii columns.
Implements DataMethod< DataType >.
References Logger::addError(), TableData< DataType >::assign(), DataOps::calcPixSize(), HlRadii< DataType >::circToEll(), FitsFile::CRVAL1, FitsFile::CRVAL2, HlRadii< DataType >::ellColNo, HlRadii< DataType >::extColNo, ExpectNames::extNum, Converter::getFactor(), FitsFile::getFileName(), FitsFile::getNumCards(), FitsFile::getNumHdus(), HlRadii< DataType >::hlcColNo, HlRadii< DataType >::hlCorSMjColNo, HlRadii< DataType >::hlCorSMnColNo, HlRadii< DataType >::hlGeoColNo, HlRadii< DataType >::hlSMjColNo, HlRadii< DataType >::hlSMnColNo, HlRadii< DataType >::mCatFile, HlRadii< DataType >::mFile, FitsFile::movabsHdu(), FitsFile::readCard(), FitsFile::readKey(), DefaultValues::realdef, HlRadii< DataType >::seeFact, TableData< DataType >::value(), ExpectNames::xPixSize, and ExpectNames::yPixSize.
void HlRadii< DataType >::doit2 | ( | TableData< DataType > & | rawData, | |
TableData< DataType > & | data, | |||
int | row1, | |||
int | row2 | |||
) | [inline, virtual] |
Implements DataMethod< DataType >.
void HlRadii< DataType >::setSource | ( | IntMap & | tbls, | |
IntMap & | cols, | |||
StringMap | units | |||
) | [inline, virtual] |
Source data columns are the aperFlux, aperFluxErr columns.
Implements DataMethod< DataType >.
References HlRadii< DataType >::ellColNo, HlRadii< DataType >::extColNo, and HlRadii< DataType >::hlcColNo.
void HlRadii< DataType >::setTarget | ( | IntMap & | cols, | |
StringMap | units | |||
) | [inline, virtual] |
Target columns are those corresponding to galactic l and b.
Implements DataMethod< DataType >.
References HlRadii< DataType >::hlCorSMjColNo, HlRadii< DataType >::hlCorSMnColNo, HlRadii< DataType >::hlGeoColNo, HlRadii< DataType >::hlSMjColNo, and HlRadii< DataType >::hlSMnColNo.
Referenced by HlRadii< DataType >::doit(), and HlRadii< DataType >::setSource().
Referenced by HlRadii< DataType >::doit(), and HlRadii< DataType >::setSource().
Referenced by HlRadii< DataType >::doit(), and HlRadii< DataType >::setSource().
int HlRadii< DataType >::hlCorSMjColNo [private] |
Referenced by HlRadii< DataType >::doit(), and HlRadii< DataType >::setTarget().
int HlRadii< DataType >::hlCorSMnColNo [private] |
Referenced by HlRadii< DataType >::doit(), and HlRadii< DataType >::setTarget().
int HlRadii< DataType >::hlGeoColNo [private] |
Referenced by HlRadii< DataType >::doit(), and HlRadii< DataType >::setTarget().
int HlRadii< DataType >::hlSMjColNo [private] |
Referenced by HlRadii< DataType >::doit(), and HlRadii< DataType >::setTarget().
int HlRadii< DataType >::hlSMnColNo [private] |
Referenced by HlRadii< DataType >::doit(), and HlRadii< DataType >::setTarget().
Referenced by HlRadii< DataType >::doit().
Referenced by HlRadii< DataType >::doit().
Referenced by HlRadii< DataType >::doit().