Go to the documentation of this file.
29 #ifndef MEASURES_SOLARPOS_H
30 #define MEASURES_SOLARPOS_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/casa/Quanta/MVPosition.h>
Double checkEpoch
Check epoch for linear approximation.
static uInt interval_reg
Interpolation interval.
MVPosition result[6]
Last calculation.
Double dsval[3]
Cached derivatives.
SolarPosTypes method
Method to be used.
void copy(const SolarPos &other)
Copy.
const MVPosition & baryEarth(Double epoch)
Barycentric position of Earth.
Solar position class and calculations.
const MVPosition & derivative(Double epoch)
Return derivatives of SolarPos (d-1)
const MVPosition & operator()(Double epoch)
Operator () calculates the geocentric Solar Position in AU.
const MVPosition & barySun(Double epoch)
Barycentric position of Sun.
const MVPosition & baryEarthDerivative(Double epoch)
Double sval[3]
Cached calculated Sun positions.
void init()
Re-initialise SolarPos object.
void calcSun(Double t)
Calculate heliocentric barycentre position.
Int lres
To be able to use references in simple calculations, results are calculated in a circular buffer.
Double eval[3]
Cached calculated Earth positions.
void calcEarth(Double t)
Calculate heliocentric Earth position for time t.
static uInt usejpl_reg
JPL use.
this file contains all the compiler specific defines
SolarPosTypes
Types of known SolarPos calculations (at 1995/09/04 STANDARD == IAU1980)
const MVPosition & barySunDerivative(Double epoch)
SolarPos()
Default constructor, generates default J2000 SolarPos identification.
SolarPos & operator=(const SolarPos &other)
Copy assignment.
static const Double INTV
Interval to be used for linear approximation (in days)
Double deval[3]
Cached derivatives.
void refresh()
Refresh calculations.
void fill()
Fill an empty copy.