28 #ifndef MS_MSSOURCECOLUMNS_H
29 #define MS_MSSOURCECOLUMNS_H
143 const ROArrayMeasColumn<MRadialVelocity>&
sysvelMeas()
const {
293 const ROScalarColumn<String>&
code()
const {
305 const ROScalarColumn<String>&
name()
const {
317 const ROScalarColumn<Double>&
time()
const {
321 const ROScalarMeasColumn<MEpoch>&
timeMeas()
const {
343 const ROArrayColumn<Double>&
sysvel()
const {
347 const ROArrayMeasColumn<MRadialVelocity>&
sysvelMeas()
const {
void attach(MSSource &msSource)
ROArrayColumn< Double > position_p
ScalarColumn< Int > & calibrationGroup()
Read-write access to required columns.
const ROArrayMeasColumn< MFrequency > & restFrequencyMeas() const
ROArrayColumn< Double > restFrequency_p
const ROScalarMeasColumn< MPosition > & positionMeas() const
const ROArrayMeasColumn< MRadialVelocity > & sysvelMeas() const
const ROScalarColumn< Int > & pulsarId() const
ArrayMeasColumn< MRadialVelocity > & sysvelMeas()
const ROArrayColumn< String > & transition() const
ROScalarColumn< String > code_p
ArrayColumn< Double > & restFrequency()
const ROScalarMeasColumn< MEpoch > & timeMeas() const
ArrayQuantColumn< Double > & positionQuant()
void setFrequencyRef(MFrequency::Types ref)
set the frequency type for the REST_FREQUENCY column.
~ROMSSourceColumns()
The destructor does nothing special.
ArrayColumn< Double > properMotion_p
const ROScalarColumn< Double > & interval() const
ROScalarMeasColumn< MPosition > positionMeas_p
ROScalarColumn< Int > numLines_p
ROScalarMeasColumn< MEpoch > timeMeas_p
ROScalarColumn< TableRecord > sourceModel_p
ROArrayColumn< Double > sysvel_p
ROArrayQuantColumn< Double > directionQuant_p
ScalarQuantColumn< Double > & timeQuant()
ArrayQuantColumn< Double > & restFrequencyQuant()
ArrayColumn< Double > & properMotion()
ScalarColumn< Double > time_p
const ROScalarColumn< String > & code() const
uInt nrow() const
Convenience function that returns the number of rows in any of the columns.
ScalarColumn< Double > & interval()
ArrayMeasColumn< MFrequency > restFrequencyMeas_p
ScalarColumn< Int > & sourceId()
ScalarColumn< Double > interval_p
const ROScalarColumn< String > & name() const
const ROArrayMeasColumn< MRadialVelocity > & sysvelMeas() const
const ROArrayColumn< Double > & direction() const
A class to provide easy read-only access to MSSource columns.
ArrayQuantColumn< Double > sysvelQuant_p
ScalarColumn< String > & code()
const ROScalarColumn< Int > & calibrationGroup() const
Access to required columns.
const ROScalarColumn< Double > & time() const
const ROArrayColumn< Double > & sysvel() const
ROArrayQuantColumn< Double > sysvelQuant_p
ROScalarQuantColumn< Double > timeQuant_p
void setPositionRef(MPosition::Types ref)
set the position type for the POSITION column.
ArrayQuantColumn< Double > & sysvelQuant()
const ROScalarColumn< Int > & numLines() const
ScalarQuantColumn< Double > intervalQuant_p
ArrayQuantColumn< Double > restFrequencyQuant_p
~MSSourceColumns()
The destructor does nothing special.
MSSourceColumns & operator=(const MSSourceColumns &)
ArrayColumn< Double > position_p
const ROArrayQuantColumn< Double > & positionQuant() const
ScalarColumn< Double > & time()
ROArrayColumn< Double > direction_p
ROArrayColumn< Double > properMotion_p
const ROScalarColumn< Int > & numLines() const
Types
Types of known MDirections Warning: The order defines the order in the translation matrix FromTo in ...
const ROArrayColumn< Double > & position() const
Access to optional columns.
ROScalarMeasColumn< MDirection > directionMeas_p
A class to provide easy read-write access to MSSource columns.
ArrayMeasColumn< MFrequency > & restFrequencyMeas()
ArrayMeasColumn< MRadialVelocity > sysvelMeas_p
ScalarColumn< Int > calibrationGroup_p
ArrayQuantColumn< Double > properMotionQuant_p
A Table intended to hold a MeasurementSet SOURCE table.
ScalarColumn< Int > numLines_p
const ROArrayColumn< Double > & position() const
Read-only access to optional columns.
ScalarColumn< String > code_p
const ROScalarQuantColumn< Double > & timeQuant() const
const ROArrayQuantColumn< Double > & properMotionQuant() const
ScalarQuantColumn< Double > & intervalQuant()
void setEpochRef(MEpoch::Types ref, Bool tableMustBeEmpty=True)
set the epoch type for the TIME column.
const ROArrayColumn< String > & transition() const
ArrayQuantColumn< Double > & properMotionQuant()
ScalarColumn< TableRecord > & sourceModel()
const ROScalarColumn< Double > & time() const
const ROArrayColumn< Double > & restFrequency() const
const ROArrayQuantColumn< Double > & properMotionQuant() const
const ROScalarColumn< Int > & sourceId() const
const ROScalarMeasColumn< MDirection > & directionMeas() const
void attach(const MSSource &msSource)
ScalarQuantColumn< Double > timeQuant_p
ROScalarColumn< String > name_p
const ROScalarMeasColumn< MPosition > & positionMeas() const
ROScalarColumn< Int > pulsarId_p
ROArrayMeasColumn< MRadialVelocity > sysvelMeas_p
ArrayQuantColumn< Double > positionQuant_p
ROScalarColumn< Double > interval_p
void attachOptionalCols(const MSSource &msSource)
void setRadialVelocityRef(MRadialVelocity::Types ref)
set the radial velocity type for the SYSVEL column.
Types
Types of known MRadialVelocity Warning: The order defines the order in the translation matrix FromTo...
bool Bool
Define the standard types used by Casacore.
ArrayColumn< Double > & sysvel()
const ROArrayQuantColumn< Double > & sysvelQuant() const
ROArrayQuantColumn< Double > restFrequencyQuant_p
ROArrayQuantColumn< Double > properMotionQuant_p
const ROScalarMeasColumn< MDirection > & directionMeas() const
ArrayColumn< String > & transition()
ArrayQuantColumn< Double > directionQuant_p
ScalarColumn< Int > pulsarId_p
ScalarMeasColumn< MEpoch > timeMeas_p
const ROArrayColumn< Double > & direction() const
ArrayColumn< Double > & position()
Read-write access to optional columns.
ArrayColumn< String > transition_p
ROScalarColumn< Int > sourceId_p
ScalarColumn< Int > & spectralWindowId()
Types
Types of known MPositions Warning: The order defines the order in the translation matrix FromTo in t...
ScalarColumn< Int > & numLines()
ROArrayColumn< String > transition_p
ScalarMeasColumn< MPosition > & positionMeas()
ScalarMeasColumn< MDirection > directionMeas_p
ArrayColumn< Double > sysvel_p
ArrayColumn< Double > & direction()
const ROArrayColumn< Double > & restFrequency() const
const ROScalarQuantColumn< Double > & intervalQuant() const
ROScalarColumn< Double > time_p
const ROScalarColumn< Double > & interval() const
const ROArrayQuantColumn< Double > & positionQuant() const
const ROArrayQuantColumn< Double > & directionQuant() const
ROArrayQuantColumn< Double > positionQuant_p
const ROArrayMeasColumn< MFrequency > & restFrequencyMeas() const
ScalarColumn< String > name_p
const ROScalarColumn< Int > & spectralWindowId() const
const ROScalarColumn< TableRecord > & sourceModel() const
ROScalarQuantColumn< Double > intervalQuant_p
void setDirectionRef(MDirection::Types ref)
set the direction type for the DIRECTION column.
const ROArrayColumn< Double > & sysvel() const
void attachOptionalCols(MSSource &msSource)
ArrayColumn< Double > restFrequency_p
const ROScalarMeasColumn< MEpoch > & timeMeas() const
ScalarColumn< TableRecord > sourceModel_p
const ROScalarColumn< Int > & sourceId() const
ROMSSourceColumns & operator=(const ROMSSourceColumns &)
ScalarColumn< Int > sourceId_p
const ROScalarColumn< Int > & calibrationGroup() const
Read-only access to required columns.
const ROScalarColumn< String > & name() const
ScalarMeasColumn< MPosition > positionMeas_p
const ROArrayQuantColumn< Double > & directionQuant() const
ROScalarColumn< Int > calibrationGroup_p
ScalarColumn< Int > & pulsarId()
Types
Types of known MFrequencies Warning: The order defines the order in the translation matrix FromTo in...
const ROArrayQuantColumn< Double > & restFrequencyQuant() const
Types
Types of known MEpochs Caution: The order defines the order in the translation matrix in the MCEpoch...
ScalarMeasColumn< MEpoch > & timeMeas()
ROArrayMeasColumn< MFrequency > restFrequencyMeas_p
ScalarColumn< Int > spectralWindowId_p
const ROScalarColumn< Int > & spectralWindowId() const
const ROArrayColumn< Double > & properMotion() const
const ROArrayQuantColumn< Double > & restFrequencyQuant() const
const ROScalarColumn< Int > & pulsarId() const
const ROArrayColumn< Double > & properMotion() const
ScalarMeasColumn< MDirection > & directionMeas()
ArrayQuantColumn< Double > & directionQuant()
Bool isNull() const
Is this object defined? (MSSource table is optional)
ScalarColumn< String > & name()
const ROArrayQuantColumn< Double > & sysvelQuant() const
const ROScalarQuantColumn< Double > & intervalQuant() const
const ROScalarColumn< String > & code() const
ROScalarColumn< Int > spectralWindowId_p
const ROScalarColumn< TableRecord > & sourceModel() const
const ROScalarQuantColumn< Double > & timeQuant() const
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.
ArrayColumn< Double > direction_p