28 #ifndef MS_MSMAINCOLUMNS_H
29 #define MS_MSMAINCOLUMNS_H
31 #include <casacore/casa/aips.h>
32 #include <casacore/casa/Arrays/ArrayFwd.h>
33 #include <casacore/measures/Measures/MEpoch.h>
34 #include <casacore/measures/Measures/Muvw.h>
35 #include <casacore/measures/Measures/MCEpoch.h>
36 #include <casacore/measures/Measures/MCuvw.h>
37 #include <casacore/tables/Tables/ScalarColumn.h>
38 #include <casacore/tables/Tables/ArrayColumn.h>
39 #include <casacore/measures/TableMeasures/ScalarMeasColumn.h>
40 #include <casacore/measures/TableMeasures/ScalarQuantColumn.h>
41 #include <casacore/measures/TableMeasures/ArrayQuantColumn.h>
Types
Types of known MEpochs Caution: The order defines the order in the translation matrix in the MCEpoch...
const ScalarColumn< Int > & pulsarGateId() const
const ArrayColumn< Float > & imagingWeight() const
const ArrayQuantColumn< Double > & uvw2Quant() const
const ScalarColumn< Int > & antenna1() const
Const access to required columns.
ScalarMeasColumn< Muvw > & uvwMeas()
ScalarColumn< Int > & arrayId()
ArrayColumn< Complex > data_p
const ScalarMeasColumn< Muvw > & uvwMeas() const
ScalarColumn< Int > dataDescId_p
ScalarColumn< Int > & pulsarBin()
ArrayColumn< Float > sigmaSpectrum_p
ScalarColumn< Int > & stateId()
ScalarColumn< Int > & phaseId()
const ScalarColumn< Int > & arrayId() const
const ScalarColumn< Int > & scanNumber() const
ScalarColumn< Double > time_p
ScalarMeasColumn< Muvw > uvwMeas_p
const ScalarColumn< Int > & feed3() const
ScalarColumn< Int > & antenna2()
Vector< String > flagCategories() const
Returns the category labels for the FLAG_CATEGORY column.
void attachOptionalCols(const MeasurementSet &ms)
ScalarColumn< Bool > baselineRef_p
ScalarColumn< Bool > & baselineRef()
ArrayColumn< Double > & uvw2()
const ArrayColumn< Float > & weightSpectrum() const
ArrayColumn< Float > & floatData()
const ScalarColumn< Int > & fieldId() const
ScalarColumn< Int > & feed3()
ScalarColumn< Double > & exposure()
ScalarColumn< Int > & antenna1()
Access to required columns.
ScalarQuantColumn< Double > timeExtraPrecQuant_p
ScalarQuantColumn< Double > exposureQuant_p
const ScalarColumn< Bool > & flagRow() const
MSMainColumns(const MeasurementSet &ms)
Create a columns object that accesses the data in the specified Table.
ScalarMeasColumn< MEpoch > timeCentroidMeas_p
ArrayColumn< Complex > videoPoint_p
const ScalarColumn< Int > & observationId() const
ScalarColumn< Int > & scanNumber()
ScalarColumn< Int > & processorId()
ScalarQuantColumn< Double > & timeExtraPrecQuant()
ScalarColumn< Int > antenna3_p
const ScalarColumn< Double > & time() const
rownr_t nrow() const
Convenience function that returns the number of rows in any of the columns.
ScalarColumn< Int > & fieldId()
ArrayColumn< Double > uvw_p
ScalarMeasColumn< Muvw > & uvw2Meas()
ArrayColumn< Float > weightSpectrum_p
const ArrayColumn< Float > & floatData() const
ScalarMeasColumn< MEpoch > & timeMeas()
ArrayColumn< Bool > flag_p
ScalarQuantColumn< Double > & timeCentroidQuant()
ArrayColumn< Bool > & flag()
ScalarColumn< Int > processorId_p
ScalarColumn< Double > & time()
const ArrayColumn< Complex > & videoPoint() const
ScalarMeasColumn< MEpoch > timeMeas_p
ArrayQuantColumn< Double > & uvwQuant()
ArrayColumn< Complex > modelData_p
const ScalarColumn< Bool > & baselineRef() const
ArrayColumn< Float > & weight()
const ScalarColumn< Int > & feed1() const
const ScalarColumn< Double > & timeExtraPrec() const
const ScalarMeasColumn< MEpoch > & timeMeas() const
ScalarColumn< Int > stateId_p
const ScalarColumn< Int > & stateId() const
ArrayColumn< Complex > & data()
MSMainColumns(const MSMainColumns &)
const ScalarColumn< Int > & antenna3() const
Access to optional columns.
ArrayColumn< Float > imagingWeight_p
const ScalarColumn< Int > & pulsarBin() const
const ScalarQuantColumn< Double > & intervalQuant() const
ScalarQuantColumn< Double > & intervalQuant()
MSMainColumns & operator=(const MSMainColumns &)
const ScalarColumn< Double > & interval() const
ScalarQuantColumn< Double > intervalQuant_p
const ScalarColumn< Double > & exposure() const
ScalarColumn< Int > & antenna3()
Access to optional columns.
const ArrayColumn< Float > & sigma() const
ArrayColumn< Bool > flagCategory_p
const ArrayColumn< Bool > & flag() const
void setUVWRef(Muvw::Types ref)
set the UVW reference type for the UVW and UVW2 (if defined) columns.
ScalarColumn< Int > arrayId_p
const ArrayColumn< Float > & weight() const
ScalarColumn< Int > feed2_p
const ArrayColumn< Double > & uvw() const
ArrayColumn< Float > floatData_p
const ScalarColumn< Int > & antenna2() const
const ScalarMeasColumn< Muvw > & uvw2Meas() const
ArrayColumn< Complex > & lagData()
ScalarColumn< Int > antenna1_p
ScalarColumn< Int > feed3_p
ArrayColumn< Complex > & correctedData()
const ScalarQuantColumn< Double > & timeExtraPrecQuant() const
ScalarColumn< Double > & timeCentroid()
ScalarColumn< Double > exposure_p
ScalarColumn< Int > & feed1()
ArrayColumn< Float > weight_p
ArrayColumn< Bool > & flagCategory()
const ScalarColumn< Int > & processorId() const
ArrayColumn< Complex > lagData_p
const ScalarQuantColumn< Double > & timeQuant() const
ScalarColumn< Double > & timeExtraPrec()
ScalarColumn< Int > & pulsarGateId()
ScalarColumn< Int > observationId_p
ScalarColumn< Double > & interval()
ScalarQuantColumn< Double > & exposureQuant()
const ScalarColumn< Double > & timeCentroid() const
const ScalarColumn< Int > & feed2() const
ScalarColumn< Int > pulsarGateId_p
ScalarColumn< Int > & observationId()
ScalarColumn< Int > antenna2_p
const ArrayColumn< Complex > & lagData() const
ArrayColumn< Double > uvw2_p
const ArrayColumn< Float > & sigmaSpectrum() const
const ScalarColumn< Int > & dataDescId() const
ArrayColumn< Float > & imagingWeight()
const ArrayColumn< Float > & weightSpectrumCorrected() const
const ArrayColumn< Complex > & data() const
ScalarColumn< Int > feed1_p
ArrayQuantColumn< Double > & uvw2Quant()
ScalarColumn< Int > scanNumber_p
const ScalarQuantColumn< Double > & timeCentroidQuant() const
const ArrayColumn< Complex > & modelData() 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< Complex > & videoPoint()
ScalarColumn< Bool > & flagRow()
ArrayColumn< Float > sigma_p
ArrayColumn< Double > & uvw()
ScalarColumn< Bool > flagRow_p
ArrayColumn< Float > weightSpectrumCorrected_p
ScalarMeasColumn< MEpoch > & timeCentroidMeas()
ArrayQuantColumn< Double > uvw2Quant_p
const ScalarMeasColumn< MEpoch > & timeCentroidMeas() const
ArrayQuantColumn< Double > uvwQuant_p
ArrayColumn< Float > & sigmaSpectrum()
ScalarQuantColumn< Double > timeQuant_p
ScalarColumn< Int > fieldId_p
ArrayColumn< Float > & weightSpectrumCorrected()
const ArrayColumn< Bool > & flagCategory() const
ScalarColumn< Double > timeExtraPrec_p
ArrayColumn< Complex > correctedData_p
void setEpochRef(MEpoch::Types ref, Bool tableMustBeEmpty=True)
set the epoch type for the TIME and TIME_CENTROID columns.
ArrayColumn< Float > & weightSpectrum()
~MSMainColumns()
The desctructor does nothing special.
ArrayColumn< Float > & sigma()
ScalarColumn< Int > pulsarBin_p
const ScalarColumn< Int > & phaseId() const
ScalarQuantColumn< Double > & timeQuant()
ScalarColumn< Int > & feed2()
const ArrayQuantColumn< Double > & uvwQuant() const
ScalarColumn< Double > interval_p
const ArrayColumn< Complex > & correctedData() const
ArrayColumn< Complex > & modelData()
const ScalarQuantColumn< Double > & exposureQuant() const
const ArrayColumn< Double > & uvw2() const
ScalarQuantColumn< Double > timeCentroidQuant_p
ScalarColumn< Int > & dataDescId()
void attach(const MeasurementSet &ms)
ScalarMeasColumn< Muvw > uvw2Meas_p
ScalarColumn< Double > timeCentroid_p
ScalarColumn< Int > phaseId_p
Types
Types of known Muvws Warning: The order defines the order in the translation matrix FromTo in the ge...
rownr_t nrow() const
Get the number of rows in the column.
this file contains all the compiler specific defines
MSMainColumns ROMSMainColumns
bool Bool
Define the standard types used by Casacore.
uInt64 rownr_t
Define the type of a row number in a table.