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>
static Int dmjd[N_Files]
Interval in days (i.e., date step between subsequent rows)
static ArrayColumn< Double > acc[N_Files]
Data column descriptor.
Types
Types of known data.
@ BARYEARTH
Earth-Moon system barycentre.
@ N_Columns
Number of columns.
@ MJD
MJD (must be first in list)
@ N_Types
Number of types.
@ BARYSOLAR
Solar system barycentre.
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.
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.
static const String tp[N_Files]
File names.
static std::mutex theirMutex
Mutex for thread-safety (other than initialization).
static Int mjdl[N_Files]
Last MJD in list.
static Bool getConst(Double &res, MeasJPL::Files which, MeasJPL::Codes what)
Get indicated special constant.
static vector< Int > curDate[N_Files]
Dates of the data read in buffer.
static void doInitMeas(MeasJPL::Files which)
static Int idx[N_Files][3][13]
Index in record.
static Double cn[N_Files][N_Codes]
static Double aufac[N_Files]
Some helper data read from the table keywords.
Codes
Codes for special constants.
@ CAU
Light velocity used in AU/d.
@ GMS
Solar mass (GM0)/c2 in AU.
@ RADS
Solar radius in AU.
static Int mjd0[N_Files]
First (-1) MJD in list.
static Bool initMeasOnce(MeasJPL::Files which)
Destructor, NOT defined and not declared to stop warning ~MeasJPL();.
static Double emrat[N_Files]
MeasJPL & operator=(const MeasJPL &other)
Copy assign, NOT defined.
static void closeMeas()
Close the set of JPL tables only.
static Table t[N_Files]
Tables present.
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 const Double * fillMeas(Double &intv, MeasJPL::Files which, const MVEpoch &utf)
Get a pointer to the data for the given date.
static std::once_flag theirCallOnceFlags[N_Files]
Object to ensure safe multi-threaded lazy single initialization.
MeasJPL()
Default constructor, NOT defined.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
TableExprNode date(const TableExprNode &node)
bool Bool
Define the standard types used by Casacore.