casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions | Static Public Attributes | Private Member Functions
casa::MeasData Class Reference

MeasData provides Measure computing data. More...

#include <MeasData.h>

List of all members.

Static Public Member Functions

static const RotMatrixGALtoB1950 ()
 Get the rotation matrices for galactic coordinates.
static const RotMatrixGALtoJ2000 ()
static const RotMatrixJ2000toGAL ()
static const RotMatrixB1950toGAL ()
static const RotMatrixMToB1950 (uInt which)
 Get one of the 4 3x3 sub rotation matrices for B1950-J2000 conversions.
static const RotMatrixMToJ2000 (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.
MeasDataoperator= (const MeasData &other)
 Copy assign, NOT defined.

Detailed Description

MeasData provides Measure computing data.

Intended use:

Internal

Review Status

Reviewed By:
UNKNOWN
Date Reviewed:
before2004/08/25
Test programs:
tMeasMath

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:

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)

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

Definition at line 99 of file MeasData.h.


Constructor & Destructor Documentation

casa::MeasData::MeasData ( ) [private]

Default constructor, NOT defined.


Member Function Documentation

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]
MeasData& casa::MeasData::operator= ( const MeasData other) [private]

Copy assign, NOT defined.

Get the solar semi diameter at 1 AU in rad.


Member Data Documentation

const Double casa::MeasData::JDCEN [static]

Length Julian century.

Definition at line 117 of file MeasData.h.

General constants.

MJD of J2000.0

Definition at line 107 of file MeasData.h.

MJD of B1850.0.

Definition at line 113 of file MeasData.h.

MJD of B1900.0.

Definition at line 111 of file MeasData.h.

MJD of B1950.0.

Definition at line 109 of file MeasData.h.

Length of day in sec.

Definition at line 119 of file MeasData.h.

Length Tropical century.

Definition at line 115 of file MeasData.h.


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