Go to the documentation of this file.
28 #ifndef DERIVEDMSCAL_MSCALENGINE_H
29 #define DERIVEDMSCAL_MSCALENGINE_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/tables/Tables/Table.h>
34 #include <casacore/tables/Tables/ScalarColumn.h>
35 #include <casacore/measures/Measures/MDirection.h>
36 #include <casacore/measures/Measures/MPosition.h>
37 #include <casacore/measures/Measures/MEpoch.h>
38 #include <casacore/measures/Measures/MBaseline.h>
39 #include <casacore/measures/Measures/MeasConvert.h>
40 #include <casacore/measures/TableMeasures/ScalarMeasColumn.h>
41 #include <casacore/casa/vector.h>
42 #include <casacore/casa/stdmap.h>
vector< vector< MBaseline > > itsAntMB
void setDirection(const MDirection &)
Set the direction to be used instead of a direction from the FIELD table.
A Measure: position on Earth.
void setDirColName(const String &colName)
Set the direction column name to use in the FIELD table.
vector< Block< bool > > itsUvwFilled
void fillCalDesc()
Fill the CalDesc info for calibration tables.
vector< vector< Int > > itsMount
vector< vector< Vector< double > > > itsAntUvw
~MSCalEngine()
Destructor.
vector< vector< MPosition > > itsAntPos
void getItrf(Int antnr, uInt rownr, Array< Double > &)
Get the ITRF coordinates for the given row.
Engine to calculate derived MS values.
map< string, int > itsCalMap
ScalarMeasColumn< MEpoch > itsTimeMeasCol
double getHA(Int antnr, uInt rownr)
Get the hourangle for the given row.
Container for Measure frame.
ScalarColumn< Int > itsAntCol[2]
ScalarColumn< Int > itsFeedCol[2]
Main interface class to a read/write table.
vector< vector< MDirection > > itsFieldDir
void fillFieldDir(Int calDescId, Int calInx)
Fill or update the field directions from the FIELD subtable at row calDescId.
ScalarColumn< Int > itsFieldCol
Vector< double > itsArrayItrf
Table getSubTable(Int calDescId, const String &subTabName, Bool mustExist=True)
Get a calibration MS subtable for the given id.
double getPA(Int antnr, uInt rownr)
Get the parallatic angle for the given row.
Table getTable() const
Get the table used.
double getDelay(Int antnr, uInt rownr)
Get the delay for the given row.
A Measure: astronomical direction.
this file contains all the compiler specific defines
vector< Int > itsCalIdMap
MDirection::Convert itsRADecToHADec
void getHaDec(Int antnr, uInt rownr, Array< Double > &)
Get the hourangle/DEC for the given row.
MDirection::Convert itsRADecToAzEl
MDirection::Convert itsRADecToItrf
ScalarColumn< Int > itsCalCol
void setTable(const Table &)
Use the given table (MS or CalTable) in the engine.
MSCalEngine()
Default constructor.
MEpoch::Convert itsUTCToLAST
MBaseline::Convert itsBLToJ2000
double getLAST(Int antnr, uInt rownr)
Get the local sidereal time for the given row.
MDirection::Convert itsDirToJ2000
ScalarColumn< Double > itsTimeCol
void fillAntPos(Int calDescId, Int calInx)
Fill or update the antenna positions from the ANTENNA subtable at row calDescId.
MDirection::Convert itsPoleToAzEl
String: the storage and methods of handling collections of characters.
void getNewUVW(Bool asApp, uInt rownr, Array< Double > &)
Get the UVW in J2000 or APP for the given row.
MDirection itsLastDirJ2000
bool Bool
Define the standard types used by Casacore.
void init()
Initialize the column objects, etc.
void getAzEl(Int antnr, uInt rownr, Array< Double > &)
Get the azimuth/elevation for the given row.
Int setData(Int antnr, uInt rownr, Bool fillAnt=False)
Set the data in the measure converter machines.
MSCalEngine & operator=(const MSCalEngine &that)
Assignment cannot be used.