casacore
Static Public Member Functions | Static Public Attributes | Private Member Functions | List of all members

More...

#include <MeasData.h>

Static Public Member Functions

static const RotMatrixGALtoB1950 ()
 Get the rotation matrices for galactic coordinates. More...
 
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. More...
 
static const RotMatrixMToJ2000 (uInt which)
 
static Double SunSemiDiameter ()
 Get the solar semi diameter at 1 AU in rad. More...
 
static Double eps0J2000 ()
 J2000 obliquity. More...
 

Static Public Attributes

static const Double MJD2000
 General constants. More...
 
static const Double MJDB1950
 MJD of B1950.0. More...
 
static const Double MJDB1900
 MJD of B1900.0. More...
 
static const Double MJDB1850
 MJD of B1850.0. More...
 
static const Double TROPCEN
 Length Tropical century. More...
 
static const Double JDCEN
 Length Julian century. More...
 
static const Double SECinDAY
 Length of day in sec. More...
 

Private Member Functions

 MeasData ()
 Default constructor, NOT defined. More...
 
MeasDataoperator= (const MeasData &other)
 Copy assign, NOT defined. More...
 

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:

static const Double JDCEN
Length Julian century.
Definition: MeasData.h:117
static const Double MJDB1900
MJD of B1900.0.
Definition: MeasData.h:111
static const Double TROPCEN
Length Tropical century.
Definition: MeasData.h:115
static const Double MJD2000
General constants.
Definition: MeasData.h:107
static const Double MJDB1950
MJD of B1950.0.
Definition: MeasData.h:109
static const Double SECinDAY
Length of day in sec.
Definition: MeasData.h:119
static const Double MJDB1850
MJD of B1850.0.
Definition: MeasData.h:113

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

◆ MeasData()

casacore::MeasData::MeasData ( )
private

Default constructor, NOT defined.

Member Function Documentation

◆ B1950toGAL()

static const RotMatrix& casacore::MeasData::B1950toGAL ( )
static

◆ eps0J2000()

static Double casacore::MeasData::eps0J2000 ( )
static

J2000 obliquity.

◆ GALtoB1950()

static const RotMatrix& casacore::MeasData::GALtoB1950 ( )
static

Get the rotation matrices for galactic coordinates.

◆ GALtoJ2000()

static const RotMatrix& casacore::MeasData::GALtoJ2000 ( )
static

◆ J2000toGAL()

static const RotMatrix& casacore::MeasData::J2000toGAL ( )
static

◆ MToB1950()

static const RotMatrix& casacore::MeasData::MToB1950 ( uInt  which)
static

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

◆ MToJ2000()

static const RotMatrix& casacore::MeasData::MToJ2000 ( uInt  which)
static

◆ operator=()

MeasData& casacore::MeasData::operator= ( const MeasData other)
private

Copy assign, NOT defined.

◆ SunSemiDiameter()

static Double casacore::MeasData::SunSemiDiameter ( )
static

Get the solar semi diameter at 1 AU in rad.

Member Data Documentation

◆ JDCEN

const Double casacore::MeasData::JDCEN
static

Length Julian century.

Definition at line 117 of file MeasData.h.

◆ MJD2000

const Double casacore::MeasData::MJD2000
static

General constants.

MJD of J2000.0

Definition at line 107 of file MeasData.h.

◆ MJDB1850

const Double casacore::MeasData::MJDB1850
static

MJD of B1850.0.

Definition at line 113 of file MeasData.h.

◆ MJDB1900

const Double casacore::MeasData::MJDB1900
static

MJD of B1900.0.

Definition at line 111 of file MeasData.h.

◆ MJDB1950

const Double casacore::MeasData::MJDB1950
static

MJD of B1950.0.

Definition at line 109 of file MeasData.h.

◆ SECinDAY

const Double casacore::MeasData::SECinDAY
static

Length of day in sec.

Definition at line 119 of file MeasData.h.

◆ TROPCEN

const Double casacore::MeasData::TROPCEN
static

Length Tropical century.

Definition at line 115 of file MeasData.h.


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