28 #ifndef MS_MSPOINTINGCOLUMNS_H
29 #define MS_MSPOINTINGCOLUMNS_H
31 #include <casacore/casa/aips.h>
32 #include <casacore/measures/Measures/MDirection.h>
33 #include <casacore/measures/Measures/MEpoch.h>
34 #include <casacore/measures/Measures/MCDirection.h>
35 #include <casacore/measures/Measures/MCEpoch.h>
36 #include <casacore/measures/TableMeasures/ArrayMeasColumn.h>
37 #include <casacore/measures/TableMeasures/ScalarMeasColumn.h>
38 #include <casacore/measures/TableMeasures/ScalarQuantColumn.h>
39 #include <casacore/tables/Tables/ArrayColumn.h>
40 #include <casacore/tables/Tables/ScalarColumn.h>
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
Types
Types of known MEpochs Caution: The order defines the order in the translation matrix in the MCEpoch...
~MSPointingColumns()
The destructor does nothing special.
ScalarColumn< Double > interval_p
MSPointingColumns & operator=(const MSPointingColumns &)
const ScalarColumn< Bool > & tracking() const
ArrayMeasColumn< MDirection > & sourceOffsetMeasCol()
ScalarColumn< Int > numPoly_p
ScalarColumn< Bool > & overTheTop()
ScalarQuantColumn< Double > timeQuant_p
ScalarMeasColumn< MEpoch > & timeOriginMeas()
ArrayColumn< Double > & pointingOffset()
Access to optional columns.
const ScalarQuantColumn< Double > & intervalQuant() const
MDirection targetMeas(rownr_t row, Double time=0) const
ScalarColumn< Bool > & onSource()
const ArrayMeasColumn< MDirection > & targetMeasCol() const
ScalarQuantColumn< Double > & intervalQuant()
ArrayMeasColumn< MDirection > & pointingOffsetMeasCol()
const ScalarColumn< String > & name() const
const ArrayMeasColumn< MDirection > & directionMeasCol() const
ScalarColumn< Bool > & tracking()
MDirection sourceOffsetMeas(rownr_t row, Double time=0) const
ArrayColumn< Double > encoder_p
const ScalarQuantColumn< Double > & timeQuant() const
const ScalarColumn< Int > & antennaId() const
Const access to required columns.
ScalarColumn< Bool > onSource_p
ScalarMeasColumn< MEpoch > & timeMeas()
ArrayColumn< Double > & sourceOffset()
ScalarMeasColumn< MDirection > encoderMeas_p
const ScalarColumn< Bool > & overTheTop() const
const ScalarColumn< Double > & timeOrigin() const
const ScalarColumn< Bool > & onSource() const
ArrayMeasColumn< MDirection > targetMeas_p
ScalarColumn< Int > pointingModelId_p
const ArrayMeasColumn< MDirection > & pointingOffsetMeasCol() const
ScalarColumn< Int > & pointingModelId()
ScalarMeasColumn< MDirection > & encoderMeas()
ScalarColumn< Double > timeOrigin_p
ArrayMeasColumn< MDirection > pointingOffsetMeas_p
ScalarColumn< Double > & interval()
void setDirectionRef(MDirection::Types ref)
set the direction reference type for the DIRECTION, TARGET & and, if defined, the SOURCE_OFFSET & POI...
const ArrayMeasColumn< MDirection > & sourceOffsetMeasCol() const
const ScalarColumn< Double > & interval() const
const ArrayColumn< Double > & sourceOffset() const
const ArrayColumn< Double > & direction() const
ScalarColumn< Double > & timeOrigin()
const ScalarColumn< Int > & numPoly() const
ScalarColumn< String > & name()
const ScalarMeasColumn< MEpoch > & timeOriginMeas() const
ArrayColumn< Double > target_p
const ArrayColumn< Double > & encoder() const
ScalarQuantColumn< Double > & timeQuant()
Int64 pointingIndex(Int antenna, Double time, Int64 guessRow=0) const
return the first matching row index for this time and antenna, returns -1 if no match was found For l...
MSPointingColumns(const MSPointingColumns &)
ArrayColumn< Double > & direction()
void attachOptionalCols(const MSPointing &msPointing)
ScalarColumn< Double > & time()
const ScalarMeasColumn< MDirection > & encoderMeas() const
ScalarQuantColumn< Double > & timeOriginQuant()
const ScalarQuantColumn< Double > & timeOriginQuant() const
ScalarQuantColumn< Double > timeOriginQuant_p
ArrayColumn< Double > sourceOffset_p
const ScalarColumn< Double > & time() const
ScalarColumn< Bool > overTheTop_p
ScalarColumn< Double > time_p
ArrayMeasColumn< MDirection > directionMeas_p
ScalarColumn< Int > antennaId_p
ScalarColumn< String > name_p
const ScalarMeasColumn< MEpoch > & timeMeas() const
void setEncoderDirectionRef(MDirection::Types ref)
set the direction reference type for the ENCODER column (if it is defined).
ScalarColumn< Int > & numPoly()
ScalarMeasColumn< MEpoch > timeOriginMeas_p
MDirection pointingOffsetMeas(rownr_t row, Double time=0) const
rownr_t nrow() const
Convenience function that returns the number of rows in any of the columns.
const ScalarColumn< Int > & pointingModelId() const
ArrayColumn< Double > & encoder()
ScalarColumn< Bool > tracking_p
void attach(const MSPointing &msPointing)
ArrayMeasColumn< MDirection > & directionMeasCol()
ScalarColumn< Int > & antennaId()
Access to required columns.
ArrayColumn< Double > & target()
MSPointingColumns(const MSPointing &msPointing)
Construct from the supplied Table.
ArrayMeasColumn< MDirection > sourceOffsetMeas_p
ArrayColumn< Double > pointingOffset_p
const ArrayColumn< Double > & pointingOffset() const
Access to optional columns.
ArrayColumn< Double > direction_p
ArrayMeasColumn< MDirection > & targetMeasCol()
ScalarQuantColumn< Double > intervalQuant_p
const ArrayColumn< Double > & target() const
ScalarMeasColumn< MEpoch > timeMeas_p
void setEpochRef(MEpoch::Types ref, Bool tableMustBeEmpty=True)
set the epoch reference type for the TIME & TIME_ORIGIN column.
MDirection directionMeas(rownr_t row, Double time=0) const
Access to interpolated directions, the default time of zero will return the 0th order element of the ...
rownr_t nrow() const
Get the number of rows in the column.
this file contains all the compiler specific defines
MSPointingColumns ROMSPointingColumns
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
bool Bool
Define the standard types used by Casacore.
uInt64 rownr_t
Define the type of a row number in a table.