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