MeasComet.h
Classes
- MeasComet -- Position for comets and other solar system bodies (full description)
Types
- MJD
-
MJD (must be first in list)
- RA
-
Columns with data
- DEC
-
- RHO
-
- RADVEL
-
- DISKLONG
-
- DISKLAT
-
- N_Columns
-
Number of columns
- N_Types
-
Interface
- Public Members
- MeasComet()
- explicit MeasComet(const String &path)
- MeasComet(const MeasComet &other)
- MeasComet &operator=(const MeasComet &other)
- ~MeasComet()
- Bool ok() const
- const String &getName() const
- const MVPosition &getTopo() const
- MDirection::Types getType() const
- Double getStart() const
- Double getEnd() const
- Int nelements() const
- Bool get(MVPosition &returnValue, Double date) const
- Bool getDisk(MVDirection &returnValue, Double date) const
- Bool getRadVel(MVRadialVelocity &returnValue, Double date) const
- MeasComet *clone() const
- void closeMeas()
- Private Members
- Bool initMeas(const String &which)
- Bool fillMeas(Double utf) const
Review Status
- Reviewed By:
- UNKNOWN
- Date Reviewed:
- before2004/08/25
- Programs:
- Tests:
Prerequisite
Etymology
From Measure and Comet
Synopsis
MeasComet is the interface class between generated Comet position
tables and the Direction conversion machinery.
Tables are found using the aipsrc
(using measures.<table>.directory)
mechanism. If not provided they are assumed to reside in standard places
Tables are assumed to have the
VS_VERSION, VS_DATE, VS_CREATE and VS_TYPE keywords, and be of type IERS,
else an exception will be thrown.
The get() method will obtain data from the cometary
tables. The data obtained will be in the specified frame.
Note that the normal usage of these tables is through the Measures system.
A message is logged (once) if a date outside the range in
the Tables is asked for.
Thrown Exceptions
- AipsError if table opened has wrong format or otherwise corrupted.
Example
tbd
Motivation
To use the JPL data for positions of solar system bodies
To Do
Member Description
Types of known data
Construct using the aipsrc value (measures.comet.file)
explicit MeasComet(const String &path)
Construct a table from the named path.
MeasComet(const MeasComet &other)
Copy constructor
MeasComet &operator=(const MeasComet &other)
Copy assign
Bool ok() const
Is it a valid comet class (i.e. can it be used)
Get the name of the comet
Get the topo position
Get the direction type
Get the start of the table (in MJD)
Double getEnd() const
Get the end of the table (in MJD)
Get number of entries
Bool get(MVPosition &returnValue, Double date) const
Get a comet position
Bool getDisk(MVDirection &returnValue, Double date) const
Get the local on-disk direction
Get the velocity from a comet table, interpolated for date(in MJD(TDB)).
MeasComet *clone() const
Create a clone
Close the Comet tabls only
Initialise table from the name given
Bool fillMeas(Double utf) const
Fill Table lines