27 #ifndef MEASURES_PARANGLEMACHINE_H
28 #define MEASURES_PARANGLEMACHINE_H
31 #include <casacore/casa/aips.h>
32 #include <casacore/measures/Measures.h>
33 #include <casacore/measures/Measures/MCDirection.h>
34 #include <casacore/measures/Measures/MDirection.h>
35 #include <casacore/measures/Measures/MCEpoch.h>
36 #include <casacore/measures/Measures/MEpoch.h>
37 #include <casacore/casa/Quanta/Quantum.h>
38 #include <casacore/casa/Quanta/MVDirection.h>
39 #include <casacore/casa/Quanta/MVEpoch.h>
40 #include <casacore/casa/Arrays/Vector.h>
Double posAngle(const Double &ep) const
MVDirection zenith_p
Converted zenith.
Double calcAngle(const Double ep) const
Calculate position angle.
Double posAngle(const Quantum< Double > &ep) const
Get position angle (Epoch is supposed to be in days if Double)
ParAngleMachine(const ParAngleMachine &other)
Copy constructor (deep copy)
Double operator()(const Double &ep) const
Double intvl_p
Time interval over which to do simple solution (days)
MeasFrame * frame_p
Measure frame.
void initConv() const
Initialise conversion.
Double lastep_p
Time of last full solution (in days)
Vector< Double > posAngle(const Vector< Double > &ep) const
Double defintvl_p
Default time interval over which to do simple solution (days)
Vector< Double > posAngle(const Quantum< Vector< Double > > &ep) const
Quantum< Vector< Double > > operator()(const Quantum< Vector< Double > > &ep) const
Return parallactic angles (epoch in days if given as Double)
Double UTfactor_p
Calculation cache.
Vector< Double > operator()(const Vector< Double > &ep) const
Quantum< Vector< Double > > operator()(const Vector< MEpoch > &ep) const
ParAngleMachine & operator=(const ParAngleMachine &other)
Copy assignments (deep copy)
Quantum< Double > operator()(const Quantum< Double > &ep) const
Quantum< Double > operator()(const MVEpoch &ep) const
ParAngleMachine(const MDirection &in)
Construct for the specified direction.
Quantum< Double > operator()(const MEpoch &ep) const
void setInterval(const Double ttime)
Set the test interval (in days) over which to use simple formula.
ParAngleMachine()
Create an empty machine.
void set(const MDirection &in)
Will have a group of set methods (in direction; reference time; a frame; a reference time valid perio...
MDirection::Convert * convdir_p
Conversion engine.
MVDirection mvdir_p
Intermediate conversion result.
void set(const MeasFrame &frame)
void init()
Initialise machinery.
MDirection * indir_p
Input direction.
Quantum< Vector< Double > > operator()(const Vector< MVEpoch > &ep) const
this file contains all the compiler specific defines