casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::MSMainColumns Class Reference

A class for easy read-write access to MeasurementSet main table columns. More...

#include <MSMainColumns.h>

Inheritance diagram for casacore::MSMainColumns:
casacore::ROMSMainColumns casacore::MSColumns casacore::MSConcat VLAFiller

Public Member Functions

 MSMainColumns (MeasurementSet &ms)
 Create a columns object that accesses the data in the specified Table. More...
 
 ~MSMainColumns ()
 The desctructor does nothing special. More...
 
ScalarColumn< Int > & antenna1 ()
 Read-write access to required columns. More...
 
ScalarColumn< Int > & antenna2 ()
 
ScalarColumn< Int > & arrayId ()
 
ScalarColumn< Int > & dataDescId ()
 
ScalarColumn< Double > & exposure ()
 
ScalarQuantColumn< Double > & exposureQuant ()
 
ScalarColumn< Int > & feed1 ()
 
ScalarColumn< Int > & feed2 ()
 
ScalarColumn< Int > & fieldId ()
 
ArrayColumn< Bool > & flag ()
 
ArrayColumn< Bool > & flagCategory ()
 
ScalarColumn< Bool > & flagRow ()
 
ScalarColumn< Double > & interval ()
 
ScalarQuantColumn< Double > & intervalQuant ()
 
ScalarColumn< Int > & observationId ()
 
ScalarColumn< Int > & processorId ()
 
ScalarColumn< Int > & scanNumber ()
 
ArrayColumn< Float > & sigma ()
 
ScalarColumn< Int > & stateId ()
 
ScalarColumn< Double > & time ()
 
ScalarQuantColumn< Double > & timeQuant ()
 
ScalarMeasColumn< MEpoch > & timeMeas ()
 
ScalarColumn< Double > & timeCentroid ()
 
ScalarQuantColumn< Double > & timeCentroidQuant ()
 
ScalarMeasColumn< MEpoch > & timeCentroidMeas ()
 
ArrayColumn< Double > & uvw ()
 
ArrayQuantColumn< Double > & uvwQuant ()
 
ScalarMeasColumn< Muvw > & uvwMeas ()
 
ArrayColumn< Float > & weight ()
 
ScalarColumn< Int > & antenna3 ()
 Read-write access to optional columns. More...
 
ScalarColumn< Bool > & baselineRef ()
 
ArrayColumn< Complex > & correctedData ()
 
ArrayColumn< Complex > & data ()
 
ScalarColumn< Int > & feed3 ()
 
ArrayColumn< Float > & floatData ()
 
ArrayColumn< Float > & imagingWeight ()
 
ArrayColumn< Complex > & lagData ()
 
ArrayColumn< Complex > & modelData ()
 
ScalarColumn< Int > & phaseId ()
 
ScalarColumn< Int > & pulsarBin ()
 
ScalarColumn< Int > & pulsarGateId ()
 
ArrayColumn< Float > & sigmaSpectrum ()
 
ScalarColumn< Double > & timeExtraPrec ()
 
ScalarQuantColumn< Double > & timeExtraPrecQuant ()
 
ArrayColumn< Double > & uvw2 ()
 
ScalarMeasColumn< Muvw > & uvw2Meas ()
 
ArrayQuantColumn< Double > & uvw2Quant ()
 
ArrayColumn< Complex > & videoPoint ()
 
ArrayColumn< Float > & weightSpectrum ()
 
ArrayColumn< Float > & weightSpectrumCorrected ()
 
const ROScalarColumn< Int > & antenna1 () const
 Read-only access to required columns. More...
 
const ROScalarColumn< Int > & antenna2 () const
 
const ROScalarColumn< Int > & arrayId () const
 
const ROScalarColumn< Int > & dataDescId () const
 
const ROScalarColumn< Double > & exposure () const
 
const ROScalarQuantColumn
< Double > & 
exposureQuant () const
 
const ROScalarColumn< Int > & feed1 () const
 
const ROScalarColumn< Int > & feed2 () const
 
const ROScalarColumn< Int > & fieldId () const
 
const ROArrayColumn< Bool > & flag () const
 
const ROArrayColumn< Bool > & flagCategory () const
 
const ROScalarColumn< Bool > & flagRow () const
 
const ROScalarColumn< Double > & interval () const
 
const ROScalarQuantColumn
< Double > & 
intervalQuant () const
 
const ROScalarColumn< Int > & observationId () const
 
const ROScalarColumn< Int > & processorId () const
 
const ROScalarColumn< Int > & scanNumber () const
 
const ROArrayColumn< Float > & sigma () const
 
const ROScalarColumn< Int > & stateId () const
 
const ROScalarColumn< Double > & time () const
 
const ROScalarQuantColumn
< Double > & 
timeQuant () const
 
const ROScalarMeasColumn
< MEpoch > & 
timeMeas () const
 
const ROScalarColumn< Double > & timeCentroid () const
 
const ROScalarQuantColumn
< Double > & 
timeCentroidQuant () const
 
const ROScalarMeasColumn
< MEpoch > & 
timeCentroidMeas () const
 
const ROArrayColumn< Double > & uvw () const
 
const ROArrayQuantColumn
< Double > & 
uvwQuant () const
 
const ROScalarMeasColumn< Muvw > & uvwMeas () const
 
const ROArrayColumn< Float > & weight () const
 
const ROScalarColumn< Int > & antenna3 () const
 Read-only access to optional columns. More...
 
const ROScalarColumn< Bool > & baselineRef () const
 
const ROArrayColumn< Complex > & correctedData () const
 
const ROArrayColumn< Complex > & data () const
 
const ROScalarColumn< Int > & feed3 () const
 
const ROArrayColumn< Float > & floatData () const
 
const ROArrayColumn< Float > & imagingWeight () const
 
const ROArrayColumn< Complex > & lagData () const
 
const ROArrayColumn< Complex > & modelData () const
 
const ROScalarColumn< Int > & phaseId () const
 
const ROScalarColumn< Int > & pulsarBin () const
 
const ROScalarColumn< Int > & pulsarGateId () const
 
const ROArrayColumn< Float > & sigmaSpectrum () const
 
const ROScalarColumn< Double > & timeExtraPrec () const
 
const ROScalarQuantColumn
< Double > & 
timeExtraPrecQuant () const
 
const ROArrayColumn< Double > & uvw2 () const
 
const ROScalarMeasColumn< Muvw > & uvw2Meas () const
 
const ROArrayQuantColumn
< Double > & 
uvw2Quant () const
 
const ROArrayColumn< Complex > & videoPoint () const
 
const ROArrayColumn< Float > & weightSpectrum () const
 
const ROArrayColumn< Float > & weightSpectrumCorrected () const
 
void setEpochRef (MEpoch::Types ref, Bool tableMustBeEmpty=True)
 set the epoch type for the TIME and TIME_CENTROID columns. More...
 
void setUVWRef (Muvw::Types ref)
 set the UVW reference type for the UVW and UVW2 (if defined) columns. More...
 
void setFlagCategories (const Vector< String > &categories)
 Set the flag category labels to the supplied values (in the CATEGORY keyword of the FLAG_CATEGORY column). More...
 
- Public Member Functions inherited from casacore::ROMSMainColumns
 ROMSMainColumns (const MeasurementSet &ms)
 Create a columns object that accesses the data in the specified Table. More...
 
 ~ROMSMainColumns ()
 The desctructor does nothing special. More...
 
const ROScalarColumn< Int > & antenna1 () const
 Access to required columns. More...
 
const ROScalarColumn< Int > & antenna2 () const
 
const ROScalarColumn< Int > & arrayId () const
 
const ROScalarColumn< Int > & dataDescId () const
 
const ROScalarColumn< Double > & exposure () const
 
const ROScalarQuantColumn
< Double > & 
exposureQuant () const
 
const ROScalarColumn< Int > & feed1 () const
 
const ROScalarColumn< Int > & feed2 () const
 
const ROScalarColumn< Int > & fieldId () const
 
const ROArrayColumn< Bool > & flag () const
 
const ROArrayColumn< Bool > & flagCategory () const
 
const ROScalarColumn< Bool > & flagRow () const
 
const ROScalarColumn< Double > & interval () const
 
const ROScalarQuantColumn
< Double > & 
intervalQuant () const
 
const ROScalarColumn< Int > & observationId () const
 
const ROScalarColumn< Int > & processorId () const
 
const ROScalarColumn< Int > & scanNumber () const
 
const ROArrayColumn< Float > & sigma () const
 
const ROScalarColumn< Int > & stateId () const
 
const ROScalarColumn< Double > & time () const
 
const ROScalarQuantColumn
< Double > & 
timeQuant () const
 
const ROScalarMeasColumn
< MEpoch > & 
timeMeas () const
 
const ROScalarColumn< Double > & timeCentroid () const
 
const ROScalarQuantColumn
< Double > & 
timeCentroidQuant () const
 
const ROScalarMeasColumn
< MEpoch > & 
timeCentroidMeas () const
 
const ROArrayColumn< Double > & uvw () const
 
const ROArrayQuantColumn
< Double > & 
uvwQuant () const
 
const ROScalarMeasColumn< Muvw > & uvwMeas () const
 
const ROArrayColumn< Float > & weight () const
 
const ROScalarColumn< Int > & antenna3 () const
 Access to optional columns. More...
 
const ROScalarColumn< Bool > & baselineRef () const
 
const ROArrayColumn< Complex > & correctedData () const
 
const ROArrayColumn< Complex > & data () const
 
const ROScalarColumn< Int > & feed3 () const
 
const ROArrayColumn< Float > & floatData () const
 
const ROArrayColumn< Float > & imagingWeight () const
 
const ROArrayColumn< Complex > & lagData () const
 
const ROArrayColumn< Complex > & modelData () const
 
const ROScalarColumn< Int > & phaseId () const
 
const ROScalarColumn< Int > & pulsarBin () const
 
const ROScalarColumn< Int > & pulsarGateId () const
 
const ROArrayColumn< Float > & sigmaSpectrum () const
 
const ROScalarColumn< Double > & timeExtraPrec () const
 
const ROScalarQuantColumn
< Double > & 
timeExtraPrecQuant () const
 
const ROArrayColumn< Double > & uvw2 () const
 
const ROScalarMeasColumn< Muvw > & uvw2Meas () const
 
const ROArrayQuantColumn
< Double > & 
uvw2Quant () const
 
const ROArrayColumn< Complex > & videoPoint () const
 
const ROArrayColumn< Float > & weightSpectrum () const
 
const ROArrayColumn< Float > & weightSpectrumCorrected () const
 
uInt nrow () const
 Convenience function that returns the number of rows in any of the columns. More...
 
Vector< StringflagCategories () const
 Returns the category labels for the FLAG_CATEGORY column. More...
 

Protected Member Functions

 MSMainColumns ()
 
void attach (MeasurementSet &ms)
 
- Protected Member Functions inherited from casacore::ROMSMainColumns
 ROMSMainColumns ()
 
void attach (const MeasurementSet &ms)
 

Private Member Functions

 MSMainColumns (const MSMainColumns &)
 
MSMainColumnsoperator= (const MSMainColumns &)
 
void attachOptionalCols (MeasurementSet &ms)
 

Private Attributes

ScalarColumn< Intantenna1_p
 
ScalarColumn< Intantenna2_p
 
ScalarColumn< IntarrayId_p
 
ScalarColumn< IntdataDescId_p
 
ScalarColumn< Doubleexposure_p
 
ScalarColumn< Intfeed1_p
 
ScalarColumn< Intfeed2_p
 
ScalarColumn< IntfieldId_p
 
ArrayColumn< Boolflag_p
 
ArrayColumn< BoolflagCategory_p
 
ScalarColumn< BoolflagRow_p
 
ScalarColumn< Doubleinterval_p
 
ScalarColumn< IntobservationId_p
 
ScalarColumn< IntprocessorId_p
 
ScalarColumn< IntscanNumber_p
 
ArrayColumn< Floatsigma_p
 
ScalarColumn< IntstateId_p
 
ScalarColumn< Doubletime_p
 
ScalarColumn< DoubletimeCentroid_p
 
ArrayColumn< Doubleuvw_p
 
ArrayColumn< Floatweight_p
 
ScalarColumn< Intantenna3_p
 
ScalarColumn< BoolbaselineRef_p
 
ArrayColumn< Complex > data_p
 
ScalarColumn< Intfeed3_p
 
ArrayColumn< FloatfloatData_p
 
ArrayColumn< Complex > lagData_p
 
ScalarColumn< IntphaseId_p
 
ScalarColumn< IntpulsarBin_p
 
ScalarColumn< IntpulsarGateId_p
 
ArrayColumn< FloatsigmaSpectrum_p
 
ScalarColumn< DoubletimeExtraPrec_p
 
ArrayColumn< Doubleuvw2_p
 
ArrayColumn< Complex > videoPoint_p
 
ArrayColumn< FloatweightSpectrum_p
 
ArrayColumn< FloatweightSpectrumCorrected_p
 
ArrayColumn< Complex > correctedData_p
 
ArrayColumn< FloatimagingWeight_p
 
ArrayColumn< Complex > modelData_p
 
ScalarMeasColumn< MEpochtimeMeas_p
 
ScalarMeasColumn< MEpochtimeCentroidMeas_p
 
ScalarMeasColumn< MuvwuvwMeas_p
 
ScalarMeasColumn< Muvwuvw2Meas_p
 
ScalarQuantColumn< DoubleexposureQuant_p
 
ScalarQuantColumn< DoubleintervalQuant_p
 
ScalarQuantColumn< DoubletimeQuant_p
 
ScalarQuantColumn< DoubletimeCentroidQuant_p
 
ArrayQuantColumn< DoubleuvwQuant_p
 
ScalarQuantColumn< DoubletimeExtraPrecQuant_p
 
ArrayQuantColumn< Doubleuvw2Quant_p
 

Detailed Description

A class for easy read-write access to MeasurementSet main table columns.

Intended use:

Public interface

Review Status

Reviewed By:
Bob Garwood
Date Reviewed:
1997/02/01

Prerequisite

Etymology

MSMainColumns stands for MeasurementSet main Table columns.

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.
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;

Example

// 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");

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.

To Do

Definition at line 322 of file MSMainColumns.h.

Constructor & Destructor Documentation

casacore::MSMainColumns::MSMainColumns ( MeasurementSet ms)

Create a columns object that accesses the data in the specified Table.

casacore::MSMainColumns::~MSMainColumns ( )

The desctructor does nothing special.

casacore::MSMainColumns::MSMainColumns ( )
protected
casacore::MSMainColumns::MSMainColumns ( const MSMainColumns )
private

Member Function Documentation

ScalarColumn<Int>& casacore::MSMainColumns::antenna1 ( void  )
inline

Read-write access to required columns.

Definition at line 334 of file MSMainColumns.h.

References antenna1_p.

const ROScalarColumn<Int>& casacore::MSMainColumns::antenna1 ( void  ) const
inline

Read-only access to required columns.

Definition at line 403 of file MSMainColumns.h.

References casacore::ROMSMainColumns::antenna1().

ScalarColumn<Int>& casacore::MSMainColumns::antenna2 ( void  )
inline

Definition at line 335 of file MSMainColumns.h.

References antenna2_p.

const ROScalarColumn<Int>& casacore::MSMainColumns::antenna2 ( void  ) const
inline

Definition at line 405 of file MSMainColumns.h.

References casacore::ROMSMainColumns::antenna2().

ScalarColumn<Int>& casacore::MSMainColumns::antenna3 ( )
inline

Read-write access to optional columns.

Definition at line 375 of file MSMainColumns.h.

References antenna3_p.

const ROScalarColumn<Int>& casacore::MSMainColumns::antenna3 ( ) const
inline

Read-only access to optional columns.

Definition at line 465 of file MSMainColumns.h.

References casacore::ROMSMainColumns::antenna3().

ScalarColumn<Int>& casacore::MSMainColumns::arrayId ( )
inline

Definition at line 336 of file MSMainColumns.h.

References arrayId_p.

const ROScalarColumn<Int>& casacore::MSMainColumns::arrayId ( ) const
inline

Definition at line 407 of file MSMainColumns.h.

References casacore::ROMSMainColumns::arrayId().

void casacore::MSMainColumns::attach ( MeasurementSet ms)
protected
void casacore::MSMainColumns::attachOptionalCols ( MeasurementSet ms)
private
ScalarColumn<Bool>& casacore::MSMainColumns::baselineRef ( )
inline

Definition at line 376 of file MSMainColumns.h.

References baselineRef_p.

const ROScalarColumn<Bool>& casacore::MSMainColumns::baselineRef ( ) const
inline

Definition at line 467 of file MSMainColumns.h.

References casacore::ROMSMainColumns::baselineRef().

ArrayColumn<Complex>& casacore::MSMainColumns::correctedData ( )
inline

Definition at line 377 of file MSMainColumns.h.

References correctedData_p.

const ROArrayColumn<Complex>& casacore::MSMainColumns::correctedData ( ) const
inline

Definition at line 469 of file MSMainColumns.h.

References casacore::ROMSMainColumns::correctedData().

ArrayColumn<Complex>& casacore::MSMainColumns::data ( )
inline

Definition at line 378 of file MSMainColumns.h.

References data_p.

const ROArrayColumn<Complex>& casacore::MSMainColumns::data ( ) const
inline

Definition at line 471 of file MSMainColumns.h.

References casacore::ROMSMainColumns::data().

ScalarColumn<Int>& casacore::MSMainColumns::dataDescId ( )
inline

Definition at line 337 of file MSMainColumns.h.

References dataDescId_p.

const ROScalarColumn<Int>& casacore::MSMainColumns::dataDescId ( ) const
inline

Definition at line 409 of file MSMainColumns.h.

References casacore::ROMSMainColumns::dataDescId().

ScalarColumn<Double>& casacore::MSMainColumns::exposure ( )
inline

Definition at line 338 of file MSMainColumns.h.

References exposure_p.

const ROScalarColumn<Double>& casacore::MSMainColumns::exposure ( ) const
inline

Definition at line 411 of file MSMainColumns.h.

References casacore::ROMSMainColumns::exposure().

ScalarQuantColumn<Double>& casacore::MSMainColumns::exposureQuant ( )
inline

Definition at line 339 of file MSMainColumns.h.

References exposureQuant_p.

const ROScalarQuantColumn<Double>& casacore::MSMainColumns::exposureQuant ( ) const
inline

Definition at line 413 of file MSMainColumns.h.

References casacore::ROMSMainColumns::exposureQuant().

ScalarColumn<Int>& casacore::MSMainColumns::feed1 ( )
inline

Definition at line 341 of file MSMainColumns.h.

References feed1_p.

const ROScalarColumn<Int>& casacore::MSMainColumns::feed1 ( ) const
inline

Definition at line 415 of file MSMainColumns.h.

References casacore::ROMSMainColumns::feed1().

ScalarColumn<Int>& casacore::MSMainColumns::feed2 ( )
inline

Definition at line 342 of file MSMainColumns.h.

References feed2_p.

const ROScalarColumn<Int>& casacore::MSMainColumns::feed2 ( ) const
inline

Definition at line 417 of file MSMainColumns.h.

References casacore::ROMSMainColumns::feed2().

ScalarColumn<Int>& casacore::MSMainColumns::feed3 ( )
inline

Definition at line 379 of file MSMainColumns.h.

References feed3_p.

const ROScalarColumn<Int>& casacore::MSMainColumns::feed3 ( ) const
inline

Definition at line 473 of file MSMainColumns.h.

References casacore::ROMSMainColumns::feed3().

ScalarColumn<Int>& casacore::MSMainColumns::fieldId ( )
inline

Definition at line 343 of file MSMainColumns.h.

References fieldId_p.

const ROScalarColumn<Int>& casacore::MSMainColumns::fieldId ( ) const
inline

Definition at line 419 of file MSMainColumns.h.

References casacore::ROMSMainColumns::fieldId().

ArrayColumn<Bool>& casacore::MSMainColumns::flag ( )
inline

Definition at line 344 of file MSMainColumns.h.

References flag_p.

const ROArrayColumn<Bool>& casacore::MSMainColumns::flag ( ) const
inline

Definition at line 421 of file MSMainColumns.h.

References casacore::ROMSMainColumns::flag().

ArrayColumn<Bool>& casacore::MSMainColumns::flagCategory ( )
inline

Definition at line 345 of file MSMainColumns.h.

References flagCategory_p.

const ROArrayColumn<Bool>& casacore::MSMainColumns::flagCategory ( ) const
inline

Definition at line 423 of file MSMainColumns.h.

References casacore::ROMSMainColumns::flagCategory().

ScalarColumn<Bool>& casacore::MSMainColumns::flagRow ( )
inline

Definition at line 346 of file MSMainColumns.h.

References flagRow_p.

const ROScalarColumn<Bool>& casacore::MSMainColumns::flagRow ( ) const
inline

Definition at line 425 of file MSMainColumns.h.

References casacore::ROMSMainColumns::flagRow().

ArrayColumn<Float>& casacore::MSMainColumns::floatData ( )
inline

Definition at line 380 of file MSMainColumns.h.

References floatData_p.

const ROArrayColumn<Float>& casacore::MSMainColumns::floatData ( ) const
inline

Definition at line 475 of file MSMainColumns.h.

References casacore::ROMSMainColumns::floatData().

ArrayColumn<Float>& casacore::MSMainColumns::imagingWeight ( )
inline

Definition at line 381 of file MSMainColumns.h.

References imagingWeight_p.

const ROArrayColumn<Float>& casacore::MSMainColumns::imagingWeight ( ) const
inline

Definition at line 477 of file MSMainColumns.h.

References casacore::ROMSMainColumns::imagingWeight().

ScalarColumn<Double>& casacore::MSMainColumns::interval ( )
inline

Definition at line 347 of file MSMainColumns.h.

References interval_p.

const ROScalarColumn<Double>& casacore::MSMainColumns::interval ( ) const
inline

Definition at line 427 of file MSMainColumns.h.

References casacore::ROMSMainColumns::interval().

ScalarQuantColumn<Double>& casacore::MSMainColumns::intervalQuant ( )
inline

Definition at line 348 of file MSMainColumns.h.

References intervalQuant_p.

const ROScalarQuantColumn<Double>& casacore::MSMainColumns::intervalQuant ( ) const
inline

Definition at line 429 of file MSMainColumns.h.

References casacore::ROMSMainColumns::intervalQuant().

ArrayColumn<Complex>& casacore::MSMainColumns::lagData ( )
inline

Definition at line 382 of file MSMainColumns.h.

References lagData_p.

const ROArrayColumn<Complex>& casacore::MSMainColumns::lagData ( ) const
inline

Definition at line 479 of file MSMainColumns.h.

References casacore::ROMSMainColumns::lagData().

ArrayColumn<Complex>& casacore::MSMainColumns::modelData ( )
inline

Definition at line 383 of file MSMainColumns.h.

References modelData_p.

const ROArrayColumn<Complex>& casacore::MSMainColumns::modelData ( ) const
inline

Definition at line 481 of file MSMainColumns.h.

References casacore::ROMSMainColumns::modelData().

ScalarColumn<Int>& casacore::MSMainColumns::observationId ( )
inline

Definition at line 350 of file MSMainColumns.h.

References observationId_p.

const ROScalarColumn<Int>& casacore::MSMainColumns::observationId ( ) const
inline

Definition at line 431 of file MSMainColumns.h.

References casacore::ROMSMainColumns::observationId().

MSMainColumns& casacore::MSMainColumns::operator= ( const MSMainColumns )
private
ScalarColumn<Int>& casacore::MSMainColumns::phaseId ( )
inline

Definition at line 384 of file MSMainColumns.h.

References phaseId_p.

const ROScalarColumn<Int>& casacore::MSMainColumns::phaseId ( ) const
inline

Definition at line 483 of file MSMainColumns.h.

References casacore::ROMSMainColumns::phaseId().

ScalarColumn<Int>& casacore::MSMainColumns::processorId ( )
inline

Definition at line 351 of file MSMainColumns.h.

References processorId_p.

const ROScalarColumn<Int>& casacore::MSMainColumns::processorId ( ) const
inline

Definition at line 433 of file MSMainColumns.h.

References casacore::ROMSMainColumns::processorId().

ScalarColumn<Int>& casacore::MSMainColumns::pulsarBin ( )
inline

Definition at line 385 of file MSMainColumns.h.

References pulsarBin_p.

const ROScalarColumn<Int>& casacore::MSMainColumns::pulsarBin ( ) const
inline

Definition at line 485 of file MSMainColumns.h.

References casacore::ROMSMainColumns::pulsarBin().

ScalarColumn<Int>& casacore::MSMainColumns::pulsarGateId ( )
inline

Definition at line 386 of file MSMainColumns.h.

References pulsarGateId_p.

const ROScalarColumn<Int>& casacore::MSMainColumns::pulsarGateId ( ) const
inline

Definition at line 487 of file MSMainColumns.h.

References casacore::ROMSMainColumns::pulsarGateId().

ScalarColumn<Int>& casacore::MSMainColumns::scanNumber ( )
inline

Definition at line 352 of file MSMainColumns.h.

References scanNumber_p.

const ROScalarColumn<Int>& casacore::MSMainColumns::scanNumber ( ) const
inline

Definition at line 435 of file MSMainColumns.h.

References casacore::ROMSMainColumns::scanNumber().

void casacore::MSMainColumns::setEpochRef ( MEpoch::Types  ref,
Bool  tableMustBeEmpty = True 
)

set the epoch type for the TIME and TIME_CENTROID columns.


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 tableMustBeEmpty argument;

void casacore::MSMainColumns::setFlagCategories ( const Vector< String > &  categories)

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 casacore::MSMainColumns::setUVWRef ( Muvw::Types  ref)

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.

ArrayColumn<Float>& casacore::MSMainColumns::sigma ( )
inline

Definition at line 353 of file MSMainColumns.h.

References sigma_p.

const ROArrayColumn<Float>& casacore::MSMainColumns::sigma ( ) const
inline

Definition at line 437 of file MSMainColumns.h.

References casacore::ROMSMainColumns::sigma().

ArrayColumn<Float>& casacore::MSMainColumns::sigmaSpectrum ( )
inline

Definition at line 387 of file MSMainColumns.h.

References sigmaSpectrum_p.

const ROArrayColumn<Float>& casacore::MSMainColumns::sigmaSpectrum ( ) const
inline

Definition at line 489 of file MSMainColumns.h.

References casacore::ROMSMainColumns::sigmaSpectrum().

ScalarColumn<Int>& casacore::MSMainColumns::stateId ( )
inline

Definition at line 354 of file MSMainColumns.h.

References stateId_p.

const ROScalarColumn<Int>& casacore::MSMainColumns::stateId ( ) const
inline

Definition at line 439 of file MSMainColumns.h.

References casacore::ROMSMainColumns::stateId().

ScalarColumn<Double>& casacore::MSMainColumns::time ( void  )
inline

Definition at line 355 of file MSMainColumns.h.

References time_p.

const ROScalarColumn<Double>& casacore::MSMainColumns::time ( void  ) const
inline

Definition at line 441 of file MSMainColumns.h.

References casacore::ROMSMainColumns::time().

ScalarColumn<Double>& casacore::MSMainColumns::timeCentroid ( )
inline

Definition at line 360 of file MSMainColumns.h.

References timeCentroid_p.

const ROScalarColumn<Double>& casacore::MSMainColumns::timeCentroid ( ) const
inline

Definition at line 447 of file MSMainColumns.h.

References casacore::ROMSMainColumns::timeCentroid().

ScalarMeasColumn<MEpoch>& casacore::MSMainColumns::timeCentroidMeas ( )
inline

Definition at line 363 of file MSMainColumns.h.

References timeCentroidMeas_p.

const ROScalarMeasColumn<MEpoch>& casacore::MSMainColumns::timeCentroidMeas ( ) const
inline

Definition at line 451 of file MSMainColumns.h.

References casacore::ROMSMainColumns::timeCentroidMeas().

ScalarQuantColumn<Double>& casacore::MSMainColumns::timeCentroidQuant ( )
inline

Definition at line 361 of file MSMainColumns.h.

References timeCentroidQuant_p.

const ROScalarQuantColumn<Double>& casacore::MSMainColumns::timeCentroidQuant ( ) const
inline

Definition at line 449 of file MSMainColumns.h.

References casacore::ROMSMainColumns::timeCentroidQuant().

ScalarColumn<Double>& casacore::MSMainColumns::timeExtraPrec ( )
inline

Definition at line 388 of file MSMainColumns.h.

References timeExtraPrec_p.

const ROScalarColumn<Double>& casacore::MSMainColumns::timeExtraPrec ( ) const
inline

Definition at line 491 of file MSMainColumns.h.

References casacore::ROMSMainColumns::timeExtraPrec().

ScalarQuantColumn<Double>& casacore::MSMainColumns::timeExtraPrecQuant ( )
inline

Definition at line 389 of file MSMainColumns.h.

References timeExtraPrecQuant_p.

const ROScalarQuantColumn<Double>& casacore::MSMainColumns::timeExtraPrecQuant ( ) const
inline

Definition at line 493 of file MSMainColumns.h.

References casacore::ROMSMainColumns::timeExtraPrecQuant().

ScalarMeasColumn<MEpoch>& casacore::MSMainColumns::timeMeas ( )
inline

Definition at line 358 of file MSMainColumns.h.

References timeMeas_p.

const ROScalarMeasColumn<MEpoch>& casacore::MSMainColumns::timeMeas ( ) const
inline

Definition at line 445 of file MSMainColumns.h.

References casacore::ROMSMainColumns::timeMeas().

ScalarQuantColumn<Double>& casacore::MSMainColumns::timeQuant ( )
inline

Definition at line 356 of file MSMainColumns.h.

References timeQuant_p.

const ROScalarQuantColumn<Double>& casacore::MSMainColumns::timeQuant ( ) const
inline

Definition at line 443 of file MSMainColumns.h.

References casacore::ROMSMainColumns::timeQuant().

ArrayColumn<Double>& casacore::MSMainColumns::uvw ( )
inline

Definition at line 365 of file MSMainColumns.h.

References uvw_p.

const ROArrayColumn<Double>& casacore::MSMainColumns::uvw ( ) const
inline

Definition at line 453 of file MSMainColumns.h.

References casacore::ROMSMainColumns::uvw().

ArrayColumn<Double>& casacore::MSMainColumns::uvw2 ( )
inline

Definition at line 391 of file MSMainColumns.h.

References uvw2_p.

const ROArrayColumn<Double>& casacore::MSMainColumns::uvw2 ( ) const
inline

Definition at line 495 of file MSMainColumns.h.

References casacore::ROMSMainColumns::uvw2().

ScalarMeasColumn<Muvw>& casacore::MSMainColumns::uvw2Meas ( )
inline

Definition at line 392 of file MSMainColumns.h.

References uvw2Meas_p.

const ROScalarMeasColumn<Muvw>& casacore::MSMainColumns::uvw2Meas ( ) const
inline

Definition at line 497 of file MSMainColumns.h.

References casacore::ROMSMainColumns::uvw2Meas().

ArrayQuantColumn<Double>& casacore::MSMainColumns::uvw2Quant ( )
inline

Definition at line 394 of file MSMainColumns.h.

References uvw2Quant_p.

const ROArrayQuantColumn<Double>& casacore::MSMainColumns::uvw2Quant ( ) const
inline

Definition at line 499 of file MSMainColumns.h.

References casacore::ROMSMainColumns::uvw2Quant().

ScalarMeasColumn<Muvw>& casacore::MSMainColumns::uvwMeas ( )
inline

Definition at line 368 of file MSMainColumns.h.

References uvwMeas_p.

const ROScalarMeasColumn<Muvw>& casacore::MSMainColumns::uvwMeas ( ) const
inline

Definition at line 457 of file MSMainColumns.h.

References casacore::ROMSMainColumns::uvwMeas().

ArrayQuantColumn<Double>& casacore::MSMainColumns::uvwQuant ( )
inline

Definition at line 366 of file MSMainColumns.h.

References uvwQuant_p.

const ROArrayQuantColumn<Double>& casacore::MSMainColumns::uvwQuant ( ) const
inline

Definition at line 455 of file MSMainColumns.h.

References casacore::ROMSMainColumns::uvwQuant().

ArrayColumn<Complex>& casacore::MSMainColumns::videoPoint ( )
inline

Definition at line 396 of file MSMainColumns.h.

References videoPoint_p.

const ROArrayColumn<Complex>& casacore::MSMainColumns::videoPoint ( ) const
inline

Definition at line 501 of file MSMainColumns.h.

References casacore::ROMSMainColumns::videoPoint().

ArrayColumn<Float>& casacore::MSMainColumns::weight ( )
inline

Definition at line 370 of file MSMainColumns.h.

References weight_p.

const ROArrayColumn<Float>& casacore::MSMainColumns::weight ( ) const
inline

Definition at line 459 of file MSMainColumns.h.

References casacore::ROMSMainColumns::weight().

ArrayColumn<Float>& casacore::MSMainColumns::weightSpectrum ( )
inline

Definition at line 397 of file MSMainColumns.h.

References weightSpectrum_p.

const ROArrayColumn<Float>& casacore::MSMainColumns::weightSpectrum ( ) const
inline

Definition at line 503 of file MSMainColumns.h.

References casacore::ROMSMainColumns::weightSpectrum().

ArrayColumn<Float>& casacore::MSMainColumns::weightSpectrumCorrected ( )
inline

Definition at line 398 of file MSMainColumns.h.

References weightSpectrumCorrected_p.

const ROArrayColumn<Float>& casacore::MSMainColumns::weightSpectrumCorrected ( ) const
inline

Member Data Documentation

ScalarColumn<Int> casacore::MSMainColumns::antenna1_p
private

Definition at line 549 of file MSMainColumns.h.

Referenced by antenna1().

ScalarColumn<Int> casacore::MSMainColumns::antenna2_p
private

Definition at line 550 of file MSMainColumns.h.

Referenced by antenna2().

ScalarColumn<Int> casacore::MSMainColumns::antenna3_p
private

Definition at line 571 of file MSMainColumns.h.

Referenced by antenna3().

ScalarColumn<Int> casacore::MSMainColumns::arrayId_p
private

Definition at line 551 of file MSMainColumns.h.

Referenced by arrayId().

ScalarColumn<Bool> casacore::MSMainColumns::baselineRef_p
private

Definition at line 572 of file MSMainColumns.h.

Referenced by baselineRef().

ArrayColumn<Complex> casacore::MSMainColumns::correctedData_p
private

Definition at line 588 of file MSMainColumns.h.

Referenced by correctedData().

ArrayColumn<Complex> casacore::MSMainColumns::data_p
private

Definition at line 573 of file MSMainColumns.h.

Referenced by data().

ScalarColumn<Int> casacore::MSMainColumns::dataDescId_p
private

Definition at line 552 of file MSMainColumns.h.

Referenced by dataDescId().

ScalarColumn<Double> casacore::MSMainColumns::exposure_p
private

Definition at line 553 of file MSMainColumns.h.

Referenced by exposure().

ScalarQuantColumn<Double> casacore::MSMainColumns::exposureQuant_p
private

Definition at line 600 of file MSMainColumns.h.

Referenced by exposureQuant().

ScalarColumn<Int> casacore::MSMainColumns::feed1_p
private

Definition at line 554 of file MSMainColumns.h.

Referenced by feed1().

ScalarColumn<Int> casacore::MSMainColumns::feed2_p
private

Definition at line 555 of file MSMainColumns.h.

Referenced by feed2().

ScalarColumn<Int> casacore::MSMainColumns::feed3_p
private

Definition at line 574 of file MSMainColumns.h.

Referenced by feed3().

ScalarColumn<Int> casacore::MSMainColumns::fieldId_p
private

Definition at line 556 of file MSMainColumns.h.

Referenced by fieldId().

ArrayColumn<Bool> casacore::MSMainColumns::flag_p
private

Definition at line 557 of file MSMainColumns.h.

Referenced by flag().

ArrayColumn<Bool> casacore::MSMainColumns::flagCategory_p
private

Definition at line 558 of file MSMainColumns.h.

Referenced by flagCategory().

ScalarColumn<Bool> casacore::MSMainColumns::flagRow_p
private

Definition at line 559 of file MSMainColumns.h.

Referenced by flagRow().

ArrayColumn<Float> casacore::MSMainColumns::floatData_p
private

Definition at line 575 of file MSMainColumns.h.

Referenced by floatData().

ArrayColumn<Float> casacore::MSMainColumns::imagingWeight_p
private

Definition at line 589 of file MSMainColumns.h.

Referenced by imagingWeight().

ScalarColumn<Double> casacore::MSMainColumns::interval_p
private

Definition at line 560 of file MSMainColumns.h.

Referenced by interval().

ScalarQuantColumn<Double> casacore::MSMainColumns::intervalQuant_p
private

Definition at line 601 of file MSMainColumns.h.

Referenced by intervalQuant().

ArrayColumn<Complex> casacore::MSMainColumns::lagData_p
private

Definition at line 576 of file MSMainColumns.h.

Referenced by lagData().

ArrayColumn<Complex> casacore::MSMainColumns::modelData_p
private

Definition at line 590 of file MSMainColumns.h.

Referenced by modelData().

ScalarColumn<Int> casacore::MSMainColumns::observationId_p
private

Definition at line 561 of file MSMainColumns.h.

Referenced by observationId().

ScalarColumn<Int> casacore::MSMainColumns::phaseId_p
private

Definition at line 577 of file MSMainColumns.h.

Referenced by phaseId().

ScalarColumn<Int> casacore::MSMainColumns::processorId_p
private

Definition at line 562 of file MSMainColumns.h.

Referenced by processorId().

ScalarColumn<Int> casacore::MSMainColumns::pulsarBin_p
private

Definition at line 578 of file MSMainColumns.h.

Referenced by pulsarBin().

ScalarColumn<Int> casacore::MSMainColumns::pulsarGateId_p
private

Definition at line 579 of file MSMainColumns.h.

Referenced by pulsarGateId().

ScalarColumn<Int> casacore::MSMainColumns::scanNumber_p
private

Definition at line 563 of file MSMainColumns.h.

Referenced by scanNumber().

ArrayColumn<Float> casacore::MSMainColumns::sigma_p
private

Definition at line 564 of file MSMainColumns.h.

Referenced by sigma().

ArrayColumn<Float> casacore::MSMainColumns::sigmaSpectrum_p
private

Definition at line 580 of file MSMainColumns.h.

Referenced by sigmaSpectrum().

ScalarColumn<Int> casacore::MSMainColumns::stateId_p
private

Definition at line 565 of file MSMainColumns.h.

Referenced by stateId().

ScalarColumn<Double> casacore::MSMainColumns::time_p
private

Definition at line 566 of file MSMainColumns.h.

Referenced by time().

ScalarColumn<Double> casacore::MSMainColumns::timeCentroid_p
private

Definition at line 567 of file MSMainColumns.h.

Referenced by timeCentroid().

ScalarMeasColumn<MEpoch> casacore::MSMainColumns::timeCentroidMeas_p
private

Definition at line 594 of file MSMainColumns.h.

Referenced by timeCentroidMeas().

ScalarQuantColumn<Double> casacore::MSMainColumns::timeCentroidQuant_p
private

Definition at line 603 of file MSMainColumns.h.

Referenced by timeCentroidQuant().

ScalarColumn<Double> casacore::MSMainColumns::timeExtraPrec_p
private

Definition at line 581 of file MSMainColumns.h.

Referenced by timeExtraPrec().

ScalarQuantColumn<Double> casacore::MSMainColumns::timeExtraPrecQuant_p
private

Definition at line 606 of file MSMainColumns.h.

Referenced by timeExtraPrecQuant().

ScalarMeasColumn<MEpoch> casacore::MSMainColumns::timeMeas_p
private

Definition at line 593 of file MSMainColumns.h.

Referenced by timeMeas().

ScalarQuantColumn<Double> casacore::MSMainColumns::timeQuant_p
private

Definition at line 602 of file MSMainColumns.h.

Referenced by timeQuant().

ArrayColumn<Double> casacore::MSMainColumns::uvw2_p
private

Definition at line 582 of file MSMainColumns.h.

Referenced by uvw2().

ScalarMeasColumn<Muvw> casacore::MSMainColumns::uvw2Meas_p
private

Definition at line 597 of file MSMainColumns.h.

Referenced by uvw2Meas().

ArrayQuantColumn<Double> casacore::MSMainColumns::uvw2Quant_p
private

Definition at line 607 of file MSMainColumns.h.

Referenced by uvw2Quant().

ArrayColumn<Double> casacore::MSMainColumns::uvw_p
private

Definition at line 568 of file MSMainColumns.h.

Referenced by uvw().

ScalarMeasColumn<Muvw> casacore::MSMainColumns::uvwMeas_p
private

Definition at line 595 of file MSMainColumns.h.

Referenced by uvwMeas().

ArrayQuantColumn<Double> casacore::MSMainColumns::uvwQuant_p
private

Definition at line 604 of file MSMainColumns.h.

Referenced by uvwQuant().

ArrayColumn<Complex> casacore::MSMainColumns::videoPoint_p
private

Definition at line 583 of file MSMainColumns.h.

Referenced by videoPoint().

ArrayColumn<Float> casacore::MSMainColumns::weight_p
private

Definition at line 569 of file MSMainColumns.h.

Referenced by weight().

ArrayColumn<Float> casacore::MSMainColumns::weightSpectrum_p
private

Definition at line 584 of file MSMainColumns.h.

Referenced by weightSpectrum().

ArrayColumn<Float> casacore::MSMainColumns::weightSpectrumCorrected_p
private

Definition at line 585 of file MSMainColumns.h.

Referenced by weightSpectrumCorrected().


The documentation for this class was generated from the following file: