casa
$Rev:20696$
|
A class to provide easy read-write access to MSPointing columns. More...
#include <MSPointingColumns.h>
A class to provide easy read-write access to MSPointing columns.
Public interface
MSPointingColumns stands for MeasurementSet Pointing Table columns.
This class provides access to the columns in the MSPointing 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 MSColumns for an example.
See MSColumns for the motivation.
Definition at line 233 of file MSPointingColumns.h.
casa::MSPointingColumns::MSPointingColumns | ( | MSPointing & | msPointing | ) |
Construct from the supplied Table.
The destructor does nothing special.
casa::MSPointingColumns::MSPointingColumns | ( | ) | [protected] |
casa::MSPointingColumns::MSPointingColumns | ( | const MSPointingColumns & | ) | [private] |
ScalarColumn<Int>& casa::MSPointingColumns::antennaId | ( | ) | [inline] |
Read-write access to required columns.
Note that the direction measures with a stored polynomial have Col() added to their name. They are better accessed via the functions that have the same name, without the Col suffix, that will do the interpolation for you. These functions are in the ROMSPointingColumns class.
Definition at line 249 of file MSPointingColumns.h.
References antennaId_p.
Referenced by antennaId().
const ROScalarColumn<Int>& casa::MSPointingColumns::antennaId | ( | ) | const [inline] |
Read-only access to required columns.
Reimplemented from casa::ROMSPointingColumns.
Definition at line 289 of file MSPointingColumns.h.
References antennaId().
void casa::MSPointingColumns::attach | ( | MSPointing & | msPointing | ) | [protected] |
void casa::MSPointingColumns::attachOptionalCols | ( | MSPointing & | msPointing | ) | [private] |
ArrayColumn<Double>& casa::MSPointingColumns::direction | ( | ) | [inline] |
Definition at line 260 of file MSPointingColumns.h.
References direction_p.
Referenced by direction().
const ROArrayColumn<Double>& casa::MSPointingColumns::direction | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 311 of file MSPointingColumns.h.
References direction().
ArrayMeasColumn<MDirection>& casa::MSPointingColumns::directionMeasCol | ( | ) | [inline] |
Definition at line 261 of file MSPointingColumns.h.
References directionMeas_p.
Referenced by directionMeasCol().
const ROArrayMeasColumn<MDirection>& casa::MSPointingColumns::directionMeasCol | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 313 of file MSPointingColumns.h.
References directionMeasCol().
ArrayColumn<Double>& casa::MSPointingColumns::encoder | ( | ) | [inline] |
const ROArrayColumn<Double>& casa::MSPointingColumns::encoder | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 333 of file MSPointingColumns.h.
References encoder().
ScalarMeasColumn<MDirection>& casa::MSPointingColumns::encoderMeas | ( | ) | [inline] |
Definition at line 281 of file MSPointingColumns.h.
References encoderMeas_p.
Referenced by encoderMeas().
const ROScalarMeasColumn<MDirection>& casa::MSPointingColumns::encoderMeas | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 335 of file MSPointingColumns.h.
References encoderMeas().
ScalarColumn<Double>& casa::MSPointingColumns::interval | ( | ) | [inline] |
Definition at line 253 of file MSPointingColumns.h.
References interval_p.
Referenced by interval().
const ROScalarColumn<Double>& casa::MSPointingColumns::interval | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 297 of file MSPointingColumns.h.
References interval().
ScalarQuantColumn<Double>& casa::MSPointingColumns::intervalQuant | ( | ) | [inline] |
Definition at line 254 of file MSPointingColumns.h.
References intervalQuant_p.
Referenced by intervalQuant().
const ROScalarQuantColumn<Double>& casa::MSPointingColumns::intervalQuant | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 299 of file MSPointingColumns.h.
References intervalQuant().
ScalarColumn<String>& casa::MSPointingColumns::name | ( | ) | [inline] |
const ROScalarColumn<String>& casa::MSPointingColumns::name | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 301 of file MSPointingColumns.h.
References name().
ScalarColumn<Int>& casa::MSPointingColumns::numPoly | ( | ) | [inline] |
const ROScalarColumn<Int>& casa::MSPointingColumns::numPoly | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 303 of file MSPointingColumns.h.
References numPoly().
ScalarColumn<Bool>& casa::MSPointingColumns::onSource | ( | ) | [inline] |
Definition at line 283 of file MSPointingColumns.h.
References onSource_p.
Referenced by onSource().
const ROScalarColumn<Bool>& casa::MSPointingColumns::onSource | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 339 of file MSPointingColumns.h.
References onSource().
MSPointingColumns& casa::MSPointingColumns::operator= | ( | const MSPointingColumns & | ) | [private] |
ScalarColumn<Bool>& casa::MSPointingColumns::overTheTop | ( | ) | [inline] |
Definition at line 284 of file MSPointingColumns.h.
References overTheTop_p.
Referenced by overTheTop().
const ROScalarColumn<Bool>& casa::MSPointingColumns::overTheTop | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 341 of file MSPointingColumns.h.
References overTheTop().
ScalarColumn<Int>& casa::MSPointingColumns::pointingModelId | ( | ) | [inline] |
Definition at line 282 of file MSPointingColumns.h.
References pointingModelId_p.
Referenced by pointingModelId().
const ROScalarColumn<Int>& casa::MSPointingColumns::pointingModelId | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 337 of file MSPointingColumns.h.
References pointingModelId().
ArrayColumn<Double>& casa::MSPointingColumns::pointingOffset | ( | ) | [inline] |
Read-write access to optional columns.
Note that the direction measures with a stored polynomial have Col() added to their name. They are better accessed via the functions that have the same name, without the Col suffix, that will do the interpolation for you. These functions are in the ROMSPointingColumns class.
Definition at line 274 of file MSPointingColumns.h.
References pointingOffset_p.
Referenced by pointingOffset().
const ROArrayColumn<Double>& casa::MSPointingColumns::pointingOffset | ( | ) | const [inline] |
Access to optional columns.
Reimplemented from casa::ROMSPointingColumns.
Definition at line 325 of file MSPointingColumns.h.
References pointingOffset().
Definition at line 275 of file MSPointingColumns.h.
References pointingOffsetMeas_p.
Referenced by pointingOffsetMeasCol().
const ROArrayMeasColumn<MDirection>& casa::MSPointingColumns::pointingOffsetMeasCol | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 327 of file MSPointingColumns.h.
References pointingOffsetMeasCol().
set the direction reference type for the DIRECTION, TARGET & and, if defined, the SOURCE_OFFSET & POINTING_OFFSET columns.
This can only be done when the table has no rows. Trying to do so at other times will throw an exception. Note that the optional ENCODER column must be done separately as the MSv2 definition requires this column to use the frame(s) of the antenna mounts.
set the direction reference type for the ENCODER column (if it is defined).
This can only be done when the table has no rows. Trying to do so at other times will throw an exception.
void casa::MSPointingColumns::setEpochRef | ( | MEpoch::Types | ref, |
Bool | tableMustBeEmpty = True |
||
) |
set the epoch reference type for the TIME & TIME_ORIGIN column.
Tip: In principle this function can only be used if the table is empty, otherwise already written values may thereafter have an incorrect reference, offset, or unit; However, it is possible that part of the table gets written before these values are known; In that case the reference, offset, or units can be set by using a False tableMustBeEmpty
argument;
ArrayColumn<Double>& casa::MSPointingColumns::sourceOffset | ( | ) | [inline] |
Definition at line 277 of file MSPointingColumns.h.
References sourceOffset_p.
Referenced by sourceOffset().
const ROArrayColumn<Double>& casa::MSPointingColumns::sourceOffset | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 329 of file MSPointingColumns.h.
References sourceOffset().
Definition at line 278 of file MSPointingColumns.h.
References sourceOffsetMeas_p.
Referenced by sourceOffsetMeasCol().
const ROArrayMeasColumn<MDirection>& casa::MSPointingColumns::sourceOffsetMeasCol | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 331 of file MSPointingColumns.h.
References sourceOffsetMeasCol().
ArrayColumn<Double>& casa::MSPointingColumns::target | ( | ) | [inline] |
const ROArrayColumn<Double>& casa::MSPointingColumns::target | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 315 of file MSPointingColumns.h.
References target().
ArrayMeasColumn<MDirection>& casa::MSPointingColumns::targetMeasCol | ( | ) | [inline] |
Definition at line 263 of file MSPointingColumns.h.
References targetMeas_p.
Referenced by targetMeasCol().
const ROArrayMeasColumn<MDirection>& casa::MSPointingColumns::targetMeasCol | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 317 of file MSPointingColumns.h.
References targetMeasCol().
ScalarColumn<Double>& casa::MSPointingColumns::time | ( | ) | [inline] |
const ROScalarColumn<Double>& casa::MSPointingColumns::time | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 291 of file MSPointingColumns.h.
References time().
ScalarMeasColumn<MEpoch>& casa::MSPointingColumns::timeMeas | ( | ) | [inline] |
Definition at line 251 of file MSPointingColumns.h.
References timeMeas_p.
Referenced by timeMeas().
const ROScalarMeasColumn<MEpoch>& casa::MSPointingColumns::timeMeas | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 295 of file MSPointingColumns.h.
References timeMeas().
ScalarColumn<Double>& casa::MSPointingColumns::timeOrigin | ( | ) | [inline] |
Definition at line 257 of file MSPointingColumns.h.
References timeOrigin_p.
Referenced by timeOrigin().
const ROScalarColumn<Double>& casa::MSPointingColumns::timeOrigin | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 305 of file MSPointingColumns.h.
References timeOrigin().
ScalarMeasColumn<MEpoch>& casa::MSPointingColumns::timeOriginMeas | ( | ) | [inline] |
Definition at line 259 of file MSPointingColumns.h.
References timeOriginMeas_p.
Referenced by timeOriginMeas().
const ROScalarMeasColumn<MEpoch>& casa::MSPointingColumns::timeOriginMeas | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 309 of file MSPointingColumns.h.
References timeOriginMeas().
ScalarQuantColumn<Double>& casa::MSPointingColumns::timeOriginQuant | ( | ) | [inline] |
Definition at line 258 of file MSPointingColumns.h.
References timeOriginQuant_p.
Referenced by timeOriginQuant().
const ROScalarQuantColumn<Double>& casa::MSPointingColumns::timeOriginQuant | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 307 of file MSPointingColumns.h.
References timeOriginQuant().
ScalarQuantColumn<Double>& casa::MSPointingColumns::timeQuant | ( | ) | [inline] |
Definition at line 252 of file MSPointingColumns.h.
References timeQuant_p.
Referenced by timeQuant().
const ROScalarQuantColumn<Double>& casa::MSPointingColumns::timeQuant | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 293 of file MSPointingColumns.h.
References timeQuant().
ScalarColumn<Bool>& casa::MSPointingColumns::tracking | ( | ) | [inline] |
Definition at line 264 of file MSPointingColumns.h.
References tracking_p.
Referenced by tracking().
const ROScalarColumn<Bool>& casa::MSPointingColumns::tracking | ( | ) | const [inline] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 319 of file MSPointingColumns.h.
References tracking().
ScalarColumn<Int> casa::MSPointingColumns::antennaId_p [private] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 387 of file MSPointingColumns.h.
Referenced by antennaId().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 388 of file MSPointingColumns.h.
Referenced by direction().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 405 of file MSPointingColumns.h.
Referenced by directionMeasCol().
ArrayColumn<Double> casa::MSPointingColumns::encoder_p [private] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 397 of file MSPointingColumns.h.
Referenced by encoder().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 410 of file MSPointingColumns.h.
Referenced by encoderMeas().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 389 of file MSPointingColumns.h.
Referenced by interval().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 415 of file MSPointingColumns.h.
Referenced by intervalQuant().
ScalarColumn<String> casa::MSPointingColumns::name_p [private] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 390 of file MSPointingColumns.h.
Referenced by name().
ScalarColumn<Int> casa::MSPointingColumns::numPoly_p [private] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 391 of file MSPointingColumns.h.
Referenced by numPoly().
ScalarColumn<Bool> casa::MSPointingColumns::onSource_p [private] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 398 of file MSPointingColumns.h.
Referenced by onSource().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 402 of file MSPointingColumns.h.
Referenced by overTheTop().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 399 of file MSPointingColumns.h.
Referenced by pointingModelId().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 400 of file MSPointingColumns.h.
Referenced by pointingOffset().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 411 of file MSPointingColumns.h.
Referenced by pointingOffsetMeasCol().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 401 of file MSPointingColumns.h.
Referenced by sourceOffset().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 412 of file MSPointingColumns.h.
Referenced by sourceOffsetMeasCol().
ArrayColumn<Double> casa::MSPointingColumns::target_p [private] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 392 of file MSPointingColumns.h.
Referenced by target().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 406 of file MSPointingColumns.h.
Referenced by targetMeasCol().
ScalarColumn<Double> casa::MSPointingColumns::time_p [private] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 393 of file MSPointingColumns.h.
Referenced by time().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 407 of file MSPointingColumns.h.
Referenced by timeMeas().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 394 of file MSPointingColumns.h.
Referenced by timeOrigin().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 408 of file MSPointingColumns.h.
Referenced by timeOriginMeas().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 417 of file MSPointingColumns.h.
Referenced by timeOriginQuant().
Reimplemented from casa::ROMSPointingColumns.
Definition at line 416 of file MSPointingColumns.h.
Referenced by timeQuant().
ScalarColumn<Bool> casa::MSPointingColumns::tracking_p [private] |
Reimplemented from casa::ROMSPointingColumns.
Definition at line 395 of file MSPointingColumns.h.
Referenced by tracking().