28 #ifndef MEAS_DIRECTIONENGINE_H 29 #define MEAS_DIRECTIONENGINE_H 32 #include <casacore/casa/aips.h> 33 #include<casacore/meas/MeasUDF/EpochEngine.h> 34 #include<casacore/meas/MeasUDF/PositionEngine.h> 35 #include <casacore/tables/TaQL/ExprNode.h> 36 #include <casacore/measures/Measures/MDirection.h> 37 #include <casacore/measures/Measures/MCDirection.h> 38 #include <casacore/measures/Measures/MeasConvert.h> 39 #include <casacore/measures/TableMeasures/ArrayMeasColumn.h> 168 double el,
double lat,
169 double ra,
double epoch,
170 double& rise,
double&
set)
const;
A Vector of integers, for indexing into Array<T> objects.
void handleDirType(TableExprNodeRep *operand)
Handle a direction reference type.
const Unit & unit() const
Get the unit.
Array< Double > getArrayDouble(const TableExprId &id, Bool riseSet)
Get the values.
A 1-D Specialization of the Array class.
void setEpochEngine(EpochEngine &engine)
Set the possible epoch engine.
void handleDirArray(TableExprNodeRep *&operand)
Handle class for a table column expression tree.
Int ndim() const
Get the dimensionality.
TableExprNode itsExprNode
Container for Measure frame.
Vector< MDirection > itsConstants
Engine for TaQL UDF Position conversions.
void setPositionEngine(PositionEngine &engine)
Set the possible position engine.
Abstract base class for a node in a table column expression tree.
void handleDirection(PtrBlock< TableExprNodeRep *> &args, uInt &argnr, Bool riseSet)
Handle the argument(s) giving the input directions and reference type.
Read only access to table array Measure columns.
Bool isConstant() const
Tell if the expression is constant.
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
PositionEngine * itsPositionEngine
const IPosition & shape() const
Get the shape.
MDirection::Types refType() const
Get the reference type.
ArrayMeasColumn< MDirection > itsMeasCol
void handleValues(TableExprNode &operand, const TableExprId &id, Array< MDirection > &directions)
Engine for TaQL UDF Epoch conversions.
MDirection::Convert itsConverter
Engine for TaQL UDF Direction conversions.
void handleScalars(TableExprNodeRep *e1, TableExprNodeRep *e2)
bool Bool
Define the standard types used by Casacore.
void setConverter(MDirection::Types toType)
Set the MeasConvert object.
EpochEngine * itsEpochEngine
A drop-in replacement for Block<T*>.
void handleNames(TableExprNodeRep *operand)
Array< MDirection > getDirections(const TableExprId &id)
Get the directions.
The identification of a TaQL selection subject.
MDirection::Types itsRefType
void handleConstant(TableExprNodeRep *operand)
this file contains all the compiler specific defines
void calcRiseSet(double dec, double el, double lat, double ra, double epoch, double &rise, double &set) const
Calucate the rise and set time of a source for a given elevation, latitude, and epoch.