28 #ifndef MS_MSANTENNACOLUMNS_H
29 #define MS_MSANTENNACOLUMNS_H
95 const ROScalarColumn<String>&
name()
const {
return name_p;}
98 const ROScalarMeasColumn<MPosition>&
offsetMeas()
const {
142 const String& stationName,
167 const Double tolInM)
const;
269 const ROScalarColumn<String>&
mount()
const {
271 const ROScalarColumn<String>&
name()
const {
273 const ROArrayColumn<Double>&
offset()
const {
285 const ROScalarColumn<String>&
station()
const {
287 const ROScalarColumn<String>&
type()
const {
const ROScalarColumn< Double > & dishDiameter() const
Read-only access to required columns.
ROScalarColumn< String > station_p
const ROScalarColumn< String > & station() const
ScalarMeasColumn< MPosition > & positionMeas()
ScalarColumn< String > station_p
A Measure: position on Earth.
ROScalarColumn< String > name_p
ScalarColumn< Int > & orbitId()
ScalarColumn< String > & name()
~MSAntennaColumns()
The destructor does nothing special.
const ROScalarColumn< String > & name() const
ScalarColumn< Bool > & flagRow()
uInt nrow() const
Convenience function that returns the number of rows in any of the columns.
void setPositionRef(MPosition::Types ref)
set the position type for the POSITION column.
ArrayColumn< Double > & meanOrbit()
Read-write access to optional columns.
ArrayColumn< Double > position_p
ArrayQuantColumn< Double > & positionQuant()
Bool matchStation(uInt row, const String &stationName) const
ScalarColumn< String > name_p
const ROScalarMeasColumn< MPosition > & positionMeas() const
ROScalarColumn< Double > dishDiameter_p
~ROMSAntennaColumns()
The destructor does nothing special.
ROScalarQuantColumn< Double > dishDiameterQuant_p
ScalarMeasColumn< MPosition > offsetMeas_p
ArrayQuantColumn< Double > offsetQuant_p
ROScalarMeasColumn< MPosition > offsetMeas_p
const ROArrayColumn< Double > & position() const
ROArrayColumn< Double > offset_p
const ROArrayColumn< Double > & offset() const
Bool matchName(uInt row, const String &antName) const
Int matchAntenna(const MPosition &antennaPos, const Quantum< Double > &tolerance, Int tryRow=-1)
returns the last row that contains an antenna at the specified position, to within the specified tole...
ROArrayColumn< Double > meanOrbit_p
ScalarColumn< String > type_p
const ROArrayColumn< Double > & meanOrbit() const
Read-only access to optional columns.
const ROScalarColumn< String > & mount() const
void attach(const MSAntenna &msAntenna)
const ROScalarMeasColumn< MPosition > & positionMeas() const
ROScalarColumn< String > type_p
const ROArrayColumn< Double > & offset() const
ROScalarColumn< Int > phasedArrayId_p
A Table intended to hold a MeasurementSet ANTENNA table.
const ROScalarColumn< String > & type() const
ROMSAntennaColumns & operator=(const ROMSAntennaColumns &)
MSAntennaColumns & operator=(const MSAntennaColumns &)
const ROArrayQuantColumn< Double > & offsetQuant() const
ScalarColumn< String > & mount()
ROScalarMeasColumn< MPosition > positionMeas_p
ScalarColumn< Int > orbitId_p
ScalarMeasColumn< MPosition > & offsetMeas()
const ROArrayColumn< Double > & position() const
ArrayQuantColumn< Double > positionQuant_p
const ROArrayColumn< Double > & meanOrbit() const
Access to optional columns.
ScalarQuantColumn< Double > & dishDiameterQuant()
ScalarColumn< String > mount_p
const ROScalarMeasColumn< MPosition > & offsetMeas() const
const ROArrayQuantColumn< Double > & offsetQuant() const
ScalarColumn< Double > & dishDiameter()
Read-write access to required columns.
const ROScalarColumn< Int > & phasedArrayId() const
const ROScalarColumn< String > & station() const
const ROArrayQuantColumn< Double > & positionQuant() const
const ROScalarMeasColumn< MPosition > & offsetMeas() const
const ROScalarColumn< Int > & phasedArrayId() const
const ROScalarColumn< String > & mount() const
ROScalarColumn< Int > orbitId_p
const ROScalarColumn< String > & name() const
ROArrayQuantColumn< Double > offsetQuant_p
ArrayColumn< Double > offset_p
ScalarColumn< Double > dishDiameter_p
ROScalarColumn< String > mount_p
ScalarColumn< Int > phasedArrayId_p
A class to provide easy read-write access to MSAntenna columns.
ArrayColumn< Double > meanOrbit_p
bool Bool
Define the standard types used by Casacore.
ScalarColumn< Bool > flagRow_p
ArrayColumn< Double > & position()
const ROScalarQuantColumn< Double > & dishDiameterQuant() const
const ROScalarColumn< String > & type() const
const ROScalarColumn< Double > & dishDiameter() const
Access to columns.
ROArrayColumn< Double > position_p
void attachOptionalCols(MSAntenna &msAntenna)
const ROScalarQuantColumn< Double > & dishDiameterQuant() const
const ROScalarColumn< Bool > & flagRow() const
Types
Types of known MPositions Warning: The order defines the order in the translation matrix FromTo in t...
const ROScalarColumn< Bool > & flagRow() const
void attach(MSAntenna &msAntenna)
void setOffsetRef(MPosition::Types ref)
set the position type for the OFFSET column.
ScalarMeasColumn< MPosition > positionMeas_p
ScalarColumn< Int > & phasedArrayId()
Bool matchPosition(uInt row, const Vector< Double > &antPosInM, const Double tolInM) const
const ROScalarColumn< Int > & orbitId() const
ScalarColumn< String > & station()
A class to provide easy read-only access to MSAntenna columns.
String: the storage and methods of handling collections of characters.
ScalarColumn< String > & type()
const ROScalarColumn< Int > & orbitId() const
ROArrayQuantColumn< Double > positionQuant_p
Int matchAntennaAndStation(const String &antName, const String &stationName, const MPosition &antennaPos, const Quantum< Double > &tolerance, Int tryRow=-1)
Same as the previous function except that the station name must also match.
ROScalarColumn< Bool > flagRow_p
ArrayQuantColumn< Double > & offsetQuant()
ArrayColumn< Double > & offset()
void attachOptionalCols(const MSAntenna &msAntenna)
const ROArrayQuantColumn< Double > & positionQuant() const
ScalarQuantColumn< Double > dishDiameterQuant_p
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.