Moon< DataType > Class Template Reference

#include <Moon.hxx>

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

List of all members.

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

Detailed Description

template<typename DataType>
class Moon< DataType >

Implements method to fill up the appropriate data columns with axis lenght information


Constructor & Destructor Documentation

template<typename DataType >
Moon< DataType >::Moon (  )  [inline]

Constructor sets the method name.

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

Destructor.


Member Function Documentation

template<typename DataType >
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().

template<typename DataType >
void Moon< DataType >::doit ( TableData< DataType > &  data,
int  row1,
int  row2 
) [inline, virtual]
template<typename DataType >
void Moon< DataType >::doit2 ( TableData< DataType > &  rawData,
TableData< DataType > &  data,
int  row1,
int  row2 
) [inline, virtual]
template<typename DataType >
const double& Moon< DataType >::getMoonDec (  )  const [inline]
template<typename DataType >
const double& Moon< DataType >::getMoonDecTopo (  )  const [inline]
template<typename DataType >
const double& Moon< DataType >::getMoonPhase (  )  const [inline]
template<typename DataType >
const double& Moon< DataType >::getMoonRA (  )  const [inline]
template<typename DataType >
const double& Moon< DataType >::getMoonRATopo (  )  const [inline]
template<typename DataType >
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.

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

Member Data Documentation

template<typename DataType >
int Moon< DataType >::mDecCol [private]
template<typename DataType >
double Moon< DataType >::mDecMoon [private]
template<typename DataType >
double Moon< DataType >::mDecMoonTopo [private]
template<typename DataType >
double Moon< DataType >::mIllum [private]
template<typename DataType >
int Moon< DataType >::mIllumCol [private]
template<typename DataType >
int Moon< DataType >::mMJDObsCol [private]
template<typename DataType >
int Moon< DataType >::mRACol [private]
template<typename DataType >
double Moon< DataType >::mRAMoon [private]
template<typename DataType >
double Moon< DataType >::mRAMoonTopo [private]
template<typename DataType >
int Moon< DataType >::mTopoDecCol [private]
template<typename DataType >
int Moon< DataType >::mTopoRaCol [private]

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