#include <HlRadCirc.hxx>


Public Member Functions | |
| HlRadCirc (const FitsFile &aCatFile, const FitsFile &aFile) | |
| Constructor just sets the method name. | |
| virtual | ~HlRadCirc () |
| 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) |
| void | quadroots (double a[3], double roots[2]) |
| double | newrph (double poly[], double hlrE, double mnr, double mxr) |
Private Attributes | |
| FitsFile | mCatFile |
| FitsFile | mFile |
| int | hlCircColNo |
| int | hlCErrColNo |
| int | afColNo [NOAPERS] |
| int | afeColNo [NOAPERS] |
| int | pfColNo |
| int | extColNo |
Static Private Attributes | |
| static const unsigned short int | NOAPERS = 14 |
| static const unsigned short int | NDATAPNTS = 5 |
| static const unsigned short int | NPOLY = 3 |
| static const double | minSvdRatio = 1.0e-10 |
Implements methods to calculate different radii. Different inputs hlGeoRad or hlSMjRad, ell and seeing calc hlGeoRad, hlSMnRad, hlSMjRad, hlCorSMnRad, hlCorSMjRad
| HlRadCirc< DataType >::HlRadCirc | ( | const FitsFile & | aCatFile, | |
| const FitsFile & | aFile | |||
| ) | [inline] |
Constructor just sets the method name.
Destructor.
| void HlRadCirc< DataType >::doit | ( | TableData< DataType > & | data, | |
| int | row1, | |||
| int | row2 | |||
| ) | [inline, virtual] |
Fill up the Half-light radii columns.
Implements DataMethod< DataType >.
References Logger::addError(), HlRadCirc< DataType >::afColNo, HlRadCirc< DataType >::afeColNo, TableData< DataType >::assign(), DataOps::calcPixSize(), FitsFile::CRVAL1, FitsFile::CRVAL2, HlRadCirc< DataType >::extColNo, ExpectNames::extNum, Converter::getFactor(), FitsFile::getFileName(), FitsFile::getNumCards(), FitsFile::getNumHdus(), HlRadCirc< DataType >::hlCErrColNo, HlRadCirc< DataType >::hlCircColNo, HlRadCirc< DataType >::mCatFile, HlRadCirc< DataType >::mFile, HlRadCirc< DataType >::minSvdRatio, FitsFile::movabsHdu(), HlRadCirc< DataType >::NDATAPNTS, HlRadCirc< DataType >::NOAPERS, HlRadCirc< DataType >::NPOLY, HlRadCirc< DataType >::pfColNo, HlRadCirc< DataType >::quadroots(), FitsFile::readCard(), FitsFile::readKey(), DefaultValues::realdef, TableData< DataType >::value(), ExpectNames::xPixSize, and ExpectNames::yPixSize.
| void HlRadCirc< DataType >::doit2 | ( | TableData< DataType > & | rawData, | |
| TableData< DataType > & | data, | |||
| int | row1, | |||
| int | row2 | |||
| ) | [inline, virtual] |
Implements DataMethod< DataType >.
| double HlRadCirc< DataType >::newrph | ( | double | poly[], | |
| double | hlrE, | |||
| double | mnr, | |||
| double | mxr | |||
| ) | [inline] |
References HlRadCirc< DataType >::NPOLY.
| void HlRadCirc< DataType >::quadroots | ( | double | a[3], | |
| double | roots[2] | |||
| ) | [inline] |
References DefaultValues::realdef.
Referenced by HlRadCirc< DataType >::doit().
| void HlRadCirc< DataType >::setSource | ( | IntMap & | tbls, | |
| IntMap & | cols, | |||
| StringMap | units | |||
| ) | [inline, virtual] |
Source data columns are the aperFlux, aperFluxErr columns.
Implements DataMethod< DataType >.
References HlRadCirc< DataType >::afColNo, HlRadCirc< DataType >::afeColNo, HlRadCirc< DataType >::extColNo, HlRadCirc< DataType >::NOAPERS, and HlRadCirc< DataType >::pfColNo.
| void HlRadCirc< DataType >::setTarget | ( | IntMap & | cols, | |
| StringMap | units | |||
| ) | [inline, virtual] |
Target columns are those corresponding to galactic l and b.
Implements DataMethod< DataType >.
References HlRadCirc< DataType >::hlCErrColNo, and HlRadCirc< DataType >::hlCircColNo.
Referenced by HlRadCirc< DataType >::doit(), and HlRadCirc< DataType >::setSource().
Referenced by HlRadCirc< DataType >::doit(), and HlRadCirc< DataType >::setSource().
Referenced by HlRadCirc< DataType >::doit(), and HlRadCirc< DataType >::setSource().
int HlRadCirc< DataType >::hlCErrColNo [private] |
Referenced by HlRadCirc< DataType >::doit(), and HlRadCirc< DataType >::setTarget().
int HlRadCirc< DataType >::hlCircColNo [private] |
Referenced by HlRadCirc< DataType >::doit(), and HlRadCirc< DataType >::setTarget().
Referenced by HlRadCirc< DataType >::doit().
Referenced by HlRadCirc< DataType >::doit().
const double HlRadCirc< DataType >::minSvdRatio = 1.0e-10 [static, private] |
Referenced by HlRadCirc< DataType >::doit().
const unsigned short int HlRadCirc< DataType >::NDATAPNTS = 5 [static, private] |
Referenced by HlRadCirc< DataType >::doit().
const unsigned short int HlRadCirc< DataType >::NOAPERS = 14 [static, private] |
Referenced by HlRadCirc< DataType >::doit(), and HlRadCirc< DataType >::setSource().
const unsigned short int HlRadCirc< DataType >::NPOLY = 3 [static, private] |
Referenced by HlRadCirc< DataType >::doit(), and HlRadCirc< DataType >::newrph().
Referenced by HlRadCirc< DataType >::doit(), and HlRadCirc< DataType >::setSource().
1.6.3