Go to the documentation of this file.
28 #ifndef MEASURES_MEASJPL_H
29 #define MEASURES_MEASJPL_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/tables/Tables/Table.h>
34 #include <casacore/tables/Tables/TableRow.h>
35 #include <casacore/tables/Tables/TableRecord.h>
36 #include <casacore/tables/Tables/ArrayColumn.h>
37 #include <casacore/casa/Containers/RecordField.h>
38 #include <casacore/casa/OS/Mutex.h>
MeasJPL()
Default constructor, NOT defined.
static vector< Int > curDate[N_Files]
Dates of the data read in buffer.
static const Double * fillMeas(Double &intv, MeasJPL::Files which, const MVEpoch &utf)
Get a pointer to the data for the given date.
static Double cn[N_Files][N_Codes]
static Int idx[N_Files][3][13]
Index in record.
Interface to JPL DE tables.
static void interMeas(Double res[], MeasJPL::Files which, Double intv, Double ivf, Int ncf, Int ncm, Int na, const Double buf[])
Interpolate Chebyshev polymomial to res.
@ GMS
Solar mass (GM0)/c2 in AU.
static void closeMeas()
Close the set of JPL tables only.
static Mutex theirMutex
Mutex for thread-safety (other than initialization).
@ BARYEARTH
Earth-Moon system barycentre.
@ N_Columns
Number of columns.
@ CAU
Light velocity used in AU/d.
static ArrayColumn< Double > acc[N_Files]
Data column descriptor.
static Int mjd0[N_Files]
First (-1) MJD in list.
@ BARYSOLAR
Solar system barycentre.
Main interface class to a read/write table.
@ MJD
MJD (must be first in list)
static Int dmjd[N_Files]
Interval in days (i.e., date step between subsequent rows)
TableExprNode date(const TableExprNode &node)
Codes
Codes for special constants.
static Int mjdl[N_Files]
Last MJD in list.
@ N_Types
Number of types.
static Bool getConst(Double &res, MeasJPL::Files which, MeasJPL::Codes what)
Get indicated special constant.
Types
Types of known data.
static const String tp[N_Files]
File names.
static Double aufac[N_Files]
Some helper data read from the table keywords.
this file contains all the compiler specific defines
MeasJPL & operator=(const MeasJPL &other)
Copy assign, NOT defined.
A class for high precision time.
static Bool get(Vector< Double > &returnValue, MeasJPL::Files file, MeasJPL::Types type, const MVEpoch &date)
Get the values from a DE table, interpolated for date(in MJD(TDB)).
static Bool getConst(Double &res, MeasJPL::Files which, const String &nam)
Get filed constant with name nam.
static vector< Vector< Double > > dval[N_Files]
Data read in.
@ RADS
Solar radius in AU.
static CallOnce theirCallOnce[N_Files]
Object to ensure safe multi-threaded lazy single initialization.
String: the storage and methods of handling collections of characters.
Wrapper around a pthreads mutex.
bool Bool
Define the standard types used by Casacore.
static Table t[N_Files]
Tables present.
static Bool initMeasOnce(MeasJPL::Files which)
Destructor, NOT defined and not declared to stop warning ~MeasJPL();.
static void doInitMeas(MeasJPL::Files which)
static Double emrat[N_Files]
CallOnce: func has one arg.