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

More...

#include <MCFrame.h>

Public Member Functions

 MCFrame (MeasFrame &inf)
 Construct using the MeasFrame parent. More...
 
 ~MCFrame ()
 Destructor. More...
 
void resetEpoch ()
 Reset Epoch value. More...
 
void resetPosition ()
 Reset Position value. More...
 
void resetDirection ()
 Reset Direction value. More...
 
void resetRadialVelocity ()
 Reset RadialVelocity value. More...
 
void resetComet ()
 Reset Comet. More...
 
void makeEpoch ()
 Make full Epoch. More...
 
void makePosition ()
 Make full Position. More...
 
void makeDirection ()
 Make full Direction. More...
 
void makeRadialVelocity ()
 Make full RadialVelocity. More...
 
void makeComet ()
 Make full Comet. More...
 
Bool getTDB (Double &tdb)
 Get TDB in days. More...
 
Bool getUT1 (Double &tdb)
 Get UT1 in days. More...
 
Bool getTT (Double &tdb)
 Get TT in days. More...
 
Bool getLong (Double &tdb)
 Get the longitude (in rad) More...
 
Bool getLat (Double &tdb)
 Get the latitude (ITRF) (in rad) More...
 
Bool getITRF (MVPosition &tdb)
 Get the position. More...
 
Bool getRadius (Double &tdb)
 Get the geocentric position (in m) More...
 
Bool getLatGeo (Double &tdb)
 Get the geodetic latitude. More...
 
Bool getLAST (Double &tdb)
 Get the LAST (in days) More...
 
Bool getLASTr (Double &tdb)
 Get the LAST (in rad) More...
 
Bool getJ2000 (MVDirection &tdb)
 Get J2000 coordinates (direction cosines) and long/lat (rad) More...
 
Bool getJ2000Long (Double &tdb)
 
Bool getJ2000Lat (Double &tdb)
 
Bool getB1950 (MVDirection &tdb)
 Get B1950 coordinates (direction cosines) and long/lat (rad) More...
 
Bool getB1950Long (Double &tdb)
 
Bool getB1950Lat (Double &tdb)
 
Bool getApp (MVDirection &tdb)
 Get apparent coordinates (direction cosines) and long/lat (rad) More...
 
Bool getAppLong (Double &tdb)
 
Bool getAppLat (Double &tdb)
 
Bool getLSR (Double &tdb)
 Get LSR radial velocity (m/s) More...
 
Bool getCometType (uInt &tdb)
 Get Comet type. More...
 
Bool getComet (MVPosition &tdb)
 Get Comet position. More...
 

Private Member Functions

 MCFrame ()
 Default constructor (not implemented) More...
 
 MCFrame (const MCFrame &other)
 Copy constructor (not implemented) More...
 
MCFrameoperator= (const MCFrame &other)
 Copy assignment (not implemented) More...
 

Private Attributes

MeasFrame myf
 The belonging frame pointer. More...
 
void * epConvTDB
 The actual measure conversion values. More...
 
DoubleepTDBp
 TDB time. More...
 
void * epConvUT1
 Conversion to UT1 time. More...
 
DoubleepUT1p
 UT1 time. More...
 
void * epConvTT
 Conversion to TT time. More...
 
DoubleepTTp
 TT time. More...
 
void * epConvLAST
 Conversion to LAST time. More...
 
DoubleepLASTp
 LAST time. More...
 
void * posConvLong
 Conversion to ITRF longitude/latitude. More...
 
Vector< Double > * posLongp
 Longitude. More...
 
MVPositionposITRFp
 Position. More...
 
void * posConvLongGeo
 Conversion to geodetic longitude/latitude. More...
 
Vector< Double > * posLongGeop
 Latitude. More...
 
MVPositionposGeop
 Position. More...
 
void * dirConvJ2000
 Conversion to J2000. More...
 
Vector< Double > * j2000Longp
 Longitude. More...
 
MVDirectiondirJ2000p
 J2000 coordinates. More...
 
void * dirConvB1950
 Conversion to B1950. More...
 
Vector< Double > * b1950Longp
 Longitude. More...
 
MVDirectiondirB1950p
 B1950 coordinates. More...
 
void * dirConvApp
 Conversion to apparent coordinates. More...
 
Vector< Double > * appLongp
 Longitude. More...
 
MVDirectiondirAppp
 Apparent coordinates. More...
 
void * radConvLSR
 Conversion to LSR radial velocity. More...
 
DoubleradLSRp
 Radial velocity. More...
 

Detailed Description

Measure frame calculations proxy

Intended use:

Internal

Review Status

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

Prerequisite

Etymology

From Measure and Frame

Synopsis

The MeasFrame class contains the 'when and where' of an observed Measure. Calculations to get the appropiate value (e.g. the Earth's longitude) from this frame for conversions are done in this class, together with all the caching of (intermediate) results that can speed-up calculations.
The MCFrame class is used by the individual measure conversion classes (see MCBase class).

Example

MEpoch my_epoch(Quantity(MeasData::MJDB1950,"d")); // an epoch
MCFrame frame(my_epoch); // used in a frame
frame.set(obser); // add observatory (an MPosition)
MEpoch::Convert conv(my_epoch, MEPoch::Ref(MEpoch::LAST, frame));
MCFrame()
Default constructor (not implemented)
@ LAST
Local Apparent Sidereal Time.
Definition: MEpoch.h:119
MeasConvert< MEpoch > Convert
Measure Convert (i.e.
Definition: MEpoch.h:158
static const Double MJDB1950
MJD of B1950.0.
Definition: MeasData.h:109
Quantum< Double > Quantity
Definition: Quantum.h:38

The conv conversion engine will (transpararently) use the MCFrame class in calls from MCEpoch (the time conversions), which will be called by the MEpoch::Convert () operator.

Motivation

To separate the frame calculations from the Measure containers, to enable e.g. Tables to have Measures.

Definition at line 91 of file MCFrame.h.

Constructor & Destructor Documentation

◆ MCFrame() [1/3]

casacore::MCFrame::MCFrame ( MeasFrame inf)

Construct using the MeasFrame parent.

◆ ~MCFrame()

casacore::MCFrame::~MCFrame ( )

Destructor.

◆ MCFrame() [2/3]

casacore::MCFrame::MCFrame ( )
private

Default constructor (not implemented)

◆ MCFrame() [3/3]

casacore::MCFrame::MCFrame ( const MCFrame other)
private

Copy constructor (not implemented)

Member Function Documentation

◆ getApp()

Bool casacore::MCFrame::getApp ( MVDirection tdb)

Get apparent coordinates (direction cosines) and long/lat (rad)

◆ getAppLat()

Bool casacore::MCFrame::getAppLat ( Double tdb)

◆ getAppLong()

Bool casacore::MCFrame::getAppLong ( Double tdb)

◆ getB1950()

Bool casacore::MCFrame::getB1950 ( MVDirection tdb)

Get B1950 coordinates (direction cosines) and long/lat (rad)

◆ getB1950Lat()

Bool casacore::MCFrame::getB1950Lat ( Double tdb)

◆ getB1950Long()

Bool casacore::MCFrame::getB1950Long ( Double tdb)

◆ getComet()

Bool casacore::MCFrame::getComet ( MVPosition tdb)

Get Comet position.

◆ getCometType()

Bool casacore::MCFrame::getCometType ( uInt tdb)

Get Comet type.

◆ getITRF()

Bool casacore::MCFrame::getITRF ( MVPosition tdb)

Get the position.

◆ getJ2000()

Bool casacore::MCFrame::getJ2000 ( MVDirection tdb)

Get J2000 coordinates (direction cosines) and long/lat (rad)

◆ getJ2000Lat()

Bool casacore::MCFrame::getJ2000Lat ( Double tdb)

◆ getJ2000Long()

Bool casacore::MCFrame::getJ2000Long ( Double tdb)

◆ getLAST()

Bool casacore::MCFrame::getLAST ( Double tdb)

Get the LAST (in days)

◆ getLASTr()

Bool casacore::MCFrame::getLASTr ( Double tdb)

Get the LAST (in rad)

◆ getLat()

Bool casacore::MCFrame::getLat ( Double tdb)

Get the latitude (ITRF) (in rad)

◆ getLatGeo()

Bool casacore::MCFrame::getLatGeo ( Double tdb)

Get the geodetic latitude.

◆ getLong()

Bool casacore::MCFrame::getLong ( Double tdb)

Get the longitude (in rad)

◆ getLSR()

Bool casacore::MCFrame::getLSR ( Double tdb)

Get LSR radial velocity (m/s)

◆ getRadius()

Bool casacore::MCFrame::getRadius ( Double tdb)

Get the geocentric position (in m)

◆ getTDB()

Bool casacore::MCFrame::getTDB ( Double tdb)

Get TDB in days.

◆ getTT()

Bool casacore::MCFrame::getTT ( Double tdb)

Get TT in days.

◆ getUT1()

Bool casacore::MCFrame::getUT1 ( Double tdb)

Get UT1 in days.

◆ makeComet()

void casacore::MCFrame::makeComet ( )

Make full Comet.

◆ makeDirection()

void casacore::MCFrame::makeDirection ( )

Make full Direction.

◆ makeEpoch()

void casacore::MCFrame::makeEpoch ( )

Make full Epoch.

◆ makePosition()

void casacore::MCFrame::makePosition ( )

Make full Position.

◆ makeRadialVelocity()

void casacore::MCFrame::makeRadialVelocity ( )

Make full RadialVelocity.

◆ operator=()

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

Copy assignment (not implemented)

◆ resetComet()

void casacore::MCFrame::resetComet ( )

Reset Comet.

◆ resetDirection()

void casacore::MCFrame::resetDirection ( )

Reset Direction value.

◆ resetEpoch()

void casacore::MCFrame::resetEpoch ( )

Reset Epoch value.

◆ resetPosition()

void casacore::MCFrame::resetPosition ( )

Reset Position value.

◆ resetRadialVelocity()

void casacore::MCFrame::resetRadialVelocity ( )

Reset RadialVelocity value.

Member Data Documentation

◆ appLongp

Vector<Double>* casacore::MCFrame::appLongp
private

Longitude.

Definition at line 224 of file MCFrame.h.

◆ b1950Longp

Vector<Double>* casacore::MCFrame::b1950Longp
private

Longitude.

Definition at line 218 of file MCFrame.h.

◆ dirAppp

MVDirection* casacore::MCFrame::dirAppp
private

Apparent coordinates.

Definition at line 226 of file MCFrame.h.

◆ dirB1950p

MVDirection* casacore::MCFrame::dirB1950p
private

B1950 coordinates.

Definition at line 220 of file MCFrame.h.

◆ dirConvApp

void* casacore::MCFrame::dirConvApp
private

Conversion to apparent coordinates.

Definition at line 222 of file MCFrame.h.

◆ dirConvB1950

void* casacore::MCFrame::dirConvB1950
private

Conversion to B1950.

Definition at line 216 of file MCFrame.h.

◆ dirConvJ2000

void* casacore::MCFrame::dirConvJ2000
private

Conversion to J2000.

Definition at line 210 of file MCFrame.h.

◆ dirJ2000p

MVDirection* casacore::MCFrame::dirJ2000p
private

J2000 coordinates.

Definition at line 214 of file MCFrame.h.

◆ epConvLAST

void* casacore::MCFrame::epConvLAST
private

Conversion to LAST time.

Definition at line 194 of file MCFrame.h.

◆ epConvTDB

void* casacore::MCFrame::epConvTDB
private

The actual measure conversion values.

Conversion to TDB time (due to some (for me) unsolvable dependency errors) not the proper MeasConvert* here)

Definition at line 182 of file MCFrame.h.

◆ epConvTT

void* casacore::MCFrame::epConvTT
private

Conversion to TT time.

Definition at line 190 of file MCFrame.h.

◆ epConvUT1

void* casacore::MCFrame::epConvUT1
private

Conversion to UT1 time.

Definition at line 186 of file MCFrame.h.

◆ epLASTp

Double* casacore::MCFrame::epLASTp
private

LAST time.

Definition at line 196 of file MCFrame.h.

◆ epTDBp

Double* casacore::MCFrame::epTDBp
private

TDB time.

Definition at line 184 of file MCFrame.h.

◆ epTTp

Double* casacore::MCFrame::epTTp
private

TT time.

Definition at line 192 of file MCFrame.h.

◆ epUT1p

Double* casacore::MCFrame::epUT1p
private

UT1 time.

Definition at line 188 of file MCFrame.h.

◆ j2000Longp

Vector<Double>* casacore::MCFrame::j2000Longp
private

Longitude.

Definition at line 212 of file MCFrame.h.

◆ myf

MeasFrame casacore::MCFrame::myf
private

The belonging frame pointer.

Definition at line 176 of file MCFrame.h.

◆ posConvLong

void* casacore::MCFrame::posConvLong
private

Conversion to ITRF longitude/latitude.

Definition at line 198 of file MCFrame.h.

◆ posConvLongGeo

void* casacore::MCFrame::posConvLongGeo
private

Conversion to geodetic longitude/latitude.

Definition at line 204 of file MCFrame.h.

◆ posGeop

MVPosition* casacore::MCFrame::posGeop
private

Position.

Definition at line 208 of file MCFrame.h.

◆ posITRFp

MVPosition* casacore::MCFrame::posITRFp
private

Position.

Definition at line 202 of file MCFrame.h.

◆ posLongGeop

Vector<Double>* casacore::MCFrame::posLongGeop
private

Latitude.

Definition at line 206 of file MCFrame.h.

◆ posLongp

Vector<Double>* casacore::MCFrame::posLongp
private

Longitude.

Definition at line 200 of file MCFrame.h.

◆ radConvLSR

void* casacore::MCFrame::radConvLSR
private

Conversion to LSR radial velocity.

Definition at line 228 of file MCFrame.h.

◆ radLSRp

Double* casacore::MCFrame::radLSRp
private

Radial velocity.

Definition at line 230 of file MCFrame.h.


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