Go to the documentation of this file.
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;
void init()
Initialise machinery.
RotMatrix rot4_p
Rotation Matrix to project UV-plane onto.
Converts UVW coordinates between coordinate systems
Double getPhase(Vector< Double > &uv) const
Get phase shift (in implied units of UVW), and change input uvw as well.
MDirection outin_p
Old phase center in new coordinates.
RotMatrix rot2_p
Rotation matrix to go from old system to new system.
MDirection out_p
New phase center.
RotMatrix rot3_p
Rotation Matrix to go from new coordinate system to output UVW.
Container for Measure frame.
UVWMachine & operator=(const UVWMachine &other)
Copy assignments.
Bool zp_p
Zero phase flag (for speed)
void copy(const UVWMachine &other)
Copy data members.
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)
UVWMachine()
default constructor: not implemented
MVPosition phrot_p
Phase rotation.
A Measure: astronomical direction.
Bool proj_p
Projection flag.
MDirection::Ref outref_p
New coordinate reference.
this file contains all the compiler specific defines
Bool isNOP()
Return if the engine is an effective NOP.
void convertUVW(Vector< Double > &uv) const
replace UVW with converted values
Vector< Double > operator()(const Vector< Double > &uv) const
Return converted UVW coordinates.
RotMatrix uvrot_p
UVW rotation.
TableExprNode phase(const TableExprNode &node)
The phase (i.e.
RotMatrix uvproj_p
UVW rotation including projection.
RotMatrix rot1_p
Rotation Matrix to go from input UVW to coordinate system.
const MDirection & phaseCenter() const
Return the new phase center coordinates.
bool Bool
Define the standard types used by Casacore.
MDirection in_p
Old phase center.
const RotMatrix & rotationUVW() const
Return a rotation matrix that can be used to convert UVW coordinates: UVW(new) = UVW(old) * rotationU...
Bool nop_p
No conversion necessary flag.
MDirection::Convert conv_p
Conversion engine.