casa
5.7.0-16
|
A class to provide easy read-write access to MSPointing columns. More...
#include <MSPointingColumns.h>
Protected Member Functions | |
MSPointingColumns () | |
void | attach (MSPointing &msPointing) |
Protected Member Functions inherited from casacore::ROMSPointingColumns | |
ROMSPointingColumns () | |
void | attach (const MSPointing &msPointing) |
Private Member Functions | |
MSPointingColumns (const MSPointingColumns &) | |
MSPointingColumns & | operator= (const MSPointingColumns &) |
void | attachOptionalCols (MSPointing &msPointing) |
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.
casacore::MSPointingColumns::MSPointingColumns | ( | MSPointing & | msPointing | ) |
Construct from the supplied Table.
casacore::MSPointingColumns::~MSPointingColumns | ( | ) |
The destructor does nothing special.
|
protected |
|
private |
|
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.
|
inline |
Read-only access to required columns.
Definition at line 289 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::antennaId().
|
protected |
|
private |
|
inline |
Definition at line 260 of file MSPointingColumns.h.
References direction_p.
|
inline |
Definition at line 311 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::direction().
|
inline |
Definition at line 261 of file MSPointingColumns.h.
References directionMeas_p.
|
inline |
Definition at line 313 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::directionMeasCol().
|
inline |
Definition at line 280 of file MSPointingColumns.h.
References encoder_p.
|
inline |
Definition at line 333 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::encoder().
|
inline |
Definition at line 281 of file MSPointingColumns.h.
References encoderMeas_p.
|
inline |
Definition at line 335 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::encoderMeas().
|
inline |
Definition at line 253 of file MSPointingColumns.h.
References interval_p.
|
inline |
Definition at line 297 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::interval().
|
inline |
Definition at line 254 of file MSPointingColumns.h.
References intervalQuant_p.
|
inline |
Definition at line 299 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::intervalQuant().
|
inline |
Definition at line 255 of file MSPointingColumns.h.
References name_p.
|
inline |
Definition at line 301 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::name().
|
inline |
Definition at line 256 of file MSPointingColumns.h.
References numPoly_p.
|
inline |
Definition at line 303 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::numPoly().
|
inline |
Definition at line 283 of file MSPointingColumns.h.
References onSource_p.
|
inline |
Definition at line 339 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::onSource().
|
private |
|
inline |
Definition at line 284 of file MSPointingColumns.h.
References overTheTop_p.
|
inline |
Definition at line 341 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::overTheTop().
|
inline |
Definition at line 282 of file MSPointingColumns.h.
References pointingModelId_p.
|
inline |
Definition at line 337 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::pointingModelId().
|
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.
|
inline |
Access to optional columns.
Definition at line 325 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::pointingOffset().
|
inline |
Definition at line 275 of file MSPointingColumns.h.
References pointingOffsetMeas_p.
|
inline |
Definition at line 327 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::pointingOffsetMeasCol().
void casacore::MSPointingColumns::setDirectionRef | ( | MDirection::Types | ref | ) |
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.
void casacore::MSPointingColumns::setEncoderDirectionRef | ( | MDirection::Types | ref | ) |
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 casacore::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;
|
inline |
Definition at line 277 of file MSPointingColumns.h.
References sourceOffset_p.
|
inline |
Definition at line 329 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::sourceOffset().
|
inline |
Definition at line 278 of file MSPointingColumns.h.
References sourceOffsetMeas_p.
|
inline |
Definition at line 331 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::sourceOffsetMeasCol().
|
inline |
Definition at line 262 of file MSPointingColumns.h.
References target_p.
|
inline |
Definition at line 315 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::target().
|
inline |
Definition at line 263 of file MSPointingColumns.h.
References targetMeas_p.
|
inline |
Definition at line 317 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::targetMeasCol().
|
inline |
Definition at line 250 of file MSPointingColumns.h.
References time_p.
|
inline |
Definition at line 291 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::time().
|
inline |
Definition at line 251 of file MSPointingColumns.h.
References timeMeas_p.
|
inline |
Definition at line 295 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::timeMeas().
|
inline |
Definition at line 257 of file MSPointingColumns.h.
References timeOrigin_p.
|
inline |
Definition at line 305 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::timeOrigin().
|
inline |
Definition at line 259 of file MSPointingColumns.h.
References timeOriginMeas_p.
|
inline |
Definition at line 309 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::timeOriginMeas().
|
inline |
Definition at line 258 of file MSPointingColumns.h.
References timeOriginQuant_p.
|
inline |
Definition at line 307 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::timeOriginQuant().
|
inline |
Definition at line 252 of file MSPointingColumns.h.
References timeQuant_p.
|
inline |
Definition at line 293 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::timeQuant().
|
inline |
Definition at line 264 of file MSPointingColumns.h.
References tracking_p.
|
inline |
Definition at line 319 of file MSPointingColumns.h.
References casacore::ROMSPointingColumns::tracking().
|
private |
Definition at line 387 of file MSPointingColumns.h.
Referenced by antennaId().
|
private |
Definition at line 388 of file MSPointingColumns.h.
Referenced by direction().
|
private |
Definition at line 405 of file MSPointingColumns.h.
Referenced by directionMeasCol().
|
private |
Definition at line 397 of file MSPointingColumns.h.
Referenced by encoder().
|
private |
Definition at line 410 of file MSPointingColumns.h.
Referenced by encoderMeas().
|
private |
Definition at line 389 of file MSPointingColumns.h.
Referenced by interval().
|
private |
Definition at line 415 of file MSPointingColumns.h.
Referenced by intervalQuant().
|
private |
Definition at line 390 of file MSPointingColumns.h.
Referenced by name().
|
private |
Definition at line 391 of file MSPointingColumns.h.
Referenced by numPoly().
|
private |
Definition at line 398 of file MSPointingColumns.h.
Referenced by onSource().
|
private |
Definition at line 402 of file MSPointingColumns.h.
Referenced by overTheTop().
|
private |
Definition at line 399 of file MSPointingColumns.h.
Referenced by pointingModelId().
|
private |
Definition at line 400 of file MSPointingColumns.h.
Referenced by pointingOffset().
|
private |
Definition at line 411 of file MSPointingColumns.h.
Referenced by pointingOffsetMeasCol().
|
private |
Definition at line 401 of file MSPointingColumns.h.
Referenced by sourceOffset().
|
private |
Definition at line 412 of file MSPointingColumns.h.
Referenced by sourceOffsetMeasCol().
|
private |
Definition at line 392 of file MSPointingColumns.h.
Referenced by target().
|
private |
Definition at line 406 of file MSPointingColumns.h.
Referenced by targetMeasCol().
|
private |
Definition at line 393 of file MSPointingColumns.h.
Referenced by time().
|
private |
Definition at line 407 of file MSPointingColumns.h.
Referenced by timeMeas().
|
private |
Definition at line 394 of file MSPointingColumns.h.
Referenced by timeOrigin().
|
private |
Definition at line 408 of file MSPointingColumns.h.
Referenced by timeOriginMeas().
|
private |
Definition at line 417 of file MSPointingColumns.h.
Referenced by timeOriginQuant().
|
private |
Definition at line 416 of file MSPointingColumns.h.
Referenced by timeQuant().
|
private |
Definition at line 395 of file MSPointingColumns.h.
Referenced by tracking().