DEIMOS
Earth Observation Mission CFI Software
Lib Software User Manual
ESA

EECFI::StarData Class Reference

Base class for StarData objects. More...

Inheritance diagram for EECFI::StarData:
EECFI::CfiClass

List of all members.

Public Member Functions

 StarData ()
 Default constructor.
 StarData (double ra, double dec, double muRa, double muDec, double radVel, double par, long cs)
 Class constructor with parameters.
Coord getCart (const ModelId &modelId, long deriv) const
 Get cartesian coordinates in the requested CS.
void getStar (const ModelId &modelId, const Time &time, double &newRa, double &newDec) const
 Get star Ra and Dec in ToD for a given time.
StarData changeCatalog (const ModelId &modelId, const Time &time, long newCatalog)
 Get the star parameters in a different catalog.

Public Attributes

double ra
 RA or galactic longitude (radians: 0, 2PI).
double dec
 Dec or galactic latitude (radians: -PI/2, PI/2).
double muRa
 Proper motion in RA (rad/century).
double muDec
 Proper motion in Dec (rad/century).
double radVel
 Radial velocity (AU/century).
double parallax
 Parallax (radians: 0, 2PI).
long cs
 Reference frame where the coordinates are referred to.

Detailed Description

Base class for StarData objects.


Constructor & Destructor Documentation

EECFI::StarData::StarData (  ) 

Default constructor.

Referenced by changeCatalog().

EECFI::StarData::StarData ( double  ra,
double  dec,
double  muRa,
double  muDec,
double  radVel,
double  par,
long  cs 
)

Class constructor with parameters.

Parameters:
ra RA or galactic longitude (radians: 0, 2PI).
dec Dec or galactic latitude (radians: -PI/2, PI/2).
muRa Proper motion in RA (rad/century).
muDec Proper motion in Dec (rad/century).
radVel Radial velocity (AU/century).
par Parallax (radians: 0, 2PI).
cs Reference frame where the coordinates are refered to.

Member Function Documentation

StarData EECFI::StarData::changeCatalog ( const ModelId modelId,
const Time time,
long  newCatalog 
)

Get the star parameters in a different catalog.

Only the RA and Dec. are computed.

Parameters:
modelId Model id.
time Time of the input star.
newCatalog New catalogue where the new parameters are computed.
Returns:
Star parameters in new catalog.

References dec, muDec, muRa, parallax, ra, radVel, EECFI::Time::ref, StarData(), EECFI::CfiClass::throwWarn, and EECFI::Time::time.

Coord EECFI::StarData::getCart ( const ModelId modelId,
long  deriv 
) const

Get cartesian coordinates in the requested CS.

Only the position and velocity vector are computed (not the accelearation).

Parameters:
modelId Model Id.
deriv flag to indicate if derivatives have to be computed (XLCFI_NO_DER, XLCFI_DER_1ST).

References cs, dec, muDec, muRa, parallax, ra, radVel, and EECFI::CfiClass::throwWarn.

void EECFI::StarData::getStar ( const ModelId modelId,
const Time time,
double &  newRa,
double &  newDec 
) const

Get star Ra and Dec in ToD for a given time.

The object StarData values are used as a reference and it it should be given in FK5 catalog (BM2000 CS).

Parameters:
modelId Model id.
time Time for which the values are requested.
newRa [OUTPUT] RA of the star at time.
newDec [OUTPUT] Declination of the star at time.

References dec, muDec, muRa, parallax, ra, radVel, EECFI::Time::ref, EECFI::CfiClass::throwWarn, and EECFI::Time::time.


Member Data Documentation

Reference frame where the coordinates are referred to.

Referenced by getCart().

Dec or galactic latitude (radians: -PI/2, PI/2).

Referenced by changeCatalog(), getCart(), and getStar().

Proper motion in Dec (rad/century).

Referenced by changeCatalog(), getCart(), and getStar().

Proper motion in RA (rad/century).

Referenced by changeCatalog(), getCart(), and getStar().

Parallax (radians: 0, 2PI).

Referenced by changeCatalog(), getCart(), and getStar().

RA or galactic longitude (radians: 0, 2PI).

Referenced by changeCatalog(), getCart(), and getStar().

Radial velocity (AU/century).

Referenced by changeCatalog(), getCart(), and getStar().


Generated on Mon Dec 11 2023 13:28:22 for by doxygen 1.7.1