27 #ifndef MEASURES_UVWMACHINE_H 28 #define MEASURES_UVWMACHINE_H 31 #include <casacore/casa/aips.h> 32 #include <casacore/measures/Measures.h> 33 #include <casacore/measures/Measures/MCDirection.h> 34 #include <casacore/casa/Quanta/MVPosition.h> 35 #include <casacore/casa/Quanta/RotMatrix.h> 41 template <
class T>
class Vector;
A Measure: astronomical direction.
RotMatrix uvproj_p
UVW rotation including projection.
UVWMachine & operator=(const UVWMachine &other)
Copy assignments.
Bool zp_p
Zero phase flag (for speed)
Bool isNOP()
Return if the engine is an effective NOP.
void reCalculate()
Recalculate the parameters for the machine after e.g.
void planetinit()
Planet handling.
const MVPosition & rotationPhase() const
Return a position vector that can produce the phase correction: dPhase = rotationPhase * UVW(new) ...
MVPosition phrot_p
Phase rotation.
UVWMachine()
default constructor: not implemented
MDirection::Ref outref_p
New coordinate reference.
Vector< Double > operator()(const Vector< Double > &uv) const
Return converted UVW coordinates.
TableExprNode phase(const TableExprNode &node)
The phase (i.e.
const MDirection & phaseCenter() const
Return the new phase center coordinates.
RotMatrix rot1_p
Rotation Matrix to go from input UVW to coordinate system.
const RotMatrix & rotationUVW() const
Return a rotation matrix that can be used to convert UVW coordinates: UVW(new) = UVW(old) * rotationU...
Container for Measure frame.
RotMatrix uvrot_p
UVW rotation.
MDirection::Convert conv_p
Conversion engine.
MDirection in_p
Old phase center.
void init()
Initialise machinery.
Bool nop_p
No conversion necessary flag.
Converts UVW coordinates between coordinate systems.
bool Bool
Define the standard types used by Casacore.
RotMatrix rot4_p
Rotation Matrix to project UV-plane onto.
Double getPhase(Vector< Double > &uv) const
Get phase shift (in implied units of UVW), and change input uvw as well.
RotMatrix rot2_p
Rotation matrix to go from old system to new system.
MDirection outin_p
Old phase center in new coordinates.
RotMatrix rot3_p
Rotation Matrix to go from new coordinate system to output UVW.
void copy(const UVWMachine &other)
Copy data members.
this file contains all the compiler specific defines
MDirection out_p
New phase center.
Bool proj_p
Projection flag.
void convertUVW(Vector< Double > &uv) const
replace UVW with converted values