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>
String: the storage and methods of handling collections of characters.
std::vector< TENShPtr > & operands()
Get the operands.
Error handler class for MSSel selection.
virtual ~UDFMSCalErrorHandler()
virtual void handleError(MSSelectionError &)
virtual void reportError(const char *, const String)
static UDFBase * makeHADEC1(const String &)
static UDFBase * makePA1(const String &)
static UDFBase * makeSpw(const String &)
void setupStokes(const Table &table, std::vector< TENShPtr > &operands)
Setup the Stokes conversion.
static UDFBase * makeLAST2(const String &)
virtual MArray< Double > getArrayDouble(const TableExprId &id)
Array< Double > toWvls(const TableExprId &)
Convert the UVW coordinates to wavelengths for the full spectrum.
static UDFBase * makeDelay(const String &)
Int64 getRowNr(const TableExprId &id)
Get the rownr in the subtable for GetValue.
SelType
Define the possible selection types.
static UDFBase * makeStateCol(const String &)
static UDFBase * makeFieldCol(const String &)
ArrayColumn< Double > itsUvwCol
static UDFBase * makeITRF(const String &)
static UDFBase * makeScan(const String &)
Vector< Double > itsTmpVector
static UDFBase * makeWvlAPP(const String &)
TableExprNode itsDataNode
void setupWvls(const Table &table, std::vector< TENShPtr > &operands, uInt nargMax)
Setup getting the wavelength information.
static UDFBase * makeTime(const String &)
virtual Int64 getInt(const TableExprId &id)
static UDFBase * makeBaseline(const String &)
virtual DComplex getDComplex(const TableExprId &id)
static UDFBase * makeAnt2Name(const String &)
virtual MArray< Bool > getArrayBool(const TableExprId &id)
ColType
Define the possible 'column' types.
static UDFBase * makeUVDist(const String &)
static UDFBase * makeAnt1Name(const String &)
static UDFBase * makeSubCol(const String &)
static UDFBase * makeHA2(const String &)
static UDFBase * makeFeed(const String &)
static UDFBase * makeCorr(const String &)
void setupSelection(const Table &table, std::vector< TENShPtr > &operands)
Setup the baseline selection.
static UDFBase * makeAZEL2(const String &)
static UDFBase * makeArray(const String &)
virtual void recreateColumnObjects(const Vector< rownr_t > &rownrs)
Let a derived class recreate its column objects in case a selection has to be applied.
static UDFBase * makeField(const String &)
static UDFBase * makeAZEL(const String &)
static UDFBase * makeState(const String &)
virtual MArray< Int64 > getArrayInt(const TableExprId &id)
static UDFBase * makeHA(const String &)
Function to create an object.
static UDFBase * makePolCol(const String &)
void setupDir(TENShPtr &operand)
Setup direction conversion if a direction is explicitly given.
StokesConverter itsStokesConv
static UDFBase * makeObsCol(const String &)
vector< Vector< Double > > itsWavels
static UDFBase * makeAZEL1(const String &)
UDFMSCal(const String &funcName)
Create the object for getting a value from a column in a subtable.
void setupGetValue(const Table &table, std::vector< TENShPtr > &operands)
Setup getting column values from a subtable.
static UDFBase * makeUvwWvls(const String &)
static UDFBase * makeAnt1Col(const String &)
static UDFBase * makeObs(const String &)
static UDFBase * makeLAST1(const String &)
UDFMSCal(const String &funcName, const String &subtabName, const String &idColName, Int arg=0)
static UDFBase * makeUvwWvl(const String &)
virtual void setup(const Table &, const TaQLStyle &)
Setup the object.
virtual MArray< String > getArrayString(const TableExprId &id)
virtual Bool getBool(const TableExprId &id)
Get the value.
virtual Double getDouble(const TableExprId &id)
static UDFBase * makeHADEC(const String &)
static UDFBase * makeWvlsAPP(const String &)
static UDFBase * makeLAST(const String &)
static UDFBase * makeSpwCol(const String &)
static UDFBase * makeDelay2(const String &)
static UDFBase * makeAnt2Col(const String &)
static UDFBase * makeHA1(const String &)
static UDFBase * makeUvwJ2000(const String &)
static UDFBase * makePA2(const String &)
Array< Double > itsTmpUvwWvl
static UDFBase * makeUvwAPP(const String &)
static UDFBase * makeWvlsJ2000(const String &)
static UDFBase * makeProcCol(const String &)
static UDFBase * makeDelay1(const String &)
virtual String getString(const TableExprId &id)
UDFMSCal(ColType, Int arg)
Create object the given ColType and SelType.
UDFMSCal(const String &funcName, const String &subtabName, const String &idColName, const String &colName)
static UDFBase * makeWvlJ2000(const String &)
static UDFBase * makeHADEC2(const String &)
static UDFBase * makeStokes(const String &)
vector< Double > itsWavel
virtual MArray< DComplex > getArrayDComplex(const TableExprId &id)
std::complex< Double > DComplex
this file contains all the compiler specific defines
LatticeExprNode arg(const LatticeExprNode &expr)
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
bool Bool
Define the standard types used by Casacore.