28 #ifndef MS_MSMAINCOLUMNS_H
29 #define MS_MSMAINCOLUMNS_H
46 template <
class T>
class Vector;
136 const ROScalarMeasColumn<MEpoch>&
timeMeas()
const {
143 const ROArrayColumn<Double>&
uvw()
const {
return uvw_p;}
144 const ROArrayQuantColumn<Double>&
uvwQuant()
const {
146 const ROScalarMeasColumn<Muvw>&
uvwMeas()
const {
415 const ROScalarColumn<Int>&
feed1()
const {
417 const ROScalarColumn<Int>&
feed2()
const {
421 const ROArrayColumn<Bool>&
flag()
const {
437 const ROArrayColumn<Float>&
sigma()
const {
441 const ROScalarColumn<Double>&
time()
const {
445 const ROScalarMeasColumn<MEpoch>&
timeMeas()
const {
453 const ROArrayColumn<Double>&
uvw()
const {
455 const ROArrayQuantColumn<Double>&
uvwQuant()
const {
457 const ROScalarMeasColumn<Muvw>&
uvwMeas()
const {
459 const ROArrayColumn<Float>&
weight()
const {
471 const ROArrayColumn<Complex>&
data()
const {
473 const ROScalarColumn<Int>&
feed3()
const {
479 const ROArrayColumn<Complex>&
lagData()
const {
495 const ROArrayColumn<Double>&
uvw2()
const {
ROScalarColumn< Int > observationId_p
const ROScalarColumn< Bool > & flagRow() const
ROMSMainColumns & operator=(const ROMSMainColumns &)
const ROScalarColumn< Int > & observationId() const
const ROArrayColumn< Bool > & flag() const
const ROScalarColumn< Double > & exposure() const
uInt nrow() const
Convenience function that returns the number of rows in any of the columns.
const ROArrayColumn< Complex > & modelData() const
const ROScalarColumn< Double > & timeCentroid() const
const ROArrayQuantColumn< Double > & uvwQuant() const
const ROScalarMeasColumn< MEpoch > & timeMeas() const
ROScalarColumn< Bool > flagRow_p
A 1-D Specialization of the Array class.
ScalarColumn< Double > timeCentroid_p
ArrayColumn< Complex > videoPoint_p
const ROScalarColumn< Int > & scanNumber() const
ArrayColumn< Complex > & correctedData()
ScalarColumn< Int > & antenna3()
Read-write access to optional columns.
std::vector< double > Vector
ArrayColumn< Double > uvw_p
ScalarColumn< Double > timeExtraPrec_p
ArrayColumn< Float > weight_p
ROScalarColumn< Double > interval_p
const ROScalarColumn< Double > & exposure() const
ScalarColumn< Double > & time()
const ROArrayColumn< Bool > & flagCategory() const
ROArrayColumn< Bool > flag_p
const ROArrayColumn< Double > & uvw() const
ScalarMeasColumn< MEpoch > & timeCentroidMeas()
const ROScalarColumn< Bool > & baselineRef() const
ScalarColumn< Int > pulsarBin_p
const ROArrayColumn< Float > & weightSpectrum() const
ROArrayColumn< Complex > videoPoint_p
ScalarColumn< Double > interval_p
ROScalarQuantColumn< Double > timeQuant_p
ROScalarColumn< Int > dataDescId_p
const ROScalarColumn< Int > & arrayId() const
const ROArrayQuantColumn< Double > & uvwQuant() const
const ROScalarQuantColumn< Double > & timeExtraPrecQuant() const
ScalarMeasColumn< Muvw > uvwMeas_p
ScalarMeasColumn< Muvw > uvw2Meas_p
ScalarColumn< Int > pulsarGateId_p
ScalarColumn< Int > dataDescId_p
const ROScalarColumn< Double > & timeExtraPrec() const
ROArrayColumn< Float > weightSpectrum_p
const ROScalarColumn< Int > & pulsarBin() const
ROArrayColumn< Complex > correctedData_p
void attach(const MeasurementSet &ms)
const ROScalarColumn< Int > & processorId() const
ScalarColumn< Int > & pulsarBin()
const ROScalarColumn< Int > & feed1() const
const ROScalarMeasColumn< Muvw > & uvwMeas() const
ScalarColumn< Int > & pulsarGateId()
const ROArrayColumn< Float > & imagingWeight() const
ROArrayQuantColumn< Double > uvw2Quant_p
ROScalarColumn< Int > pulsarBin_p
ArrayColumn< Float > & weight()
ScalarQuantColumn< Double > intervalQuant_p
ArrayQuantColumn< Double > uvw2Quant_p
ROArrayColumn< Float > imagingWeight_p
ArrayColumn< Complex > & data()
ScalarColumn< Int > phaseId_p
const ROScalarQuantColumn< Double > & exposureQuant() const
const ROScalarColumn< Int > & arrayId() const
ArrayQuantColumn< Double > & uvw2Quant()
ScalarColumn< Int > scanNumber_p
const ROScalarMeasColumn< Muvw > & uvw2Meas() const
const ROArrayColumn< Complex > & videoPoint() const
ScalarColumn< Double > & exposure()
ROScalarColumn< Int > phaseId_p
ArrayColumn< Float > & weightSpectrumCorrected()
MSMainColumns & operator=(const MSMainColumns &)
ScalarQuantColumn< Double > exposureQuant_p
const ROArrayColumn< Float > & weight() const
const ROScalarColumn< Int > & stateId() const
ScalarColumn< Int > & scanNumber()
const ROArrayColumn< Complex > & lagData() const
ScalarColumn< Int > antenna1_p
ScalarColumn< Int > stateId_p
ROArrayQuantColumn< Double > uvwQuant_p
Types
Types of known Muvws Warning: The order defines the order in the translation matrix FromTo in the ge...
const ROScalarColumn< Bool > & baselineRef() const
void setFlagCategories(const Vector< String > &categories)
Set the flag category labels to the supplied values (in the CATEGORY keyword of the FLAG_CATEGORY col...
ArrayColumn< Float > weightSpectrumCorrected_p
ScalarMeasColumn< MEpoch > & timeMeas()
const ROScalarColumn< Int > & feed3() const
const ROScalarMeasColumn< MEpoch > & timeCentroidMeas() const
void attachOptionalCols(MeasurementSet &ms)
const ROArrayColumn< Bool > & flag() const
const ROScalarColumn< Int > & feed1() const
const ROArrayColumn< Complex > & correctedData() const
ROScalarColumn< Double > timeCentroid_p
const ROScalarColumn< Double > & interval() const
~ROMSMainColumns()
The desctructor does nothing special.
ArrayColumn< Bool > & flagCategory()
ROScalarColumn< Int > processorId_p
ROArrayColumn< Double > uvw2_p
ScalarColumn< Double > & interval()
ROScalarColumn< Double > timeExtraPrec_p
ArrayColumn< Float > & floatData()
const ROScalarColumn< Double > & timeExtraPrec() const
ScalarColumn< Double > exposure_p
const ROScalarColumn< Int > & pulsarGateId() const
ROArrayColumn< Float > sigmaSpectrum_p
ScalarColumn< Int > & antenna2()
void setEpochRef(MEpoch::Types ref, Bool tableMustBeEmpty=True)
set the epoch type for the TIME and TIME_CENTROID columns.
const ROArrayQuantColumn< Double > & uvw2Quant() const
ROArrayColumn< Double > uvw_p
ArrayQuantColumn< Double > uvwQuant_p
ROScalarMeasColumn< Muvw > uvwMeas_p
ScalarColumn< Bool > & baselineRef()
ROScalarColumn< Int > scanNumber_p
const ROScalarColumn< Double > & time() const
ROScalarColumn< Int > pulsarGateId_p
const ROScalarColumn< Int > & phaseId() const
ArrayColumn< Float > & weightSpectrum()
const ROScalarQuantColumn< Double > & timeQuant() const
const ROArrayColumn< Complex > & modelData() const
const ROArrayColumn< Float > & sigmaSpectrum() const
const ROScalarColumn< Int > & feed3() const
ROScalarColumn< Int > feed2_p
ScalarQuantColumn< Double > & exposureQuant()
ScalarColumn< Int > arrayId_p
const ROScalarMeasColumn< MEpoch > & timeMeas() const
ScalarColumn< Int > & antenna1()
Read-write access to required columns.
const ROArrayColumn< Complex > & data() const
void setUVWRef(Muvw::Types ref)
set the UVW reference type for the UVW and UVW2 (if defined) columns.
const ROScalarColumn< Int > & scanNumber() const
const ROArrayColumn< Double > & uvw2() const
ScalarQuantColumn< Double > & intervalQuant()
ScalarColumn< Int > & dataDescId()
const ROArrayColumn< Complex > & lagData() const
ArrayColumn< Float > sigmaSpectrum_p
const ROScalarColumn< Double > & interval() const
ArrayColumn< Complex > & videoPoint()
ScalarMeasColumn< MEpoch > timeCentroidMeas_p
ROScalarColumn< Int > antenna1_p
ArrayColumn< Double > & uvw()
const ROScalarColumn< Int > & antenna2() const
const ROScalarColumn< Bool > & flagRow() const
const ROScalarColumn< Int > & feed2() const
const ROScalarQuantColumn< Double > & timeExtraPrecQuant() const
ScalarColumn< Int > & feed3()
const ROArrayColumn< Float > & weightSpectrum() const
ROArrayColumn< Complex > modelData_p
ScalarColumn< Int > & phaseId()
~MSMainColumns()
The desctructor does nothing special.
const ROScalarColumn< Int > & fieldId() const
ROScalarColumn< Int > feed3_p
ScalarQuantColumn< Double > timeExtraPrecQuant_p
ScalarColumn< Int > & stateId()
const ROScalarQuantColumn< Double > & intervalQuant() const
ArrayColumn< Float > & sigma()
ArrayColumn< Bool > flagCategory_p
const ROScalarMeasColumn< Muvw > & uvwMeas() const
ROScalarColumn< Bool > baselineRef_p
const ROScalarMeasColumn< Muvw > & uvw2Meas() const
const ROArrayColumn< Double > & uvw() const
ArrayColumn< Complex > correctedData_p
ArrayColumn< Complex > lagData_p
ROScalarMeasColumn< MEpoch > timeMeas_p
const ROArrayColumn< Complex > & data() const
ArrayColumn< Float > & imagingWeight()
bool Bool
Define the standard types used by Casacore.
void attachOptionalCols(const MeasurementSet &ms)
ROArrayColumn< Float > weightSpectrumCorrected_p
ArrayColumn< Float > sigma_p
const ROScalarQuantColumn< Double > & timeCentroidQuant() const
void attach(MeasurementSet &ms)
const ROArrayColumn< Float > & weightSpectrumCorrected() const
ScalarColumn< Int > observationId_p
const ROArrayColumn< Complex > & videoPoint() const
ScalarColumn< Int > & feed1()
const ROArrayColumn< Float > & weightSpectrumCorrected() const
const ROScalarQuantColumn< Double > & intervalQuant() const
ROArrayColumn< Bool > flagCategory_p
ROArrayColumn< Float > weight_p
ArrayColumn< Bool > & flag()
const ROArrayColumn< Bool > & flagCategory() const
const ROScalarColumn< Int > & pulsarGateId() const
ScalarMeasColumn< Muvw > & uvwMeas()
ArrayColumn< Complex > & lagData()
ROScalarColumn< Int > fieldId_p
ArrayColumn< Float > imagingWeight_p
const ROScalarColumn< Int > & fieldId() const
ScalarColumn< Int > antenna3_p
ScalarColumn< Int > & processorId()
const ROScalarColumn< Int > & antenna1() const
Access to required columns.
const ROScalarColumn< Int > & antenna2() const
A Table intended to hold astronomical data (a set of Measurements).
ScalarColumn< Int > antenna2_p
const ROScalarQuantColumn< Double > & timeQuant() const
ArrayColumn< Complex > modelData_p
ROScalarQuantColumn< Double > timeExtraPrecQuant_p
ArrayQuantColumn< Double > & uvwQuant()
const ROArrayColumn< Float > & sigmaSpectrum() const
ScalarQuantColumn< Double > & timeCentroidQuant()
ROScalarColumn< Int > stateId_p
const ROArrayColumn< Float > & imagingWeight() const
const ROArrayColumn< Float > & floatData() const
const ROScalarColumn< Int > & observationId() const
ROScalarColumn< Double > exposure_p
const ROScalarColumn< Int > & pulsarBin() const
ScalarColumn< Int > & feed2()
ScalarQuantColumn< Double > & timeQuant()
const ROScalarColumn< Int > & phaseId() const
ScalarQuantColumn< Double > timeQuant_p
ScalarColumn< Bool > flagRow_p
ArrayColumn< Double > uvw2_p
ScalarQuantColumn< Double > & timeExtraPrecQuant()
ScalarMeasColumn< Muvw > & uvw2Meas()
const ROScalarColumn< Int > & antenna3() const
Read-only access to optional columns.
A class for easy read-write access to MeasurementSet main table columns.
ScalarColumn< Int > & observationId()
const ROScalarColumn< Int > & stateId() const
ROScalarColumn< Int > feed1_p
ScalarColumn< Int > feed3_p
ROScalarMeasColumn< MEpoch > timeCentroidMeas_p
ScalarColumn< Bool > & flagRow()
ROArrayColumn< Float > floatData_p
const ROScalarQuantColumn< Double > & exposureQuant() const
ArrayColumn< Complex > & modelData()
ArrayColumn< Double > & uvw2()
const ROScalarColumn< Int > & processorId() const
const ROScalarColumn< Int > & dataDescId() const
const ROScalarColumn< Double > & timeCentroid() const
ScalarColumn< Int > & fieldId()
ROScalarColumn< Int > antenna2_p
ROScalarQuantColumn< Double > timeCentroidQuant_p
ArrayColumn< Float > floatData_p
ArrayColumn< Bool > flag_p
ArrayColumn< Float > weightSpectrum_p
const ROArrayColumn< Float > & floatData() const
ROArrayColumn< Complex > data_p
ROScalarColumn< Int > antenna3_p
const ROArrayColumn< Double > & uvw2() const
const ROArrayColumn< Float > & weight() const
ScalarColumn< Double > & timeCentroid()
Types
Types of known MEpochs Caution: The order defines the order in the translation matrix in the MCEpoch...
ScalarQuantColumn< Double > timeCentroidQuant_p
const ROScalarColumn< Int > & antenna3() const
Access to optional columns.
const ROArrayColumn< Float > & sigma() const
const ROScalarColumn< Double > & time() const
ArrayColumn< Float > & sigmaSpectrum()
const ROScalarMeasColumn< MEpoch > & timeCentroidMeas() const
ScalarMeasColumn< MEpoch > timeMeas_p
ScalarColumn< Double > time_p
ROScalarQuantColumn< Double > exposureQuant_p
const ROScalarColumn< Int > & feed2() const
const ROScalarColumn< Int > & antenna1() const
Read-only access to required columns.
ScalarColumn< Int > feed1_p
Vector< String > flagCategories() const
Returns the category labels for the FLAG_CATEGORY column.
ScalarColumn< Int > & arrayId()
ROArrayColumn< Complex > lagData_p
const ROArrayQuantColumn< Double > & uvw2Quant() const
ScalarColumn< Double > & timeExtraPrec()
ROArrayColumn< Float > sigma_p
ROScalarColumn< Int > arrayId_p
ScalarColumn< Int > processorId_p
ROScalarColumn< Double > time_p
ScalarColumn< Int > fieldId_p
A class for easy read-only access to MeasurementSet main table columns.
ROScalarQuantColumn< Double > intervalQuant_p
const ROArrayColumn< Complex > & correctedData() const
const ROArrayColumn< Float > & sigma() const
ScalarColumn< Bool > baselineRef_p
ROScalarMeasColumn< Muvw > uvw2Meas_p
const ROScalarQuantColumn< Double > & timeCentroidQuant() const
ScalarColumn< Int > feed2_p
ArrayColumn< Complex > data_p
const ROScalarColumn< Int > & dataDescId() const
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.