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