28 #ifndef MEAS_EARTHMAGNETICENGINE_H
29 #define MEAS_EARTHMAGNETICENGINE_H
43 class DirectionEngine;
Engine for TaQL UDF EarthMagnetic conversions.
Templated base class for the TaQL UDF conversion engines.
Handle class for a table column expression tree.
virtual void setValueType(Int valueType)
Let a derived class set its value type.
virtual ~EarthMagneticEngine()
Container for Measure frame.
Engine for TaQL UDF Position conversions.
virtual casacore::String type() const
Implements RegionShape::type.
void set(MEarthMagnetic::Types toRefType, Int toValueType, Bool asLOS, Bool asLong, Bool useModel)
Set the types of the result.
DirectionEngine * itsDirectionEngine
EarthMagneticMachine itsMachine
void setDirectionEngine(DirectionEngine &engine)
Set the possible direction engine.
Int valueType() const
Get the value type.
Calculates magnetic field in a direction.
A Measure: Magnetic field on Earth.
void setEpochEngine(EpochEngine &engine)
Set the MeasConvert object.
PositionEngine * itsPositionEngine
MEarthMagnetic makeEarthMagnetic(const Quantity &qh, const Quantity &q1, const Quantity &q2) const
Make an MEarthMagnetic from xyz or length,angles.
Array< MEarthMagnetic > getEarthMagnetics(const TableExprId &id)
Engine for TaQL UDF Epoch conversions.
Engine for TaQL UDF Direction conversions.
void setPositionEngine(PositionEngine &engine)
Set the possible position engine.
Array< Double > getArrayDouble(const TableExprId &id)
Get the values.
A 3D Earth magnetic field vector.
void handleHeight(TENShPtr &operand)
Handle the heights argument.
bool Bool
Define the standard types used by Casacore.
virtual String stripMeasType(const String &type)
Strip a possible suffix from the reference type.
Array< Double > getHeights(const TableExprId &id)
EpochEngine * itsEpochEngine
The identification of a TaQL selection subject.
MEarthMagnetic::Convert itsConverter
void copyEM(const MVEarthMagnetic &em, double *&outPtr)
virtual void deriveAttr(const Unit &unit, Int nval)
Let a derived class derive its attributes.
const Unit & unit() const
Get the unit of the function's result.
String: the storage and methods of handling collections of characters.
Types
Types of known MEarthMagnetics Tip: The order defines the order in the translation matrix FromTo in ...
void copyLLEM(EarthMagneticMachine &emm, double *&outPtr)
virtual void handleValues(TableExprNode &operand, const TableExprId &id, Array< MEarthMagnetic > &earthMagnetics)
Let a derive class handle the values.
void handleEarthMagnetic(std::vector< TENShPtr > &args, uInt &argnr)
Handle the argument(s) giving the input earthMagnetics or direction and reference type...
void handleScalars(const TENShPtr &e1, const TENShPtr &e2, const TENShPtr &e3)
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.