27 #ifndef MEASURES_UVWMACHINE_H
28 #define MEASURES_UVWMACHINE_H
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.
MVPosition phrot_p
Phase rotation.
UVWMachine()
default constructor: not implemented
MDirection::Ref outref_p
New coordinate reference.
TableExprNode phase(const TableExprNode &node)
The phase (i.e.
RotMatrix rot1_p
Rotation Matrix to go from input UVW to coordinate system.
Container for Measure frame.
RotMatrix uvrot_p
UVW rotation.
const MVPosition & rotationPhase() const
Return a position vector that can produce the phase correction: dPhase = rotationPhase * UVW(new) ...
MDirection::Convert conv_p
Conversion engine.
MDirection in_p
Old phase center.
void init()
Initialise machinery.
const MDirection & phaseCenter() const
Return the new phase center coordinates.
Bool nop_p
No conversion necessary flag.
Vector< Double > operator()(const Vector< Double > &uv) const
Return converted UVW coordinates.
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.
const RotMatrix & rotationUVW() const
Return a rotation matrix that can be used to convert UVW coordinates: UVW(new) = UVW(old) * rotationU...
RotMatrix rot2_p
Rotation matrix to go from old system to new system.
MDirection outin_p
Old phase center in new coordinates.
void convertUVW(Vector< Double > &uv) const
replace UVW with converted values
RotMatrix rot3_p
Rotation Matrix to go from new coordinate system to output UVW.
Double getPhase(Vector< Double > &uv) const
Get phase shift (in implied units of UVW), and change input uvw as well.
void copy(const UVWMachine &other)
Copy data members.
MDirection out_p
New phase center.
Bool proj_p
Projection flag.