29 #ifndef MEASURES_EARTHFIELD_H
30 #define MEASURES_EARTHFIELD_H
const Vector< Double > & operator()(const MVPosition &pos)
Return the EarthField components.
EarthField()
Default constructor, generates default J2000 EarthField identification.
Vector< Double > result_p[4]
Last calculation.
EarthField class model calculations.
Standard default model if none specified.
Double pval_p[3]
Cached calculated field components.
void calcField(const MVPosition &pos)
Calculate EarthField for longitude and latitude and altitude (m)
EarthField & operator=(const EarthField &other)
Copy assignment.
Double dval_p[3][3]
Cached derivatives.
const Double DER_INTV
Interval (m) for derivatives in IGRF model.
EarthFieldTypes
Known EarthField calculation models.
void copy(const EarthField &other)
Make a copy.
static const Double INTV
Default interval to be used for linear approximation (in m)
Vector< Double > agh_p
List of spherical components.
void refresh()
Refresh calculations.
Double fixedEpoch_p
Fixed epoch to be used (MJD)
const Vector< Double > * derivative(const MVPosition &pos)
Return derivatives of field (to X, Y, Z).
MVPosition checkPos_p
Check position.
Vector< Double > p_p
Work arrays for calculations.
void fillField()
Create correct default fixedEpoch and catalogue field data.
Make the field equal to zero.
Int lres_p
To reference results, and use a few in interim calculations, results are calculated in a circular buf...
static uInt interval_reg_p
Interpolation interval.
EarthFieldTypes method_p
Method to be used.
const Int PQ_LEN
Length of P and Q arrays, half length of CL/SL arrays in IGRF model.
void init()
Re-initialise EarthField object with specified model and epoch, or defaults STANDARD and J2000...
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.