#include <Moon.hxx>


Public Member Functions | |
| Moon () | |
| Constructor sets the method name.   | |
| virtual | ~Moon () | 
| Destructor.   | |
| void | setSource (IntMap &tbls, IntMap &cols, StringMap units) | 
| Source data column is the one with the extension number.   | |
| void | setTarget (IntMap &cols, StringMap units) | 
| Target data columns are illum, ramLength, decmLength.   | |
| const double & | getMoonRA () const | 
| const double & | getMoonDec () const | 
| const double & | getMoonPhase () const | 
| const double & | getMoonRATopo () const | 
| const double & | getMoonDecTopo () const | 
| void | calcMoonPosAndPhase (const double &aMjdObs) | 
| void | doit (TableData< DataType > &data, int row1, int row2) | 
| void | doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2) | 
Private Attributes | |
| int | mMJDObsCol | 
| int | mIllumCol | 
| int | mRACol | 
| int | mDecCol | 
| int | mTopoRaCol | 
| int | mTopoDecCol | 
| double | mIllum | 
| double | mRAMoon | 
| double | mDecMoon | 
| double | mRAMoonTopo | 
| double | mDecMoonTopo | 
Implements method to fill up the appropriate data columns with axis lenght information
| void Moon< DataType >::calcMoonPosAndPhase | ( | const double & | aMjdObs | ) |  [inline] | 
        
calculating barycentric dynamical time TDB
calculating geocentric ra, dec for the Moon
calculating geocentric ra,dec for the Sun
calculating the illuminated fraction of the Moon's disk
References Options::getArchive(), Moon< DataType >::mDecMoon, Moon< DataType >::mDecMoonTopo, Moon< DataType >::mIllum, Moon< DataType >::mRAMoon, Moon< DataType >::mRAMoonTopo, and StringOps::ToLower().
Referenced by Moon< DataType >::doit().
| void Moon< 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
Input MJD of observation
assign values
Implements DataMethod< DataType >.
References TableData< DataType >::assign(), Moon< DataType >::calcMoonPosAndPhase(), Moon< DataType >::mDecCol, Moon< DataType >::mDecMoon, Moon< DataType >::mDecMoonTopo, Moon< DataType >::mIllum, Moon< DataType >::mIllumCol, Moon< DataType >::mMJDObsCol, Moon< DataType >::mRACol, Moon< DataType >::mRAMoon, Moon< DataType >::mRAMoonTopo, Moon< DataType >::mTopoDecCol, Moon< DataType >::mTopoRaCol, and TableData< DataType >::value().
| void Moon< DataType >::doit2 | ( | TableData< DataType > & | rawData, | |
| TableData< DataType > & | data, | |||
| int | row1, | |||
| int | row2 | |||
| ) |  [inline, virtual] | 
        
Implements DataMethod< DataType >.
| const double& Moon< DataType >::getMoonDec | ( | ) |  const [inline] | 
        
References Moon< DataType >::mDecMoon.
| const double& Moon< DataType >::getMoonDecTopo | ( | ) |  const [inline] | 
        
References Moon< DataType >::mDecMoonTopo.
| const double& Moon< DataType >::getMoonPhase | ( | ) |  const [inline] | 
        
References Moon< DataType >::mIllum.
| const double& Moon< DataType >::getMoonRA | ( | ) |  const [inline] | 
        
References Moon< DataType >::mRAMoon.
| const double& Moon< DataType >::getMoonRATopo | ( | ) |  const [inline] | 
        
References Moon< DataType >::mRAMoonTopo.
| void Moon< DataType >::setSource | ( | IntMap & | tbls, | |
| IntMap & | cols, | |||
| StringMap | units | |||
| ) |  [inline, virtual] | 
        
Source data column is the one with the extension number.
Implements DataMethod< DataType >.
References Moon< DataType >::mMJDObsCol.
| void Moon< DataType >::setTarget | ( | IntMap & | cols, | |
| StringMap | units | |||
| ) |  [inline, virtual] | 
        
Target data columns are illum, ramLength, decmLength.
Implements DataMethod< DataType >.
References Moon< DataType >::mDecCol, Moon< DataType >::mIllumCol, Moon< DataType >::mRACol, Moon< DataType >::mTopoDecCol, and Moon< DataType >::mTopoRaCol.
Referenced by Moon< DataType >::doit(), and Moon< DataType >::setTarget().
double Moon< DataType >::mDecMoonTopo [private] | 
        
Referenced by Moon< DataType >::doit(), and Moon< DataType >::setTarget().
int Moon< DataType >::mMJDObsCol [private] | 
        
Referenced by Moon< DataType >::doit(), and Moon< DataType >::setSource().
Referenced by Moon< DataType >::doit(), and Moon< DataType >::setTarget().
Referenced by Moon< DataType >::calcMoonPosAndPhase(), Moon< DataType >::doit(), and Moon< DataType >::getMoonRA().
double Moon< DataType >::mRAMoonTopo [private] | 
        
int Moon< DataType >::mTopoDecCol [private] | 
        
Referenced by Moon< DataType >::doit(), and Moon< DataType >::setTarget().
int Moon< DataType >::mTopoRaCol [private] | 
        
Referenced by Moon< DataType >::doit(), and Moon< DataType >::setTarget().
 1.6.3