28 #ifndef DERIVEDMSCAL_UDFMSCAL_H 29 #define DERIVEDMSCAL_UDFMSCAL_H 32 #include <casacore/casa/aips.h> 33 #include <casacore/derivedmscal/DerivedMC/MSCalEngine.h> 34 #include <casacore/ms/MeasurementSets/StokesConverter.h> 35 #include <casacore/ms/MSSel/MSSelectionErrorHandler.h> 36 #include <casacore/tables/TaQL/UDFBase.h> 37 #include <casacore/tables/TaQL/ExprNode.h> static UDFBase * makeHADEC1(const String &)
static UDFBase * makeAnt1Name(const String &)
virtual ~UDFMSCalErrorHandler()
static UDFBase * makeObsCol(const String &)
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
void setupSelection(const Table &table, PtrBlock< TableExprNodeRep * > &operands)
Setup the baseline selection.
LatticeExprNode arg(const LatticeExprNode &expr)
virtual void reportError(const char *, const String)
static UDFBase * makeLAST1(const String &)
static UDFBase * makeField(const String &)
Main interface class to a read/write table.
virtual Int64 getInt(const TableExprId &id)
static UDFBase * makeAnt1Col(const String &)
static UDFBase * makeProcCol(const String &)
PtrBlock< TableExprNodeRep * > & operands()
Get the operands.
Handle class for a table column expression tree.
virtual void recreateColumnObjects(const Vector< uInt > &rownrs)
Let a derived class recreate its column objects in case a selection has to be applied.
SelType
Define the possible selection types.
static UDFBase * makeObs(const String &)
virtual DComplex getDComplex(const TableExprId &id)
Vector< Double > itsTmpVector
static UDFBase * makeUvwWvl(const String &)
Abstract base class for a user-defined TaQL function.
static UDFBase * makeLAST(const String &)
virtual Double getDouble(const TableExprId &id)
Abstract base class for a node in a table column expression tree.
static UDFBase * makeUvwWvls(const String &)
virtual String getString(const TableExprId &id)
Int64 getRowNr(const TableExprId &id)
Get the rownr in the subtable for GetValue.
StokesConverter itsStokesConv
StokesConverter converts any set of polarizations into any other one.
static UDFBase * makeBaseline(const String &)
static UDFBase * makeSpw(const String &)
void setupWvls(const Table &table, PtrBlock< TableExprNodeRep * > &operands, uInt nargMax)
Setup getting the wavelength information.
void setupStokes(const Table &table, PtrBlock< TableExprNodeRep * > &operands)
Setup the Stokes conversion.
virtual Array< Double > getArrayDouble(const TableExprId &id)
static UDFBase * makeFieldCol(const String &)
static UDFBase * makeSubCol(const String &)
static UDFBase * makeStateCol(const String &)
static UDFBase * makeWvls(const String &)
std::complex< Double > DComplex
Array< Double > itsTmpUvwWvl
Class with static members defining the TaQL style.
static UDFBase * makeSpwCol(const String &)
virtual Array< Int64 > getArrayInt(const TableExprId &id)
bool Bool
Define the standard types used by Casacore.
Array< Double > toWvls(const TableExprId &)
Convert the UVW coordinates to wavelengths for the full spectrum.
virtual void setup(const Table &, const TaQLStyle &)
Setup the object.
static UDFBase * makeTime(const String &)
virtual Array< DComplex > getArrayDComplex(const TableExprId &id)
static UDFBase * makePA2(const String &)
A drop-in replacement for Block<T*>.
static UDFBase * makeAnt2Col(const String &)
vector< Vector< Double > > itsWavels
static UDFBase * makeAZEL2(const String &)
static UDFBase * makeUVW(const String &)
static UDFBase * makeArray(const String &)
static UDFBase * makeLAST2(const String &)
virtual Array< String > getArrayString(const TableExprId &id)
void setupGetValue(const Table &table, PtrBlock< TableExprNodeRep * > &operands)
Setup getting column values from a subtable.
The identification of a TaQL selection subject.
static UDFBase * makePolCol(const String &)
vector< Double > itsWavel
static UDFBase * makeHADEC2(const String &)
TableExprNode itsDataNode
static UDFBase * makeUVDist(const String &)
static UDFBase * makeStokes(const String &)
virtual void handleError(MSSelectionError &)
String: the storage and methods of handling collections of characters.
virtual Bool getBool(const TableExprId &id)
Get the value.
static UDFBase * makeAnt2Name(const String &)
static UDFBase * makePA1(const String &)
static UDFBase * makeHADEC(const String &)
ArrayColumn< Double > itsUvwCol
static UDFBase * makeScan(const String &)
ColType
Define the possible 'column' types.
static UDFBase * makeAZEL1(const String &)
virtual Array< Bool > getArrayBool(const TableExprId &id)
void setupDir(TableExprNodeRep *&operand)
Setup direction conversion if a direction is explicitly given.
static UDFBase * makeState(const String &)
UDFMSCal(ColType, Int arg)
Create object the given ColType and SelType.
this file contains all the compiler specific defines
static UDFBase * makeHA2(const String &)
static UDFBase * makeWvl(const String &)
Error handler class for MSSel selection.
static UDFBase * makeHA1(const String &)
static UDFBase * makeHA(const String &)
Function to create an object.
Engine to calculate derived MS values.
TaQL UDFs to calculate derived MS values.