Loading...
Searching...
No Matches
MSMainColumns.h
Go to the documentation of this file.
//# MSmainColumns.h: provides easy access to MeasurementSet main table columns
//# Copyright (C) 2000
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public License as published by
//# the Free Software Foundation; either version 2 of the License, or (at your
//# option) any later version.
//#
//# This library is distributed in the hope that it will be useful, but WITHOUT
//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
//# License for more details.
//#
//# You should have received a copy of the GNU Library General Public License
//# along with this library; if not, write to the Free Software Foundation,
//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
//#
//# Correspondence concerning AIPS++ should be addressed as follows:
//# Internet email: casa-feedback@nrao.edu.
//# Postal address: AIPS++ Project Office
//# National Radio Astronomy Observatory
//# 520 Edgemont Road
//# Charlottesville, VA 22903-2475 USA
#ifndef MS_MSMAINCOLUMNS_H
#define MS_MSMAINCOLUMNS_H
#include <casacore/casa/aips.h>
#include <casacore/casa/Arrays/ArrayFwd.h>
#include <casacore/measures/Measures/MEpoch.h>
#include <casacore/measures/Measures/Muvw.h>
#include <casacore/measures/Measures/MCEpoch.h>
#include <casacore/measures/Measures/MCuvw.h>
#include <casacore/tables/Tables/ScalarColumn.h>
#include <casacore/tables/Tables/ArrayColumn.h>
#include <casacore/measures/TableMeasures/ScalarMeasColumn.h>
#include <casacore/measures/TableMeasures/ScalarQuantColumn.h>
#include <casacore/measures/TableMeasures/ArrayQuantColumn.h>
namespace casacore { //# NAMESPACE CASACORE - BEGIN
class MeasurementSet;
class String;
// <summary>
// A class for easy access to MeasurementSet main table columns
// </summary>
// <use visibility=export>
// <reviewed reviewer="Bob Garwood" date="1997/02/01" tests="" demos="">
// </reviewed>
// <prerequisite>
// <li> MeasurementSet
// <li> ArrayColumn
// <li> ScalarColumn
// </prerequisite>
//
// <etymology>
// MSMainColumns stands for MeasurementSet main Table columns.
// </etymology>
//
// <synopsis>
// This class provides access to the columns in the MeasurementSet.
// It does the declaration of all the Scalar and ArrayColumns with the
// correct types, so the application programmer doesn't have to
// worry about getting those right. There is an access function
// for every predefined column. Access to non-predefined columns will still
// have to be done with explicit declarations.
// <note role=warning> The Table that is used to construct this class must not
// be destroyed (or go out of scope) before this class does. Otherwise the
// scalar and array columns use by this class will be left dangling.</note>
// </synopsis>
// </synopsis>
//
// <example>
// <srcblock>
// // use as follows
// MeasurementSet ms("myMS",Table::Update);
// MSColumns msc(ms);
// // show data from row 5
// cout << msc.data()(5);
// // change name of antenna on row 3 in antenna table
// msc.antenna().name().put(3,"NewAnt-3");
// </srcblock>
// </example>
//
// <motivation>
// Having to type long lists of Scalar and Array column declarations gets
// very tedious. This class attempts to relieve some of that tedium, while
// at the same time concentrating all the declarations in one place,
// making Type errors in the column declaration (only caught at run-time) less
// probable. Type errors in the use of the columns is caught at compile
// time.
// </motivation>
//
// <todo asof="1997/02/01">
// <li> We might decide to merge this class with the MeasurementSet
// </todo>
class MSMainColumns
{
public:
// Create a columns object that accesses the data in the specified Table
MSMainColumns(const MeasurementSet& ms);
// The desctructor does nothing special
~MSMainColumns();
// Access to required columns
// <group>
ScalarColumn<Int>& antenna1() {return antenna1_p;}
ScalarColumn<Int>& antenna2() {return antenna2_p;}
ScalarColumn<Int>& arrayId() {return arrayId_p;}
ScalarColumn<Int>& dataDescId() {return dataDescId_p;}
ScalarColumn<Double>& exposure() {return exposure_p;}
ScalarQuantColumn<Double>& exposureQuant() {
return exposureQuant_p;}
ScalarColumn<Int>& feed1() {return feed1_p;}
ScalarColumn<Int>& feed2() {return feed2_p;}
ScalarColumn<Int>& fieldId() {return fieldId_p;}
ArrayColumn<Bool>& flag() {return flag_p;}
ArrayColumn<Bool>& flagCategory() {return flagCategory_p;}
ScalarColumn<Bool>& flagRow() {return flagRow_p;}
ScalarColumn<Double>& interval() {return interval_p;}
ScalarQuantColumn<Double>& intervalQuant() {
return intervalQuant_p;}
ScalarColumn<Int>& observationId() {return observationId_p;}
ScalarColumn<Int>& processorId() {return processorId_p;}
ScalarColumn<Int>& scanNumber() {return scanNumber_p;}
ArrayColumn<Float>& sigma() {return sigma_p;}
ScalarColumn<Int>& stateId() {return stateId_p;}
ScalarColumn<Double>& time() {return time_p;}
ScalarQuantColumn<Double>& timeQuant() {
return timeQuant_p;}
ScalarMeasColumn<MEpoch>& timeMeas() {
return timeMeas_p;}
ScalarColumn<Double>& timeCentroid() {return timeCentroid_p;}
ScalarQuantColumn<Double>& timeCentroidQuant() {
return timeCentroidQuant_p;}
ScalarMeasColumn<MEpoch>& timeCentroidMeas() {
return timeCentroidMeas_p;}
ArrayColumn<Double>& uvw() {return uvw_p;}
ArrayQuantColumn<Double>& uvwQuant() {
return uvwQuant_p;}
ScalarMeasColumn<Muvw>& uvwMeas() {
return uvwMeas_p;}
ArrayColumn<Float>& weight() {return weight_p;}
// </group>
// Access to optional columns
// <group>
ScalarColumn<Int>& antenna3() {return antenna3_p;}
ScalarColumn<Bool>& baselineRef() {return baselineRef_p;}
ArrayColumn<Complex>& correctedData() {return correctedData_p;}
ArrayColumn<Complex>& data() {return data_p;}
ScalarColumn<Int>& feed3() {return feed3_p;}
ArrayColumn<Float>& floatData() {return floatData_p;}
ArrayColumn<Float>& imagingWeight() {return imagingWeight_p;}
ArrayColumn<Complex>& lagData() {return lagData_p;}
ArrayColumn<Complex>& modelData() {return modelData_p;}
ScalarColumn<Int>& phaseId() {return phaseId_p;}
ScalarColumn<Int>& pulsarBin() {return pulsarBin_p;}
ScalarColumn<Int>& pulsarGateId() {return pulsarGateId_p;}
ArrayColumn<Float>& sigmaSpectrum() {return sigmaSpectrum_p;}
ScalarColumn<Double>& timeExtraPrec() {return timeExtraPrec_p;}
ScalarQuantColumn<Double>& timeExtraPrecQuant() {
return timeExtraPrecQuant_p;}
ArrayColumn<Double>& uvw2() {return uvw2_p;}
ScalarMeasColumn<Muvw>& uvw2Meas() {
return uvw2Meas_p;}
ArrayQuantColumn<Double>& uvw2Quant() {
return uvw2Quant_p;}
ArrayColumn<Complex>& videoPoint() {return videoPoint_p;}
ArrayColumn<Float>& weightSpectrum() {return weightSpectrum_p;}
ArrayColumn<Float>& weightSpectrumCorrected() {return weightSpectrumCorrected_p;}
// </group>
// Const access to required columns
// <group>
const ScalarColumn<Int>& antenna1() const {return antenna1_p;}
const ScalarColumn<Int>& antenna2() const {return antenna2_p;}
const ScalarColumn<Int>& arrayId() const {return arrayId_p;}
const ScalarColumn<Int>& dataDescId() const {return dataDescId_p;}
const ScalarColumn<Double>& exposure() const {return exposure_p;}
const ScalarQuantColumn<Double>& exposureQuant() const {
return exposureQuant_p;}
const ScalarColumn<Int>& feed1() const {return feed1_p;}
const ScalarColumn<Int>& feed2() const {return feed2_p;}
const ScalarColumn<Int>& fieldId() const {return fieldId_p;}
const ArrayColumn<Bool>& flag() const {return flag_p;}
const ArrayColumn<Bool>& flagCategory() const {return flagCategory_p;}
const ScalarColumn<Bool>& flagRow() const {return flagRow_p;}
const ScalarColumn<Double>& interval() const {return interval_p;}
const ScalarQuantColumn<Double>& intervalQuant() const {
return intervalQuant_p;}
const ScalarColumn<Int>& observationId() const {return observationId_p;}
const ScalarColumn<Int>& processorId() const {return processorId_p;}
const ScalarColumn<Int>& scanNumber() const {return scanNumber_p;}
const ArrayColumn<Float>& sigma() const {return sigma_p;}
const ScalarColumn<Int>& stateId() const {return stateId_p;}
const ScalarColumn<Double>& time() const {return time_p;}
const ScalarQuantColumn<Double>& timeQuant() const {
return timeQuant_p;}
const ScalarMeasColumn<MEpoch>& timeMeas() const {
return timeMeas_p;}
const ScalarColumn<Double>& timeCentroid() const {return timeCentroid_p;}
const ScalarQuantColumn<Double>& timeCentroidQuant() const {
return timeCentroidQuant_p;}
const ScalarMeasColumn<MEpoch>& timeCentroidMeas() const {
return timeCentroidMeas_p;}
const ArrayColumn<Double>& uvw() const {return uvw_p;}
const ArrayQuantColumn<Double>& uvwQuant() const {
return uvwQuant_p;}
const ScalarMeasColumn<Muvw>& uvwMeas() const {
return uvwMeas_p;}
const ArrayColumn<Float>& weight() const {return weight_p;}
// </group>
// Access to optional columns
// <group>
const ScalarColumn<Int>& antenna3() const {return antenna3_p;}
const ScalarColumn<Bool>& baselineRef() const {return baselineRef_p;}
const ArrayColumn<Complex>& correctedData() const {return correctedData_p;}
const ArrayColumn<Complex>& data() const {return data_p;}
const ScalarColumn<Int>& feed3() const {return feed3_p;}
const ArrayColumn<Float>& floatData() const {return floatData_p;}
const ArrayColumn<Float>& imagingWeight() const {return imagingWeight_p;}
const ArrayColumn<Complex>& lagData() const {return lagData_p;}
const ArrayColumn<Complex>& modelData() const {return modelData_p;}
const ScalarColumn<Int>& phaseId() const {return phaseId_p;}
const ScalarColumn<Int>& pulsarBin() const {return pulsarBin_p;}
const ScalarColumn<Int>& pulsarGateId() const {return pulsarGateId_p;}
const ArrayColumn<Float>& sigmaSpectrum() const {return sigmaSpectrum_p;}
const ScalarColumn<Double>& timeExtraPrec() const {return timeExtraPrec_p;}
const ScalarQuantColumn<Double>& timeExtraPrecQuant() const {
return timeExtraPrecQuant_p;}
const ArrayColumn<Double>& uvw2() const {return uvw2_p;}
const ScalarMeasColumn<Muvw>& uvw2Meas() const {
return uvw2Meas_p;}
const ArrayQuantColumn<Double>& uvw2Quant() const {
return uvw2Quant_p;}
const ArrayColumn<Complex>& videoPoint() const {return videoPoint_p;}
const ArrayColumn<Float>& weightSpectrum() const {return weightSpectrum_p;}
const ArrayColumn<Float>& weightSpectrumCorrected() const {return weightSpectrumCorrected_p;}
// </group>
// Convenience function that returns the number of rows in any of the columns
rownr_t nrow() const {return antenna1_p.nrow();}
// Returns the category labels for the FLAG_CATEGORY column.
Vector<String> flagCategories() const;
// set the epoch type for the TIME and TIME_CENTROID columns.
// <note role=tip>
// In principle this function can only be used if the table is empty,
// otherwise already written values may thereafter have an incorrect
// reference, offset, or unit. However, it is possible that part of the
// table gets written before these values are known. In that case the
// reference, offset, or units can be set by using a False
// <src>tableMustBeEmpty</src> argument.
// </note>
void setEpochRef(MEpoch::Types ref, Bool tableMustBeEmpty=True);
// set the UVW reference type for the UVW and UVW2 (if defined) columns. This
// can only be done when the table has no rows. Trying to do so at other
// times will throw an exception.
void setUVWRef(Muvw::Types ref);
// Set the flag category labels to the supplied values (in the CATEGORY
// keyword of the FLAG_CATEGORY column). Throws an exception, when compiled
// in Debug mode, if the length of the supplied Vector is not the same as the
// length of the third dimension of the FLAG_CATEGORY column.
void setFlagCategories(const Vector<String>& categories);
protected:
//# default constructor creates a object that is not usable. Use the attach
//# function correct this.
MSMainColumns();
//# attach this object to the supplied table.
void attach(const MeasurementSet& ms);
private:
//# Make the assignment operator and the copy constructor private to prevent
//# any compiler generated one from being used.
MSMainColumns(const MSMainColumns&);
MSMainColumns& operator=(const MSMainColumns&);
//# Check if any optional columns exist and if so attach them.
void attachOptionalCols(const MeasurementSet& ms);
//# required columns
ScalarColumn<Int> antenna1_p;
ScalarColumn<Int> antenna2_p;
ScalarColumn<Int> arrayId_p;
ScalarColumn<Int> dataDescId_p;
ScalarColumn<Double> exposure_p;
ScalarColumn<Int> feed1_p;
ScalarColumn<Int> feed2_p;
ScalarColumn<Int> fieldId_p;
ArrayColumn<Bool> flag_p;
ArrayColumn<Bool> flagCategory_p;
ScalarColumn<Bool> flagRow_p;
ScalarColumn<Double> interval_p;
ScalarColumn<Int> observationId_p;
ScalarColumn<Int> processorId_p;
ScalarColumn<Int> scanNumber_p;
ArrayColumn<Float> sigma_p;
ScalarColumn<Int> stateId_p;
ScalarColumn<Double> time_p;
ScalarColumn<Double> timeCentroid_p;
ArrayColumn<Double> uvw_p;
ArrayColumn<Float> weight_p;
//# optional columns
ScalarColumn<Int> antenna3_p;
ScalarColumn<Bool> baselineRef_p;
ArrayColumn<Complex> data_p;
ScalarColumn<Int> feed3_p;
ArrayColumn<Float> floatData_p;
ArrayColumn<Complex> lagData_p;
ScalarColumn<Int> phaseId_p;
ScalarColumn<Int> pulsarBin_p;
ScalarColumn<Int> pulsarGateId_p;
ArrayColumn<Float> sigmaSpectrum_p;
ScalarColumn<Double> timeExtraPrec_p;
ArrayColumn<Double> uvw2_p;
ArrayColumn<Complex> videoPoint_p;
ArrayColumn<Float> weightSpectrum_p;
ArrayColumn<Float> weightSpectrumCorrected_p;
//# columns required for synthesis applications - all optional
ArrayColumn<Complex> correctedData_p;
ArrayColumn<Float> imagingWeight_p;
ArrayColumn<Complex> modelData_p;
//# Access to Measure columns
ScalarMeasColumn<MEpoch> timeMeas_p;
ScalarMeasColumn<MEpoch> timeCentroidMeas_p;
ScalarMeasColumn<Muvw> uvwMeas_p;
//# optional Measure columns
ScalarMeasColumn<Muvw> uvw2Meas_p;
//# Access to Quantum columns
ScalarQuantColumn<Double> exposureQuant_p;
ScalarQuantColumn<Double> intervalQuant_p;
ScalarQuantColumn<Double> timeQuant_p;
ScalarQuantColumn<Double> timeCentroidQuant_p;
ArrayQuantColumn<Double> uvwQuant_p;
//# optional Quantum columns
ScalarQuantColumn<Double> timeExtraPrecQuant_p;
ArrayQuantColumn<Double> uvw2Quant_p;
};
//# Define the RO version for backward compatibility.
typedef MSMainColumns ROMSMainColumns;
} //# NAMESPACE CASACORE - END
#endif
casacore::ArrayColumn
Definition ArrayColumn.h:98
casacore::ArrayQuantColumn
Definition ArrayQuantColumn.h:118
casacore::MEpoch::Types
Types
Types of known MEpochs Caution: The order defines the order in the translation matrix in the MCEpoch...
Definition MEpoch.h:114
casacore::MSMainColumns
Definition MSMainColumns.h:104
casacore::MSMainColumns::dataDescId
ScalarColumn< Int > & dataDescId()
Definition MSMainColumns.h:118
casacore::MSMainColumns::data_p
ArrayColumn< Complex > data_p
Definition MSMainColumns.h:321
casacore::MSMainColumns::MSMainColumns
MSMainColumns()
casacore::MSMainColumns::dataDescId_p
ScalarColumn< Int > dataDescId_p
Definition MSMainColumns.h:300
casacore::MSMainColumns::timeQuant
const ScalarQuantColumn< Double > & timeQuant() const
Definition MSMainColumns.h:206
casacore::MSMainColumns::videoPoint
ArrayColumn< Complex > & videoPoint()
Definition MSMainColumns.h:177
casacore::MSMainColumns::sigmaSpectrum_p
ArrayColumn< Float > sigmaSpectrum_p
Definition MSMainColumns.h:328
casacore::MSMainColumns::timeCentroid
ScalarColumn< Double > & timeCentroid()
Definition MSMainColumns.h:141
casacore::MSMainColumns::observationId
const ScalarColumn< Int > & observationId() const
Definition MSMainColumns.h:200
casacore::MSMainColumns::timeCentroidMeas
ScalarMeasColumn< MEpoch > & timeCentroidMeas()
Definition MSMainColumns.h:144
casacore::MSMainColumns::time_p
ScalarColumn< Double > time_p
Definition MSMainColumns.h:314
casacore::MSMainColumns::uvwMeas_p
ScalarMeasColumn< Muvw > uvwMeas_p
Definition MSMainColumns.h:343
casacore::MSMainColumns::feed2
const ScalarColumn< Int > & feed2() const
Definition MSMainColumns.h:192
casacore::MSMainColumns::flagRow
const ScalarColumn< Bool > & flagRow() const
Definition MSMainColumns.h:196
casacore::MSMainColumns::attachOptionalCols
void attachOptionalCols(const MeasurementSet &ms)
casacore::MSMainColumns::uvwQuant
const ArrayQuantColumn< Double > & uvwQuant() const
Definition MSMainColumns.h:216
casacore::MSMainColumns::baselineRef_p
ScalarColumn< Bool > baselineRef_p
Definition MSMainColumns.h:320
casacore::MSMainColumns::flagCategories
Vector< String > flagCategories() const
Returns the category labels for the FLAG_CATEGORY column.
casacore::MSMainColumns::correctedData
const ArrayColumn< Complex > & correctedData() const
Definition MSMainColumns.h:227
casacore::MSMainColumns::uvwQuant
ArrayQuantColumn< Double > & uvwQuant()
Definition MSMainColumns.h:147
casacore::MSMainColumns::pulsarGateId
ScalarColumn< Int > & pulsarGateId()
Definition MSMainColumns.h:167
casacore::MSMainColumns::interval
const ScalarColumn< Double > & interval() const
Definition MSMainColumns.h:197
casacore::MSMainColumns::timeExtraPrecQuant_p
ScalarQuantColumn< Double > timeExtraPrecQuant_p
Definition MSMainColumns.h:354
casacore::MSMainColumns::sigmaSpectrum
const ArrayColumn< Float > & sigmaSpectrum() const
Definition MSMainColumns.h:237
casacore::MSMainColumns::exposureQuant_p
ScalarQuantColumn< Double > exposureQuant_p
Definition MSMainColumns.h:348
casacore::MSMainColumns::MSMainColumns
MSMainColumns(const MeasurementSet &ms)
Create a columns object that accesses the data in the specified Table.
casacore::MSMainColumns::flag
const ArrayColumn< Bool > & flag() const
Definition MSMainColumns.h:194
casacore::MSMainColumns::timeCentroidMeas_p
ScalarMeasColumn< MEpoch > timeCentroidMeas_p
Definition MSMainColumns.h:342
casacore::MSMainColumns::videoPoint_p
ArrayColumn< Complex > videoPoint_p
Definition MSMainColumns.h:331
casacore::MSMainColumns::weight
ArrayColumn< Float > & weight()
Definition MSMainColumns.h:151
casacore::MSMainColumns::processorId
const ScalarColumn< Int > & processorId() const
Definition MSMainColumns.h:201
casacore::MSMainColumns::uvw
ArrayColumn< Double > & uvw()
Definition MSMainColumns.h:146
casacore::MSMainColumns::antenna3_p
ScalarColumn< Int > antenna3_p
Definition MSMainColumns.h:319
casacore::MSMainColumns::exposure
const ScalarColumn< Double > & exposure() const
Definition MSMainColumns.h:188
casacore::MSMainColumns::baselineRef
const ScalarColumn< Bool > & baselineRef() const
Definition MSMainColumns.h:226
casacore::MSMainColumns::nrow
rownr_t nrow() const
Convenience function that returns the number of rows in any of the columns.
Definition MSMainColumns.h:252
casacore::MSMainColumns::uvw_p
ArrayColumn< Double > uvw_p
Definition MSMainColumns.h:316
casacore::MSMainColumns::imagingWeight
ArrayColumn< Float > & imagingWeight()
Definition MSMainColumns.h:162
casacore::MSMainColumns::uvw2
const ArrayColumn< Double > & uvw2() const
Definition MSMainColumns.h:241
casacore::MSMainColumns::weightSpectrum_p
ArrayColumn< Float > weightSpectrum_p
Definition MSMainColumns.h:332
casacore::MSMainColumns::weightSpectrumCorrected
ArrayColumn< Float > & weightSpectrumCorrected()
Definition MSMainColumns.h:179
casacore::MSMainColumns::floatData
const ArrayColumn< Float > & floatData() const
Definition MSMainColumns.h:230
casacore::MSMainColumns::flag_p
ArrayColumn< Bool > flag_p
Definition MSMainColumns.h:305
casacore::MSMainColumns::exposureQuant
const ScalarQuantColumn< Double > & exposureQuant() const
Definition MSMainColumns.h:189
casacore::MSMainColumns::flag
ArrayColumn< Bool > & flag()
Definition MSMainColumns.h:125
casacore::MSMainColumns::arrayId
const ScalarColumn< Int > & arrayId() const
Definition MSMainColumns.h:186
casacore::MSMainColumns::processorId_p
ScalarColumn< Int > processorId_p
Definition MSMainColumns.h:310
casacore::MSMainColumns::sigma
const ArrayColumn< Float > & sigma() const
Definition MSMainColumns.h:203
casacore::MSMainColumns::timeMeas_p
ScalarMeasColumn< MEpoch > timeMeas_p
Definition MSMainColumns.h:341
casacore::MSMainColumns::floatData
ArrayColumn< Float > & floatData()
Definition MSMainColumns.h:161
casacore::MSMainColumns::uvw2Meas
ScalarMeasColumn< Muvw > & uvw2Meas()
Definition MSMainColumns.h:173
casacore::MSMainColumns::videoPoint
const ArrayColumn< Complex > & videoPoint() const
Definition MSMainColumns.h:246
casacore::MSMainColumns::modelData_p
ArrayColumn< Complex > modelData_p
Definition MSMainColumns.h:338
casacore::MSMainColumns::sigmaSpectrum
ArrayColumn< Float > & sigmaSpectrum()
Definition MSMainColumns.h:168
casacore::MSMainColumns::feed3
const ScalarColumn< Int > & feed3() const
Definition MSMainColumns.h:229
casacore::MSMainColumns::intervalQuant
const ScalarQuantColumn< Double > & intervalQuant() const
Definition MSMainColumns.h:198
casacore::MSMainColumns::baselineRef
ScalarColumn< Bool > & baselineRef()
Definition MSMainColumns.h:157
casacore::MSMainColumns::timeCentroid
const ScalarColumn< Double > & timeCentroid() const
Definition MSMainColumns.h:210
casacore::MSMainColumns::timeExtraPrecQuant
ScalarQuantColumn< Double > & timeExtraPrecQuant()
Definition MSMainColumns.h:170
casacore::MSMainColumns::time
ScalarColumn< Double > & time()
Definition MSMainColumns.h:136
casacore::MSMainColumns::operator=
MSMainColumns & operator=(const MSMainColumns &)
casacore::MSMainColumns::observationId
ScalarColumn< Int > & observationId()
Definition MSMainColumns.h:131
casacore::MSMainColumns::stateId_p
ScalarColumn< Int > stateId_p
Definition MSMainColumns.h:313
casacore::MSMainColumns::scanNumber
ScalarColumn< Int > & scanNumber()
Definition MSMainColumns.h:133
casacore::MSMainColumns::MSMainColumns
MSMainColumns(const MSMainColumns &)
casacore::MSMainColumns::exposure
ScalarColumn< Double > & exposure()
Definition MSMainColumns.h:119
casacore::MSMainColumns::imagingWeight_p
ArrayColumn< Float > imagingWeight_p
Definition MSMainColumns.h:337
casacore::MSMainColumns::stateId
ScalarColumn< Int > & stateId()
Definition MSMainColumns.h:135
casacore::MSMainColumns::correctedData
ArrayColumn< Complex > & correctedData()
Definition MSMainColumns.h:158
casacore::MSMainColumns::exposureQuant
ScalarQuantColumn< Double > & exposureQuant()
Definition MSMainColumns.h:120
casacore::MSMainColumns::pulsarBin
ScalarColumn< Int > & pulsarBin()
Definition MSMainColumns.h:166
casacore::MSMainColumns::intervalQuant_p
ScalarQuantColumn< Double > intervalQuant_p
Definition MSMainColumns.h:349
casacore::MSMainColumns::fieldId
const ScalarColumn< Int > & fieldId() const
Definition MSMainColumns.h:193
casacore::MSMainColumns::antenna2
const ScalarColumn< Int > & antenna2() const
Definition MSMainColumns.h:185
casacore::MSMainColumns::feed1
ScalarColumn< Int > & feed1()
Definition MSMainColumns.h:122
casacore::MSMainColumns::phaseId
const ScalarColumn< Int > & phaseId() const
Definition MSMainColumns.h:234
casacore::MSMainColumns::flagCategory_p
ArrayColumn< Bool > flagCategory_p
Definition MSMainColumns.h:306
casacore::MSMainColumns::phaseId
ScalarColumn< Int > & phaseId()
Definition MSMainColumns.h:165
casacore::MSMainColumns::setUVWRef
void setUVWRef(Muvw::Types ref)
set the UVW reference type for the UVW and UVW2 (if defined) columns.
casacore::MSMainColumns::arrayId_p
ScalarColumn< Int > arrayId_p
Definition MSMainColumns.h:299
casacore::MSMainColumns::uvwMeas
const ScalarMeasColumn< Muvw > & uvwMeas() const
Definition MSMainColumns.h:218
casacore::MSMainColumns::timeExtraPrec
ScalarColumn< Double > & timeExtraPrec()
Definition MSMainColumns.h:169
casacore::MSMainColumns::feed2_p
ScalarColumn< Int > feed2_p
Definition MSMainColumns.h:303
casacore::MSMainColumns::floatData_p
ArrayColumn< Float > floatData_p
Definition MSMainColumns.h:323
casacore::MSMainColumns::feed3
ScalarColumn< Int > & feed3()
Definition MSMainColumns.h:160
casacore::MSMainColumns::intervalQuant
ScalarQuantColumn< Double > & intervalQuant()
Definition MSMainColumns.h:129
casacore::MSMainColumns::imagingWeight
const ArrayColumn< Float > & imagingWeight() const
Definition MSMainColumns.h:231
casacore::MSMainColumns::antenna1_p
ScalarColumn< Int > antenna1_p
Definition MSMainColumns.h:297
casacore::MSMainColumns::feed3_p
ScalarColumn< Int > feed3_p
Definition MSMainColumns.h:322
casacore::MSMainColumns::antenna1
ScalarColumn< Int > & antenna1()
Access to required columns.
Definition MSMainColumns.h:115
casacore::MSMainColumns::flagRow
ScalarColumn< Bool > & flagRow()
Definition MSMainColumns.h:127
casacore::MSMainColumns::exposure_p
ScalarColumn< Double > exposure_p
Definition MSMainColumns.h:301
casacore::MSMainColumns::modelData
ArrayColumn< Complex > & modelData()
Definition MSMainColumns.h:164
casacore::MSMainColumns::weight_p
ArrayColumn< Float > weight_p
Definition MSMainColumns.h:317
casacore::MSMainColumns::arrayId
ScalarColumn< Int > & arrayId()
Definition MSMainColumns.h:117
casacore::MSMainColumns::weightSpectrum
ArrayColumn< Float > & weightSpectrum()
Definition MSMainColumns.h:178
casacore::MSMainColumns::flagCategory
ArrayColumn< Bool > & flagCategory()
Definition MSMainColumns.h:126
casacore::MSMainColumns::weight
const ArrayColumn< Float > & weight() const
Definition MSMainColumns.h:220
casacore::MSMainColumns::modelData
const ArrayColumn< Complex > & modelData() const
Definition MSMainColumns.h:233
casacore::MSMainColumns::uvwMeas
ScalarMeasColumn< Muvw > & uvwMeas()
Definition MSMainColumns.h:149
casacore::MSMainColumns::timeCentroidQuant
const ScalarQuantColumn< Double > & timeCentroidQuant() const
Definition MSMainColumns.h:211
casacore::MSMainColumns::lagData_p
ArrayColumn< Complex > lagData_p
Definition MSMainColumns.h:324
casacore::MSMainColumns::timeCentroidMeas
const ScalarMeasColumn< MEpoch > & timeCentroidMeas() const
Definition MSMainColumns.h:213
casacore::MSMainColumns::timeExtraPrec
const ScalarColumn< Double > & timeExtraPrec() const
Definition MSMainColumns.h:238
casacore::MSMainColumns::timeCentroidQuant
ScalarQuantColumn< Double > & timeCentroidQuant()
Definition MSMainColumns.h:142
casacore::MSMainColumns::observationId_p
ScalarColumn< Int > observationId_p
Definition MSMainColumns.h:309
casacore::MSMainColumns::weightSpectrumCorrected
const ArrayColumn< Float > & weightSpectrumCorrected() const
Definition MSMainColumns.h:248
casacore::MSMainColumns::timeQuant
ScalarQuantColumn< Double > & timeQuant()
Definition MSMainColumns.h:137
casacore::MSMainColumns::lagData
const ArrayColumn< Complex > & lagData() const
Definition MSMainColumns.h:232
casacore::MSMainColumns::pulsarGateId
const ScalarColumn< Int > & pulsarGateId() const
Definition MSMainColumns.h:236
casacore::MSMainColumns::uvw2Quant
const ArrayQuantColumn< Double > & uvw2Quant() const
Definition MSMainColumns.h:244
casacore::MSMainColumns::uvw2Meas
const ScalarMeasColumn< Muvw > & uvw2Meas() const
Definition MSMainColumns.h:242
casacore::MSMainColumns::pulsarGateId_p
ScalarColumn< Int > pulsarGateId_p
Definition MSMainColumns.h:327
casacore::MSMainColumns::antenna2_p
ScalarColumn< Int > antenna2_p
Definition MSMainColumns.h:298
casacore::MSMainColumns::timeMeas
const ScalarMeasColumn< MEpoch > & timeMeas() const
Definition MSMainColumns.h:208
casacore::MSMainColumns::uvw2_p
ArrayColumn< Double > uvw2_p
Definition MSMainColumns.h:330
casacore::MSMainColumns::feed1_p
ScalarColumn< Int > feed1_p
Definition MSMainColumns.h:302
casacore::MSMainColumns::scanNumber_p
ScalarColumn< Int > scanNumber_p
Definition MSMainColumns.h:311
casacore::MSMainColumns::setFlagCategories
void setFlagCategories(const Vector< String > &categories)
Set the flag category labels to the supplied values (in the CATEGORY keyword of the FLAG_CATEGORY col...
casacore::MSMainColumns::uvw
const ArrayColumn< Double > & uvw() const
Definition MSMainColumns.h:215
casacore::MSMainColumns::uvw2
ArrayColumn< Double > & uvw2()
Definition MSMainColumns.h:172
casacore::MSMainColumns::sigma
ArrayColumn< Float > & sigma()
Definition MSMainColumns.h:134
casacore::MSMainColumns::antenna2
ScalarColumn< Int > & antenna2()
Definition MSMainColumns.h:116
casacore::MSMainColumns::weightSpectrum
const ArrayColumn< Float > & weightSpectrum() const
Definition MSMainColumns.h:247
casacore::MSMainColumns::sigma_p
ArrayColumn< Float > sigma_p
Definition MSMainColumns.h:312
casacore::MSMainColumns::data
ArrayColumn< Complex > & data()
Definition MSMainColumns.h:159
casacore::MSMainColumns::flagRow_p
ScalarColumn< Bool > flagRow_p
Definition MSMainColumns.h:307
casacore::MSMainColumns::weightSpectrumCorrected_p
ArrayColumn< Float > weightSpectrumCorrected_p
Definition MSMainColumns.h:333
casacore::MSMainColumns::uvw2Quant_p
ArrayQuantColumn< Double > uvw2Quant_p
Definition MSMainColumns.h:355
casacore::MSMainColumns::uvwQuant_p
ArrayQuantColumn< Double > uvwQuant_p
Definition MSMainColumns.h:352
casacore::MSMainColumns::fieldId
ScalarColumn< Int > & fieldId()
Definition MSMainColumns.h:124
casacore::MSMainColumns::antenna3
ScalarColumn< Int > & antenna3()
Access to optional columns.
Definition MSMainColumns.h:156
casacore::MSMainColumns::timeQuant_p
ScalarQuantColumn< Double > timeQuant_p
Definition MSMainColumns.h:350
casacore::MSMainColumns::feed1
const ScalarColumn< Int > & feed1() const
Definition MSMainColumns.h:191
casacore::MSMainColumns::fieldId_p
ScalarColumn< Int > fieldId_p
Definition MSMainColumns.h:304
casacore::MSMainColumns::dataDescId
const ScalarColumn< Int > & dataDescId() const
Definition MSMainColumns.h:187
casacore::MSMainColumns::data
const ArrayColumn< Complex > & data() const
Definition MSMainColumns.h:228
casacore::MSMainColumns::timeMeas
ScalarMeasColumn< MEpoch > & timeMeas()
Definition MSMainColumns.h:139
casacore::MSMainColumns::timeExtraPrec_p
ScalarColumn< Double > timeExtraPrec_p
Definition MSMainColumns.h:329
casacore::MSMainColumns::flagCategory
const ArrayColumn< Bool > & flagCategory() const
Definition MSMainColumns.h:195
casacore::MSMainColumns::correctedData_p
ArrayColumn< Complex > correctedData_p
Definition MSMainColumns.h:336
casacore::MSMainColumns::setEpochRef
void setEpochRef(MEpoch::Types ref, Bool tableMustBeEmpty=True)
set the epoch type for the TIME and TIME_CENTROID columns.
casacore::MSMainColumns::~MSMainColumns
~MSMainColumns()
The desctructor does nothing special.
casacore::MSMainColumns::pulsarBin_p
ScalarColumn< Int > pulsarBin_p
Definition MSMainColumns.h:326
casacore::MSMainColumns::antenna3
const ScalarColumn< Int > & antenna3() const
Access to optional columns.
Definition MSMainColumns.h:225
casacore::MSMainColumns::processorId
ScalarColumn< Int > & processorId()
Definition MSMainColumns.h:132
casacore::MSMainColumns::uvw2Quant
ArrayQuantColumn< Double > & uvw2Quant()
Definition MSMainColumns.h:175
casacore::MSMainColumns::scanNumber
const ScalarColumn< Int > & scanNumber() const
Definition MSMainColumns.h:202
casacore::MSMainColumns::pulsarBin
const ScalarColumn< Int > & pulsarBin() const
Definition MSMainColumns.h:235
casacore::MSMainColumns::interval_p
ScalarColumn< Double > interval_p
Definition MSMainColumns.h:308
casacore::MSMainColumns::time
const ScalarColumn< Double > & time() const
Definition MSMainColumns.h:205
casacore::MSMainColumns::timeExtraPrecQuant
const ScalarQuantColumn< Double > & timeExtraPrecQuant() const
Definition MSMainColumns.h:239
casacore::MSMainColumns::antenna1
const ScalarColumn< Int > & antenna1() const
Const access to required columns.
Definition MSMainColumns.h:184
casacore::MSMainColumns::timeCentroidQuant_p
ScalarQuantColumn< Double > timeCentroidQuant_p
Definition MSMainColumns.h:351
casacore::MSMainColumns::attach
void attach(const MeasurementSet &ms)
casacore::MSMainColumns::uvw2Meas_p
ScalarMeasColumn< Muvw > uvw2Meas_p
Definition MSMainColumns.h:345
casacore::MSMainColumns::feed2
ScalarColumn< Int > & feed2()
Definition MSMainColumns.h:123
casacore::MSMainColumns::timeCentroid_p
ScalarColumn< Double > timeCentroid_p
Definition MSMainColumns.h:315
casacore::MSMainColumns::stateId
const ScalarColumn< Int > & stateId() const
Definition MSMainColumns.h:204
casacore::MSMainColumns::interval
ScalarColumn< Double > & interval()
Definition MSMainColumns.h:128
casacore::MSMainColumns::phaseId_p
ScalarColumn< Int > phaseId_p
Definition MSMainColumns.h:325
casacore::MSMainColumns::lagData
ArrayColumn< Complex > & lagData()
Definition MSMainColumns.h:163
casacore::MeasurementSet
Definition MeasurementSet.h:278
casacore::Muvw::Types
Types
Types of known Muvws Warning: The order defines the order in the translation matrix FromTo in the ge...
Definition Muvw.h:127
casacore::ScalarColumn
Definition ScalarColumn.h:83
casacore::ScalarMeasColumn
Definition ScalarMeasColumn.h:141
casacore::ScalarQuantColumn
Definition ScalarQuantColumn.h:118
casacore::String
String: the storage and methods of handling collections of characters.
Definition String.h:223
casacore::Vector
Definition Vector.h:82
casacore
this file contains all the compiler specific defines
Definition mainpage.dox:28
casacore::ref
const RecordRep & ref() const
Return a const reference to the underlying RecordRep.
casacore::ROMSMainColumns
MSMainColumns ROMSMainColumns
Definition MSMainColumns.h:360
casacore::Bool
bool Bool
Define the standard types used by Casacore.
Definition aipstype.h:40
casacore::True
const Bool True
Definition aipstype.h:41
casacore::rownr_t
uInt64 rownr_t
Define the type of a row number in a table.
Definition aipsxtype.h:44