29 #ifndef MEASURES_MEASCOMET_H 30 #define MEASURES_MEASCOMET_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/tables/Tables/Table.h> 35 #include <casacore/tables/Tables/TableRow.h> 36 #include <casacore/casa/Containers/RecordField.h> 37 #include <casacore/casa/BasicSL/String.h> 38 #include <casacore/casa/Quanta/MVPosition.h> 39 #include <casacore/measures/Measures/MDirection.h> 44 class MVRadialVelocity;
46 template <
class T>
class Vector;
Int nrow_p
Number of rows.
Comet table has posrefsys defined *Bool hasPosrefsys() const
Bool getDisk(MVDirection &returnValue, Double date) const
Get the local on-disk direction.
MeasComet & operator=(const MeasComet &other)
Copy assign.
A 1-D Specialization of the Array class.
Position for comets and other solar system bodies.
MeasComet()
Construct using the aipsrc value (measures.comet.file)
Bool msgDone_p
Message given.
Vector< RORecordFieldPtr< Double > > rfp_p
These may be initialized inside the c'tors, but the order here is unimportant:
Main interface class to a read/write table.
Bool getExtras()
Try to read mean_rad_p and temperature_p, returning whether or not it was successful.
Double getTemperature(const Bool squawk)
Return the temperature in K, or -1 if the table does not have it.
MJD (must be first in list)
MDirection::Types getType() const
Get the direction type.
String name_p
Name of comet.
MVDirection getDiskLongLat(const uInt index) const
Bool measFlag_p
Measured data readable.
Bool measured_p
Measured data present.
Double getMeanRad(const Bool squawk)
Return the mean radius in AU, or -1 if the table does not have it.
Double getStart() const
Get the start of the table (in MJD)
const String & getName() const
Get the name of the comet.
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
Bool fillMeas(Double utf) const
Fill Table lines.
Vector< Double > ldat_p[2]
Last read data (measlow - meashigh)
Internal value for MRadialVelocity.
Types
Types of known data.
MVPosition getRelPosition(const uInt index) const
Helper functions for accessing ldat_p.
Readonly access to a table row.
ROTableRow row_p
Row descriptions.
MDirection::Types mtype_p
Type of coordinates.
Double dmjd_p
Increment in rows.
void closeMeas()
Close the Comet tabls only.
Double mjdl_p
Last MJD in list.
bool Bool
Define the standard types used by Casacore.
MDirection::Types posrefsystype_p
A hierarchical collection of named fields of various types.
Double mjd0_p
First MJD in list - 1.0 * dmjd_p.
Bool haveTriedExtras_p
which isn't.
const MVPosition & getTopo() const
Get the topo position.
Bool haveDiskLongLat_p
Whether or not the sub-observer longitude and latitude are available.
String getTablePath()
Convenience function that returns the absolute path to the ephemeris table connected to the MeasComet...
static Double get_Quantity_keyword(const TableRecord &ks, const String &kw, const Unit &unit, Bool &success)
Convenience function that returns ks[kw] in units of unit, setting success.
Table tab_p
Initialized in the "initialization list" of the c'tors, so maintain order:
MeasComet * clone() const
Create a clone.
Int nelements() const
Get number of entries.
String: the storage and methods of handling collections of characters.
Vector of three direction cosines.
MDirection::Types getPosrefsysType() const
Get the posrefsys dir type.
Double getEnd() const
Get the end of the table (in MJD)
Bool initMeas(const String &which, const Table *tabin=0)
Initialise table from the name given.
Bool ok() const
Is it a valid comet class (i.e.
Bool getRadVel(MVRadialVelocity &returnValue, Double date) const
Get the velocity from a comet table, interpolated for date(in MJD(TDB)).
this file contains all the compiler specific defines
Int lnr_p[2]
Lines in memory.
MVPosition topo_p
Position on Earth.
TableExprNode date(const TableExprNode &node)