28 #ifndef MS_MSANTENNACOLUMNS_H
29 #define MS_MSANTENNACOLUMNS_H
31 #include <casacore/casa/aips.h>
32 #include <casacore/measures/Measures/MPosition.h>
33 #include <casacore/measures/Measures/MCPosition.h>
34 #include <casacore/measures/TableMeasures/ArrayQuantColumn.h>
35 #include <casacore/measures/TableMeasures/ScalarMeasColumn.h>
36 #include <casacore/measures/TableMeasures/ScalarQuantColumn.h>
37 #include <casacore/tables/Tables/ArrayColumn.h>
38 #include <casacore/tables/Tables/ScalarColumn.h>
39 #include <casacore/casa/BasicSL/String.h>
173 const String& stationName,
199 const Double tolInM)
const;
Types
Types of known MPositions Warning: The order defines the order in the translation matrix FromTo in t...
ArrayColumn< Double > position_p
ArrayQuantColumn< Double > positionQuant_p
ScalarColumn< Int > & orbitId()
ArrayColumn< Double > & meanOrbit()
Access to optional columns.
const ScalarColumn< String > & type() const
Bool matchStation(rownr_t row, const String &stationName) const
ScalarColumn< String > station_p
ScalarColumn< String > & name()
Int64 matchAntennaAndStation(const String &antName, const String &stationName, const MPosition &antennaPos, const Quantum< Double > &tolerance, Int64 tryRow=-1)
Same as the previous function except that the station name must also match.
Int64 matchAntenna(const String &antName, const MPosition &antennaPos, const Quantum< Double > &tolerance, Int64 tryRow=-1)
Same as the previous function except that the antenna name must also match.
const ScalarColumn< Double > & dishDiameter() const
Const access to required columns.
ScalarColumn< String > name_p
void attachOptionalCols(const MSAntenna &msAntenna)
ScalarMeasColumn< MPosition > positionMeas_p
ArrayQuantColumn< Double > offsetQuant_p
const ArrayQuantColumn< Double > & offsetQuant() const
ScalarMeasColumn< MPosition > offsetMeas_p
Int64 matchAntenna(const MPosition &antennaPos, const Quantum< Double > &tolerance, Int64 tryRow=-1)
returns the last row that contains an antenna at the specified position, to within the specified tole...
ScalarColumn< Int > phasedArrayId_p
ScalarColumn< Bool > flagRow_p
ScalarMeasColumn< MPosition > & offsetMeas()
ScalarMeasColumn< MPosition > & positionMeas()
ArrayColumn< Double > & position()
ArrayColumn< Double > meanOrbit_p
Bool matchName(rownr_t row, const String &antName) const
const ScalarColumn< Int > & orbitId() const
ScalarColumn< String > & mount()
ScalarColumn< Bool > & flagRow()
const ArrayColumn< Double > & offset() const
ScalarColumn< Double > & dishDiameter()
Access to required columns.
const ArrayQuantColumn< Double > & positionQuant() const
ArrayQuantColumn< Double > & offsetQuant()
ScalarQuantColumn< Double > dishDiameterQuant_p
const ArrayColumn< Double > & position() const
ScalarColumn< String > type_p
ArrayQuantColumn< Double > & positionQuant()
const ScalarMeasColumn< MPosition > & offsetMeas() const
ScalarColumn< Double > dishDiameter_p
void setPositionRef(MPosition::Types ref)
set the position type for the POSITION column.
const ScalarMeasColumn< MPosition > & positionMeas() const
ScalarQuantColumn< Double > & dishDiameterQuant()
const ScalarQuantColumn< Double > & dishDiameterQuant() const
const ArrayColumn< Double > & meanOrbit() const
Const access to optional columns.
ScalarColumn< String > mount_p
ScalarColumn< Int > orbitId_p
~MSAntennaColumns()
The destructor does nothing special.
ArrayColumn< Double > & offset()
ScalarColumn< String > & station()
MSAntennaColumns & operator=(const MSAntennaColumns &)
const ScalarColumn< String > & mount() const
const ScalarColumn< String > & station() const
ScalarColumn< String > & type()
const ScalarColumn< String > & name() const
const ScalarColumn< Int > & phasedArrayId() const
ScalarColumn< Int > & phasedArrayId()
ArrayColumn< Double > offset_p
const ScalarColumn< Bool > & flagRow() const
MSAntennaColumns(const MSAntenna &msAntenna)
Create a columns object that accesses the data in the specified Table.
rownr_t nrow() const
Convenience function that returns the number of rows in any of the columns.
MSAntennaColumns(const MSAntennaColumns &)
void setOffsetRef(MPosition::Types ref)
set the position type for the OFFSET column.
void attach(const MSAntenna &msAntenna)
Bool matchPosition(rownr_t row, const Vector< Double > &antPosInM, const Double tolInM) const
String: the storage and methods of handling collections of characters.
rownr_t nrow() const
Get the number of rows in the column.
this file contains all the compiler specific defines
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
MSAntennaColumns ROMSAntennaColumns
bool Bool
Define the standard types used by Casacore.
uInt64 rownr_t
Define the type of a row number in a table.