28 #ifndef MS_MSSOURCECOLUMNS_H
29 #define MS_MSSOURCECOLUMNS_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/MFrequency.h>
35 #include <casacore/measures/Measures/MPosition.h>
36 #include <casacore/measures/Measures/MRadialVelocity.h>
37 #include <casacore/measures/Measures/MCDirection.h>
38 #include <casacore/measures/Measures/MCEpoch.h>
39 #include <casacore/measures/Measures/MCFrequency.h>
40 #include <casacore/measures/Measures/MCPosition.h>
41 #include <casacore/measures/Measures/MCRadialVelocity.h>
42 #include <casacore/measures/TableMeasures/ArrayMeasColumn.h>
43 #include <casacore/measures/TableMeasures/ArrayQuantColumn.h>
44 #include <casacore/measures/TableMeasures/ScalarMeasColumn.h>
45 #include <casacore/measures/TableMeasures/ScalarQuantColumn.h>
46 #include <casacore/tables/Tables/ArrayColumn.h>
47 #include <casacore/tables/Tables/ScalarColumn.h>
48 #include <casacore/tables/Tables/TableRecord.h>
49 #include <casacore/casa/BasicSL/String.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...
Types
Types of known MFrequencies Warning: The order defines the order in the translation matrix FromTo in...
Types
Types of known MPositions Warning: The order defines the order in the translation matrix FromTo in t...
Types
Types of known MRadialVelocity Warning: The order defines the order in the translation matrix FromTo...
const ScalarMeasColumn< MDirection > & directionMeas() const
ScalarColumn< Int > & spectralWindowId()
const ArrayQuantColumn< Double > & positionQuant() const
ScalarMeasColumn< MDirection > & directionMeas()
ScalarColumn< Double > time_p
ScalarColumn< Int > & numLines()
ArrayQuantColumn< Double > positionQuant_p
ArrayQuantColumn< Double > & restFrequencyQuant()
ArrayQuantColumn< Double > & sysvelQuant()
ArrayMeasColumn< MRadialVelocity > sysvelMeas_p
const ArrayColumn< Double > & restFrequency() const
ScalarMeasColumn< MDirection > directionMeas_p
ArrayColumn< Double > direction_p
ArrayColumn< Double > sysvel_p
const ArrayColumn< Double > & position() const
Const access to optional columns.
ScalarQuantColumn< Double > timeQuant_p
ScalarQuantColumn< Double > & timeQuant()
ArrayColumn< Double > & restFrequency()
const ScalarMeasColumn< MPosition > & positionMeas() const
ScalarColumn< Int > calibrationGroup_p
ArrayColumn< Double > & sysvel()
void setEpochRef(MEpoch::Types ref, Bool tableMustBeEmpty=True)
set the epoch type for the TIME column.
const ScalarColumn< Int > & spectralWindowId() const
const ScalarColumn< Double > & interval() const
ScalarColumn< Int > spectralWindowId_p
const ArrayMeasColumn< MRadialVelocity > & sysvelMeas() const
void setPositionRef(MPosition::Types ref)
set the position type for the POSITION column.
ArrayMeasColumn< MFrequency > & restFrequencyMeas()
ArrayColumn< Double > & direction()
const ArrayColumn< Double > & properMotion() const
void setRadialVelocityRef(MRadialVelocity::Types ref)
set the radial velocity type for the SYSVEL column.
ArrayColumn< Double > & properMotion()
ArrayQuantColumn< Double > & properMotionQuant()
const ArrayColumn< String > & transition() const
const ArrayQuantColumn< Double > & sysvelQuant() const
const ScalarMeasColumn< MEpoch > & timeMeas() const
const ScalarColumn< TableRecord > & sourceModel() const
ArrayColumn< Double > restFrequency_p
ScalarColumn< Int > numLines_p
ScalarColumn< TableRecord > & sourceModel()
const ScalarQuantColumn< Double > & intervalQuant() const
ArrayQuantColumn< Double > restFrequencyQuant_p
ScalarQuantColumn< Double > & intervalQuant()
const ArrayColumn< Double > & sysvel() const
const ArrayColumn< Double > & direction() const
ScalarColumn< String > & code()
ScalarMeasColumn< MPosition > & positionMeas()
ArrayQuantColumn< Double > & directionQuant()
ScalarColumn< Int > & calibrationGroup()
Access to required columns.
ArrayColumn< Double > position_p
const ScalarColumn< String > & code() const
Bool isNull() const
Is this object defined? (MSSource table is optional)
const ArrayQuantColumn< Double > & properMotionQuant() const
ArrayMeasColumn< MFrequency > restFrequencyMeas_p
ScalarMeasColumn< MPosition > positionMeas_p
rownr_t nrow() const
Convenience function that returns the number of rows in any of the columns.
const ScalarQuantColumn< Double > & timeQuant() const
ScalarColumn< Int > & pulsarId()
ArrayQuantColumn< Double > directionQuant_p
ArrayQuantColumn< Double > properMotionQuant_p
ScalarColumn< String > name_p
ArrayColumn< String > transition_p
ScalarColumn< Double > interval_p
ScalarMeasColumn< MEpoch > timeMeas_p
void setFrequencyRef(MFrequency::Types ref)
set the frequency type for the REST_FREQUENCY column.
ScalarQuantColumn< Double > intervalQuant_p
ScalarColumn< Int > sourceId_p
ArrayQuantColumn< Double > & positionQuant()
const ArrayQuantColumn< Double > & restFrequencyQuant() const
ScalarColumn< Double > & interval()
ScalarColumn< Int > pulsarId_p
const ScalarColumn< Double > & time() const
ScalarColumn< Double > & time()
void setDirectionRef(MDirection::Types ref)
set the direction type for the DIRECTION column.
const ScalarColumn< Int > & numLines() const
ArrayColumn< Double > properMotion_p
ArrayMeasColumn< MRadialVelocity > & sysvelMeas()
MSSourceColumns(const MSSource &msSource)
Construct from the supplied Table.
const ArrayMeasColumn< MFrequency > & restFrequencyMeas() const
const ScalarColumn< Int > & sourceId() const
const ScalarColumn< Int > & pulsarId() const
ScalarColumn< String > code_p
const ArrayQuantColumn< Double > & directionQuant() const
void attach(const MSSource &msSource)
void attachOptionalCols(const MSSource &msSource)
ScalarColumn< TableRecord > sourceModel_p
const ScalarColumn< String > & name() const
const ScalarColumn< Int > & calibrationGroup() const
Const access to required columns.
MSSourceColumns(const MSSourceColumns &)
ArrayColumn< Double > & position()
Access to optional columns.
ArrayQuantColumn< Double > sysvelQuant_p
ScalarColumn< Int > & sourceId()
ScalarColumn< String > & name()
MSSourceColumns & operator=(const MSSourceColumns &)
ScalarMeasColumn< MEpoch > & timeMeas()
~MSSourceColumns()
The destructor does nothing special.
ArrayColumn< String > & transition()
rownr_t nrow() const
Get the number of rows in the column.
this file contains all the compiler specific defines
MSSourceColumns ROMSSourceColumns
bool Bool
Define the standard types used by Casacore.
uInt64 rownr_t
Define the type of a row number in a table.