28 #ifndef MS_MSPOINTINGCOLUMNS_H
29 #define MS_MSPOINTINGCOLUMNS_H
91 const ROScalarColumn<Double>&
time()
const {
return time_p;}
97 const ROScalarColumn<String>&
name()
const {
return name_p;}
291 const ROScalarColumn<Double>&
time()
const {
295 const ROScalarMeasColumn<MEpoch>&
timeMeas()
const {
301 const ROScalarColumn<String>&
name()
const {
315 const ROArrayColumn<Double>&
target()
const {
333 const ROArrayColumn<Double>&
encoder()
const {
const ROScalarColumn< Double > & interval() const
ScalarQuantColumn< Double > & intervalQuant()
A Measure: astronomical direction.
ArrayMeasColumn< MDirection > pointingOffsetMeas_p
const ROArrayColumn< Double > & target() const
ROScalarColumn< Bool > onSource_p
ScalarColumn< Int > numPoly_p
const ROScalarColumn< Double > & timeOrigin() const
ScalarColumn< Int > & numPoly()
ArrayMeasColumn< MDirection > & pointingOffsetMeasCol()
ScalarColumn< Bool > tracking_p
ArrayColumn< Double > & direction()
ArrayMeasColumn< MDirection > & targetMeasCol()
ROScalarColumn< Double > time_p
ArrayMeasColumn< MDirection > & sourceOffsetMeasCol()
ROArrayMeasColumn< MDirection > directionMeas_p
ScalarColumn< Double > & time()
ScalarColumn< String > & name()
ScalarMeasColumn< MEpoch > timeOriginMeas_p
void attach(MSPointing &msPointing)
void attachOptionalCols(const MSPointing &msPointing)
ROArrayColumn< Double > target_p
ROScalarColumn< Double > interval_p
ScalarColumn< Double > timeOrigin_p
A Table intended to hold a MeasurementSet POINTING table.
ArrayColumn< Double > & sourceOffset()
const ROArrayMeasColumn< MDirection > & sourceOffsetMeasCol() const
const ROArrayMeasColumn< MDirection > & targetMeasCol() const
ROScalarColumn< Int > pointingModelId_p
const ROScalarMeasColumn< MEpoch > & timeMeas() const
ArrayColumn< Double > & target()
const ROScalarMeasColumn< MEpoch > & timeOriginMeas() const
const ROArrayMeasColumn< MDirection > & pointingOffsetMeasCol() const
void attachOptionalCols(MSPointing &msPointing)
ROScalarColumn< Int > numPoly_p
ScalarColumn< Double > interval_p
const ROArrayColumn< Double > & direction() const
ROArrayColumn< Double > pointingOffset_p
const ROScalarQuantColumn< Double > & timeQuant() const
ScalarMeasColumn< MEpoch > timeMeas_p
const ROScalarColumn< Bool > & overTheTop() const
A class to provide easy read-write access to MSPointing columns.
const ROArrayMeasColumn< MDirection > & directionMeasCol() const
const ROScalarQuantColumn< Double > & intervalQuant() const
ScalarColumn< Double > & timeOrigin()
ArrayMeasColumn< MDirection > & directionMeasCol()
ArrayMeasColumn< MDirection > sourceOffsetMeas_p
ROArrayMeasColumn< MDirection > sourceOffsetMeas_p
MDirection sourceOffsetMeas(Int row, Double time=0) const
ROMSPointingColumns & operator=(const ROMSPointingColumns &)
const ROScalarMeasColumn< MDirection > & encoderMeas() const
const ROScalarMeasColumn< MEpoch > & timeOriginMeas() const
const ROScalarColumn< Int > & antennaId() const
Access to required columns.
const ROScalarColumn< Int > & numPoly() const
ScalarColumn< Int > & pointingModelId()
const ROArrayColumn< Double > & pointingOffset() const
Access to optional columns.
const ROScalarColumn< Bool > & onSource() const
ROArrayColumn< Double > direction_p
ArrayColumn< Double > target_p
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
const ROArrayColumn< Double > & encoder() const
ROScalarQuantColumn< Double > timeQuant_p
ROArrayMeasColumn< MDirection > targetMeas_p
ScalarColumn< Bool > onSource_p
const ROScalarColumn< Bool > & tracking() const
const ROScalarQuantColumn< Double > & timeQuant() const
ScalarQuantColumn< Double > intervalQuant_p
ROScalarMeasColumn< MEpoch > timeOriginMeas_p
const ROScalarColumn< String > & name() const
const ROArrayMeasColumn< MDirection > & sourceOffsetMeasCol() const
ScalarColumn< Int > & antennaId()
Read-write access to required columns.
ScalarColumn< Int > antennaId_p
ScalarColumn< Bool > & onSource()
const ROScalarColumn< Double > & timeOrigin() const
ArrayColumn< Double > sourceOffset_p
A class to provide easy read-only access to MSPointing columns.
ScalarQuantColumn< Double > & timeOriginQuant()
~MSPointingColumns()
The destructor does nothing special.
MDirection pointingOffsetMeas(Int row, Double time=0) const
ScalarColumn< Bool > & tracking()
ArrayMeasColumn< MDirection > targetMeas_p
ScalarColumn< Double > & interval()
ArrayColumn< Double > & pointingOffset()
Read-write access to optional columns.
void setDirectionRef(MDirection::Types ref)
set the direction reference type for the DIRECTION, TARGET & and, if defined, the SOURCE_OFFSET & POI...
ScalarQuantColumn< Double > timeQuant_p
ROScalarColumn< String > name_p
ROScalarQuantColumn< Double > timeOriginQuant_p
uInt nrow() const
Convenience function that returns the number of rows in any of the columns.
ScalarMeasColumn< MEpoch > & timeMeas()
const ROArrayColumn< Double > & target() const
const ROScalarQuantColumn< Double > & timeOriginQuant() const
bool Bool
Define the standard types used by Casacore.
ROScalarColumn< Double > timeOrigin_p
ROScalarColumn< Bool > overTheTop_p
ScalarColumn< Int > pointingModelId_p
void setEncoderDirectionRef(MDirection::Types ref)
set the direction reference type for the ENCODER column (if it is defined).
ScalarMeasColumn< MEpoch > & timeOriginMeas()
ScalarQuantColumn< Double > timeOriginQuant_p
const ROScalarColumn< Double > & interval() const
const ROScalarQuantColumn< Double > & intervalQuant() const
ScalarMeasColumn< MDirection > & encoderMeas()
void setEpochRef(MEpoch::Types ref, Bool tableMustBeEmpty=True)
set the epoch reference type for the TIME & TIME_ORIGIN column.
ROScalarColumn< Int > antennaId_p
ROArrayColumn< Double > sourceOffset_p
const ROArrayColumn< Double > & pointingOffset() const
Access to optional columns.
ROArrayMeasColumn< MDirection > pointingOffsetMeas_p
ScalarColumn< Double > time_p
ROArrayColumn< Double > encoder_p
MDirection directionMeas(Int row, Double time=0) const
Access to interpolated directions, the default time of zero will return the 0th order element of the ...
ArrayColumn< Double > & encoder()
const ROScalarColumn< Bool > & overTheTop() const
ArrayMeasColumn< MDirection > directionMeas_p
const ROArrayMeasColumn< MDirection > & targetMeasCol() const
ROScalarMeasColumn< MEpoch > timeMeas_p
const ROScalarColumn< Double > & time() const
const ROArrayColumn< Double > & encoder() const
const ROArrayColumn< Double > & direction() const
const ROScalarColumn< Int > & antennaId() const
Read-only access to required columns.
ArrayColumn< Double > direction_p
ArrayColumn< Double > pointingOffset_p
ArrayColumn< Double > encoder_p
const ROScalarMeasColumn< MDirection > & encoderMeas() const
void attach(const MSPointing &msPointing)
const ROScalarColumn< String > & name() const
const ROArrayColumn< Double > & sourceOffset() const
const ROScalarQuantColumn< Double > & timeOriginQuant() const
const ROScalarColumn< Bool > & onSource() const
const ROArrayColumn< Double > & sourceOffset() const
ScalarColumn< Bool > overTheTop_p
const ROScalarColumn< Int > & pointingModelId() const
~ROMSPointingColumns()
The destructor does nothing special.
const ROScalarColumn< Int > & pointingModelId() const
ScalarColumn< Bool > & overTheTop()
ROScalarMeasColumn< MDirection > encoderMeas_p
Types
Types of known MEpochs Caution: The order defines the order in the translation matrix in the MCEpoch...
const ROArrayMeasColumn< MDirection > & pointingOffsetMeasCol() const
ROScalarColumn< Bool > tracking_p
ScalarMeasColumn< MDirection > encoderMeas_p
const ROScalarColumn< Double > & time() const
MSPointingColumns & operator=(const MSPointingColumns &)
ScalarColumn< String > name_p
MDirection targetMeas(Int row, Double time=0) const
const ROScalarColumn< Int > & numPoly() const
const ROScalarMeasColumn< MEpoch > & timeMeas() const
const ROArrayMeasColumn< MDirection > & directionMeasCol() const
const ROScalarColumn< Bool > & tracking() const
ScalarQuantColumn< Double > & timeQuant()
Int pointingIndex(Int antenna, Double time, Int guessRow=0) const
return the first matching row index for this time and antenna, returns -1 if no match was found For l...
ROScalarQuantColumn< Double > intervalQuant_p
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.