casa
$Rev:20696$
|
A class to provide easy read-only access to MSFeed columns. More...
#include <MSFeedColumns.h>
A class to provide easy read-only access to MSFeed columns.
Public interface
ROMSFeedColumns stands for Read-Only MeasurementSet Feed Table columns.
This class provides read-only access to the columns in the MSFeed Table. It does the declaration of all the Scalar and ArrayColumns with the correct types, so the application programmer doesn't have to worry about getting those right. There is an access function for every predefined column. Access to non-predefined columns will still have to be done with explicit declarations. See ROMSColumns for an example.
See MSColumns for the motivation.
Definition at line 84 of file MSFeedColumns.h.
casa::ROMSFeedColumns::ROMSFeedColumns | ( | const MSFeed & | msFeed | ) |
Create a columns object that accesses the data in the specified Table.
The destructor does nothing special.
casa::ROMSFeedColumns::ROMSFeedColumns | ( | ) | [protected] |
casa::ROMSFeedColumns::ROMSFeedColumns | ( | const ROMSFeedColumns & | ) | [private] |
const ROScalarColumn<Int>& casa::ROMSFeedColumns::antennaId | ( | ) | const [inline] |
Access to required columns.
Reimplemented in casa::MSFeedColumns.
Definition at line 95 of file MSFeedColumns.h.
References antennaId_p.
void casa::ROMSFeedColumns::attach | ( | const MSFeed & | msFeed | ) | [protected] |
void casa::ROMSFeedColumns::attachOptionalCols | ( | const MSFeed & | msFeed | ) | [private] |
const ROScalarColumn<Int>& casa::ROMSFeedColumns::beamId | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 96 of file MSFeedColumns.h.
References beamId_p.
const ROArrayColumn<Double>& casa::ROMSFeedColumns::beamOffset | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 97 of file MSFeedColumns.h.
References beamOffset_p.
const ROArrayMeasColumn<MDirection>& casa::ROMSFeedColumns::beamOffsetMeas | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 100 of file MSFeedColumns.h.
References beamOffsetMeas_p.
const ROArrayQuantColumn<Double>& casa::ROMSFeedColumns::beamOffsetQuant | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 98 of file MSFeedColumns.h.
References beamOffsetQuant_p.
const ROScalarColumn<Int>& casa::ROMSFeedColumns::feedId | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 102 of file MSFeedColumns.h.
References feedId_p.
const ROScalarColumn<Double>& casa::ROMSFeedColumns::focusLength | ( | ) | const [inline] |
Access to optional columns.
Reimplemented in casa::MSFeedColumns.
Definition at line 128 of file MSFeedColumns.h.
References focusLength_p.
const ROScalarQuantColumn<Double>& casa::ROMSFeedColumns::focusLengthQuant | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 129 of file MSFeedColumns.h.
References focusLengthQuant_p.
const ROScalarColumn<Double>& casa::ROMSFeedColumns::interval | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 103 of file MSFeedColumns.h.
References interval_p.
const ROScalarQuantColumn<Double>& casa::ROMSFeedColumns::intervalQuant | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 104 of file MSFeedColumns.h.
References intervalQuant_p.
Int casa::ROMSFeedColumns::matchFeed | ( | Quantum< Double > & | newTimeQ, |
Quantum< Double > & | newIntervalQ, | ||
const Int & | antId, | ||
const Int & | fId, | ||
const Int & | spwId, | ||
const Quantum< Double > & | timeQ, | ||
const Quantum< Double > & | intervalQ, | ||
const Int & | numRec, | ||
const Array< Quantum< Double > > & | beamOffsetQ, | ||
const Array< String > & | polType, | ||
const Array< Complex > & | polResp, | ||
const Array< Quantum< Double > > & | positionQ, | ||
const Array< Quantum< Double > > & | receptorAngleQ, | ||
const Vector< uInt > & | ignoreRows, | ||
const Quantum< Double > & | focusLengthQ = Quantum< Double >() |
||
) |
Returns the last row that contains a feed with the specified values.
If no matching row can be found, but a match is possible if the validity time interval is widened, return that row and the suggestion for the new time information. If no change to time is necessary, newTimeQ and newIntervalQ are zero. Returns -1 if no match could be found. Ignore the Feed table rows contained in vector ignoreRows. focusLengthQ is only compared if this optional column is present and if the value of focusLengthQ is not dimensionless.
uInt casa::ROMSFeedColumns::nrow | ( | ) | const [inline] |
Convenience function that returns the number of rows in any of the columns.
Definition at line 135 of file MSFeedColumns.h.
References antennaId_p.
const ROScalarColumn<Int>& casa::ROMSFeedColumns::numReceptors | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 106 of file MSFeedColumns.h.
References numReceptors_p.
ROMSFeedColumns& casa::ROMSFeedColumns::operator= | ( | const ROMSFeedColumns & | ) | [private] |
const ROScalarColumn<Int>& casa::ROMSFeedColumns::phasedFeedId | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 131 of file MSFeedColumns.h.
References phasedFeedId_p.
const ROArrayColumn<String>& casa::ROMSFeedColumns::polarizationType | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 108 of file MSFeedColumns.h.
References polarizationType_p.
const ROArrayColumn<Complex>& casa::ROMSFeedColumns::polResponse | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 107 of file MSFeedColumns.h.
References polResponse_p.
const ROArrayColumn<Double>& casa::ROMSFeedColumns::position | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 110 of file MSFeedColumns.h.
References position_p.
const ROScalarMeasColumn<MPosition>& casa::ROMSFeedColumns::positionMeas | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 113 of file MSFeedColumns.h.
References positionMeas_p.
const ROArrayQuantColumn<Double>& casa::ROMSFeedColumns::positionQuant | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 111 of file MSFeedColumns.h.
References positionQuant_p.
const ROArrayColumn<Double>& casa::ROMSFeedColumns::receptorAngle | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 115 of file MSFeedColumns.h.
References receptorAngle_p.
const ROArrayQuantColumn<Double>& casa::ROMSFeedColumns::receptorAngleQuant | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 116 of file MSFeedColumns.h.
References receptorAngleQuant_p.
const ROScalarColumn<Int>& casa::ROMSFeedColumns::spectralWindowId | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 118 of file MSFeedColumns.h.
References spectralWindowId_p.
const ROScalarColumn<Double>& casa::ROMSFeedColumns::time | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 120 of file MSFeedColumns.h.
References time_p.
const ROScalarMeasColumn<MEpoch>& casa::ROMSFeedColumns::timeMeas | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 123 of file MSFeedColumns.h.
References timeMeas_p.
const ROScalarQuantColumn<Double>& casa::ROMSFeedColumns::timeQuant | ( | ) | const [inline] |
Reimplemented in casa::MSFeedColumns.
Definition at line 121 of file MSFeedColumns.h.
References timeQuant_p.
ROScalarColumn<Int> casa::ROMSFeedColumns::antennaId_p [private] |
Reimplemented in casa::MSFeedColumns.
Definition at line 181 of file MSFeedColumns.h.
Referenced by antennaId(), and nrow().
ROScalarColumn<Int> casa::ROMSFeedColumns::beamId_p [private] |
Reimplemented in casa::MSFeedColumns.
Definition at line 182 of file MSFeedColumns.h.
Referenced by beamId().
Reimplemented in casa::MSFeedColumns.
Definition at line 183 of file MSFeedColumns.h.
Referenced by beamOffset().
Access to Measure columns.
Reimplemented in casa::MSFeedColumns.
Definition at line 198 of file MSFeedColumns.h.
Referenced by beamOffsetMeas().
Access to Quantum columns.
Reimplemented in casa::MSFeedColumns.
Definition at line 203 of file MSFeedColumns.h.
Referenced by beamOffsetQuant().
ROScalarColumn<Int> casa::ROMSFeedColumns::feedId_p [private] |
Reimplemented in casa::MSFeedColumns.
Definition at line 184 of file MSFeedColumns.h.
Referenced by feedId().
Reimplemented in casa::MSFeedColumns.
Definition at line 194 of file MSFeedColumns.h.
Referenced by focusLength().
Reimplemented in casa::MSFeedColumns.
Definition at line 209 of file MSFeedColumns.h.
Referenced by focusLengthQuant().
Reimplemented in casa::MSFeedColumns.
Definition at line 185 of file MSFeedColumns.h.
Referenced by interval().
Reimplemented in casa::MSFeedColumns.
Definition at line 204 of file MSFeedColumns.h.
Referenced by intervalQuant().
Reimplemented in casa::MSFeedColumns.
Definition at line 186 of file MSFeedColumns.h.
Referenced by numReceptors().
Reimplemented in casa::MSFeedColumns.
Definition at line 195 of file MSFeedColumns.h.
Referenced by phasedFeedId().
Reimplemented in casa::MSFeedColumns.
Definition at line 188 of file MSFeedColumns.h.
Referenced by polarizationType().
ROArrayColumn<Complex> casa::ROMSFeedColumns::polResponse_p [private] |
Reimplemented in casa::MSFeedColumns.
Definition at line 187 of file MSFeedColumns.h.
Referenced by polResponse().
ROArrayColumn<Double> casa::ROMSFeedColumns::position_p [private] |
Reimplemented in casa::MSFeedColumns.
Definition at line 189 of file MSFeedColumns.h.
Referenced by position().
Reimplemented in casa::MSFeedColumns.
Definition at line 199 of file MSFeedColumns.h.
Referenced by positionMeas().
Reimplemented in casa::MSFeedColumns.
Definition at line 205 of file MSFeedColumns.h.
Referenced by positionQuant().
Reimplemented in casa::MSFeedColumns.
Definition at line 190 of file MSFeedColumns.h.
Referenced by receptorAngle().
Reimplemented in casa::MSFeedColumns.
Definition at line 206 of file MSFeedColumns.h.
Referenced by receptorAngleQuant().
Reimplemented in casa::MSFeedColumns.
Definition at line 191 of file MSFeedColumns.h.
Referenced by spectralWindowId().
ROScalarColumn<Double> casa::ROMSFeedColumns::time_p [private] |
Reimplemented in casa::MSFeedColumns.
Definition at line 192 of file MSFeedColumns.h.
Referenced by time().
Reimplemented in casa::MSFeedColumns.
Definition at line 200 of file MSFeedColumns.h.
Referenced by timeMeas().
Reimplemented in casa::MSFeedColumns.
Definition at line 207 of file MSFeedColumns.h.
Referenced by timeQuant().