1 #ifndef SZA_UTIL_SOURCE_H
2 #define SZA_UTIL_SOURCE_H
11 #include "carma/szautil/Axis.h"
12 #include "carma/szautil/Angle.h"
13 #include "carma/szautil/DecAngle.h"
14 #include "carma/szautil/HourAngle.h"
15 #include "carma/szautil/QuadraticInterpolatorNormal.h"
16 #include "carma/szautil/QuadraticInterpolatorPositiveAngle.h"
17 #include "carma/szautil/QuadraticInterpolatorSignedAngle.h"
21 #include "carma/szaarrayutils/szaregs.h"
22 #include "carma/szaarrayutils/source.h"
73 void extend(
double mjd, HourAngle ra, DecAngle dec,
double dist);
88 HourAngle
getRa(
double tt);
93 DecAngle
getDec(
double tt);
113 inline void setType(sza::array::SourceType type) {
154 sza::array::SourceType type_;
188 #endif // End #ifndef
void setType(sza::array::SourceType type)
Set the type of source.
bool isRaDec()
True if this source is an RaDec source.
Angle getEl()
Return the El of this source.
Source()
Constructor function.
sza::array::SourceType getType()
Get the type of this source.
Type
An enumerator to identify a valid axis.
Angle getAz()
Return the Az of this source.
bool isEphem()
True if this source is an ephemeris source.
bool isJ2000()
True if this source is a J2000 source.
char * getName()
Return the name of this source.
The following class is used to record details about the current source trajectory.
void reset()
Reset this object's data.
bool isAzEl()
True if this source is an Az/El source.
DecAngle getGradDec(double tt)
Return the gradient for the DEC.
HourAngle getRa(double tt)
Return the interpolated ra of this source.
void setName(char *name)
Set the name of this source.
void setAxis(sza::util::Axis::Type axisType, Angle az, Angle el, Angle pa)
Set axis values for this source.
The QuadraticInterpolator class is used to perform quadrature interpolation of arbitrary continuous f...
DecAngle getDec(double tt)
Return the interpolated dec of this source.
bool canBracket(double mjd)
True if we can calculate source parameters for this timestamp.
double getDist(double tt)
Return the interpolated distance of this source.
HourAngle getGradRa(double tt)
Return the gradient for the RA.
void extend(double mjd, HourAngle ra, DecAngle dec, double dist)
Extend the track of this source.