MeasData.h

Classes

MeasData -- MeasData provides Measure computing data (full description)

class MeasData

Interface

Public Members
static const RotMatrix &GALtoB1950()
static const RotMatrix &GALtoJ2000()
static const RotMatrix &J2000toGAL()
static const RotMatrix &B1950toGAL()
static const RotMatrix &MToB1950(uInt which)
static const RotMatrix &MToJ2000(uInt which)
static Double SunSemiDiameter()
static Double eps0J2000()
Private Members
MeasData()
MeasData &operator=(const MeasData &other)

Description

Review Status

Date Reviewed:
yyyy/mm/dd
Programs:
Tests:

Prerequisite

Etymology

MeasData from Measure and Data

Synopsis

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, 1992

Example

Usage examples can be found in Precession

Motivation

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.

To Do

Member Description

static const RotMatrix &GALtoB1950()
static const RotMatrix &GALtoJ2000()
static const RotMatrix &J2000toGAL()
static const RotMatrix &B1950toGAL()

Get the rotation matrices for galactic coordinates

static const RotMatrix &MToB1950(uInt which)
static const RotMatrix &MToJ2000(uInt which)

Get one of the 4 3x3 sub rotation matrices for B1950-J2000 conversions

static Double SunSemiDiameter()

Get the solar semi diameter at 1 AU in rad

static Double eps0J2000()

J2000 obliquity

MeasData()

Default constructor, NOT defined

MeasData &operator=(const MeasData &other)

Copy assign, NOT defined