CARMA C++
sza::util::Source Class Reference

The following class is used to record details about the current source trajectory. More...

#include <carma/szautil/Source.h>

Public Member Functions

bool canBracket (double mjd)
 True if we can calculate source parameters for this timestamp. More...
 
void extend (double mjd, HourAngle ra, DecAngle dec, double dist)
 Extend the track of this source. More...
 
Angle getAz ()
 Return the Az of this source. More...
 
DecAngle getDec (double tt)
 Return the interpolated dec of this source. More...
 
double getDist (double tt)
 Return the interpolated distance of this source. More...
 
Angle getEl ()
 Return the El of this source. More...
 
DecAngle getGradDec (double tt)
 Return the gradient for the DEC. More...
 
HourAngle getGradRa (double tt)
 Return the gradient for the RA. More...
 
char * getName ()
 Return the name of this source. More...
 
HourAngle getRa (double tt)
 Return the interpolated ra of this source. More...
 
sza::array::SourceType getType ()
 Get the type of this source. More...
 
bool isAzEl ()
 True if this source is an Az/El source. More...
 
bool isEphem ()
 True if this source is an ephemeris source. More...
 
bool isJ2000 ()
 True if this source is a J2000 source. More...
 
bool isRaDec ()
 True if this source is an RaDec source. More...
 
void reset ()
 Reset this object's data. More...
 
void setAxis (sza::util::Axis::Type axisType, Angle az, Angle el, Angle pa)
 Set axis values for this source. More...
 
void setName (char *name)
 Set the name of this source. More...
 
void setType (sza::array::SourceType type)
 Set the type of source. More...
 
 Source ()
 Constructor function. More...
 
 ~Source ()
 Destructor. More...
 

Detailed Description

The following class is used to record details about the current source trajectory.

Definition at line 31 of file Source.h.

Constructor & Destructor Documentation

sza::util::Source::Source ( )

Constructor function.

Exceptions
Exception
sza::util::Source::~Source ( )

Destructor.

Member Function Documentation

bool sza::util::Source::canBracket ( double  mjd)

True if we can calculate source parameters for this timestamp.

void sza::util::Source::extend ( double  mjd,
HourAngle  ra,
DecAngle  dec,
double  dist 
)

Extend the track of this source.

Exceptions
Exception
Angle sza::util::Source::getAz ( )

Return the Az of this source.

DecAngle sza::util::Source::getDec ( double  tt)

Return the interpolated dec of this source.

double sza::util::Source::getDist ( double  tt)

Return the interpolated distance of this source.

Angle sza::util::Source::getEl ( )

Return the El of this source.

DecAngle sza::util::Source::getGradDec ( double  tt)

Return the gradient for the DEC.

HourAngle sza::util::Source::getGradRa ( double  tt)

Return the gradient for the RA.

char* sza::util::Source::getName ( )

Return the name of this source.

HourAngle sza::util::Source::getRa ( double  tt)

Return the interpolated ra of this source.

sza::array::SourceType sza::util::Source::getType ( )

Get the type of this source.

Definition at line 120 of file Source.h.

bool sza::util::Source::isAzEl ( )

True if this source is an Az/El source.

bool sza::util::Source::isEphem ( )

True if this source is an ephemeris source.

bool sza::util::Source::isJ2000 ( )

True if this source is a J2000 source.

bool sza::util::Source::isRaDec ( )

True if this source is an RaDec source.

void sza::util::Source::reset ( )

Reset this object's data.

void sza::util::Source::setAxis ( sza::util::Axis::Type  axisType,
Angle  az,
Angle  el,
Angle  pa 
)

Set axis values for this source.

void sza::util::Source::setName ( char *  name)

Set the name of this source.

void sza::util::Source::setType ( sza::array::SourceType  type)

Set the type of source.

Definition at line 113 of file Source.h.


The documentation for this class was generated from the following file: