casa
$Rev:20696$
|
MeasData provides Measure computing data. More...
#include <MeasData.h>
Static Public Member Functions | |
static const RotMatrix & | GALtoB1950 () |
Get the rotation matrices for galactic coordinates. | |
static const RotMatrix & | GALtoJ2000 () |
static const RotMatrix & | J2000toGAL () |
static const RotMatrix & | B1950toGAL () |
static const RotMatrix & | MToB1950 (uInt which) |
Get one of the 4 3x3 sub rotation matrices for B1950-J2000 conversions. | |
static const RotMatrix & | MToJ2000 (uInt which) |
static Double | SunSemiDiameter () |
Get the solar semi diameter at 1 AU in rad. | |
static Double | eps0J2000 () |
J2000 obliquity. | |
Static Public Attributes | |
static const Double | MJD2000 |
General constants. | |
static const Double | MJDB1950 |
MJD of B1950.0. | |
static const Double | MJDB1900 |
MJD of B1900.0. | |
static const Double | MJDB1850 |
MJD of B1850.0. | |
static const Double | TROPCEN |
Length Tropical century. | |
static const Double | JDCEN |
Length Julian century. | |
static const Double | SECinDAY |
Length of day in sec. | |
Private Member Functions | |
MeasData () | |
Default constructor, NOT defined. | |
MeasData & | operator= (const MeasData &other) |
Copy assign, NOT defined. |
MeasData provides Measure computing data.
Internal
MeasData from Measure and Data
MeasData contains the constant data necessary for precession, nutation and other Measure related calculations.
Database (Table) related data, or data that can be changed by the user, is available in the MeasTable class.
All data. apart from a set of simple constants:
MeasData::MJD2000 MeasData::MJDB1950 MeasData::MJDB1900 MeasData::MJDB1850 MeasData::TROPCEN MeasData::JDCEN MeasData::SECinDAY
are obtained by calls to a method. This class contains no constructors or destructors, only static methods and (static) constants.
References:
Explanatory supplements to the Astronomical Almanac
C. Ron and J. Vondrak, Bull. Astron. Inst. Czechosl. 37, p96, 1986
M. Soma, Th. Hirayama and H. Kinoshita, Celest. Mech. 41, p389, 1988
V.S. Gubanov, Astron. Zh. 49, p1112, 1972 (English translation: Sov. Astronomy - AJ, Vol. 16, No. 5, p. 907)
Usage examples can be found in Precession
To create a clean interface between the actual calculations and the methods to obtain the parameters for these calculations. Note that the tables are in general in the format and units found in the literature. This is to be able to easy check and change them. However, in the future re-arrangement could produce faster and more compact code.
Definition at line 99 of file MeasData.h.
casa::MeasData::MeasData | ( | ) | [private] |
Default constructor, NOT defined.
static const RotMatrix& casa::MeasData::B1950toGAL | ( | ) | [static] |
static Double casa::MeasData::eps0J2000 | ( | ) | [static] |
J2000 obliquity.
static const RotMatrix& casa::MeasData::GALtoB1950 | ( | ) | [static] |
Get the rotation matrices for galactic coordinates.
static const RotMatrix& casa::MeasData::GALtoJ2000 | ( | ) | [static] |
static const RotMatrix& casa::MeasData::J2000toGAL | ( | ) | [static] |
static const RotMatrix& casa::MeasData::MToB1950 | ( | uInt | which | ) | [static] |
Get one of the 4 3x3 sub rotation matrices for B1950-J2000 conversions.
static const RotMatrix& casa::MeasData::MToJ2000 | ( | uInt | which | ) | [static] |
static Double casa::MeasData::SunSemiDiameter | ( | ) | [static] |
Get the solar semi diameter at 1 AU in rad.
const Double casa::MeasData::JDCEN [static] |
Length Julian century.
Definition at line 117 of file MeasData.h.
const Double casa::MeasData::MJD2000 [static] |
const Double casa::MeasData::MJDB1850 [static] |
MJD of B1850.0.
Definition at line 113 of file MeasData.h.
const Double casa::MeasData::MJDB1900 [static] |
MJD of B1900.0.
Definition at line 111 of file MeasData.h.
const Double casa::MeasData::MJDB1950 [static] |
MJD of B1950.0.
Definition at line 109 of file MeasData.h.
const Double casa::MeasData::SECinDAY [static] |
Length of day in sec.
Definition at line 119 of file MeasData.h.
const Double casa::MeasData::TROPCEN [static] |
Length Tropical century.
Definition at line 115 of file MeasData.h.