casa
5.7.0-16
|
A class to provide easy read-write access to MSSpectralWindow columns. More...
#include <MSSpWindowColumns.h>
Public Member Functions | |
MSSpWindowColumns (MSSpectralWindow &msSpWindow) | |
Create a columns object that accesses the data in the specified Table. More... | |
~MSSpWindowColumns () | |
The destructor does nothing special. More... | |
ArrayColumn< Double > & | chanFreq () |
Read-write access to required columns. More... | |
ArrayMeasColumn< MFrequency > & | chanFreqMeas () |
ArrayQuantColumn< Double > & | chanFreqQuant () |
ArrayColumn< Double > & | chanWidth () |
ArrayQuantColumn< Double > & | chanWidthQuant () |
ArrayColumn< Double > & | effectiveBW () |
ArrayQuantColumn< Double > & | effectiveBWQuant () |
ScalarColumn< Bool > & | flagRow () |
ScalarColumn< Int > & | freqGroup () |
ScalarColumn< String > & | freqGroupName () |
ScalarColumn< Int > & | ifConvChain () |
ScalarColumn< Int > & | measFreqRef () |
ScalarColumn< String > & | name () |
ScalarColumn< Int > & | netSideband () |
ScalarColumn< Int > & | numChan () |
ScalarColumn< Double > & | refFrequency () |
ScalarQuantColumn< Double > & | refFrequencyQuant () |
ScalarMeasColumn< MFrequency > & | refFrequencyMeas () |
ArrayColumn< Double > & | resolution () |
ArrayQuantColumn< Double > & | resolutionQuant () |
ScalarColumn< Double > & | totalBandwidth () |
ScalarQuantColumn< Double > & | totalBandwidthQuant () |
ArrayColumn< String > & | assocNature () |
Read-write access to optional columns. More... | |
ArrayColumn< Int > & | assocSpwId () |
ScalarColumn< Int > & | bbcNo () |
ScalarColumn< Int > & | bbcSideband () |
ScalarColumn< Int > & | dopplerId () |
ScalarColumn< Int > & | receiverId () |
const ROArrayColumn< Double > & | chanFreq () const |
Read-only access to required columns. More... | |
const ROArrayQuantColumn < Double > & | chanFreqQuant () const |
const ROArrayMeasColumn < MFrequency > & | chanFreqMeas () const |
const ROArrayColumn< Double > & | chanWidth () const |
const ROArrayQuantColumn < Double > & | chanWidthQuant () const |
const ROArrayColumn< Double > & | effectiveBW () const |
const ROArrayQuantColumn < Double > & | effectiveBWQuant () const |
const ROScalarColumn< Int > & | freqGroup () const |
const ROScalarColumn< String > & | freqGroupName () const |
const ROScalarColumn< Int > & | ifConvChain () const |
const ROScalarColumn< Bool > & | flagRow () const |
const ROScalarColumn< Int > & | measFreqRef () const |
const ROScalarColumn< String > & | name () const |
const ROScalarColumn< Int > & | netSideband () const |
const ROScalarColumn< Int > & | numChan () const |
const ROScalarColumn< Double > & | refFrequency () const |
const ROScalarQuantColumn < Double > & | refFrequencyQuant () const |
const ROScalarMeasColumn < MFrequency > & | refFrequencyMeas () const |
const ROArrayColumn< Double > & | resolution () const |
const ROArrayQuantColumn < Double > & | resolutionQuant () const |
const ROScalarColumn< Double > & | totalBandwidth () const |
const ROScalarQuantColumn < Double > & | totalBandwidthQuant () const |
const ROArrayColumn< String > & | assocNature () const |
Read-only access to optional columns. More... | |
const ROArrayColumn< Int > & | assocSpwId () const |
const ROScalarColumn< Int > & | bbcNo () const |
const ROScalarColumn< Int > & | bbcSideband () const |
const ROScalarColumn< Int > & | dopplerId () const |
const ROScalarColumn< Int > & | receiverId () const |
Public Member Functions inherited from casacore::ROMSSpWindowColumns | |
ROMSSpWindowColumns (const MSSpectralWindow &msSpWindow) | |
Create a columns object that accesses the data in the specified Table. More... | |
~ROMSSpWindowColumns () | |
The destructor does nothing special. More... | |
const ROArrayColumn< Double > & | chanFreq () const |
Access to columns. More... | |
const ROArrayQuantColumn < Double > & | chanFreqQuant () const |
const ROArrayMeasColumn < MFrequency > & | chanFreqMeas () const |
const ROArrayColumn< Double > & | chanWidth () const |
const ROArrayQuantColumn < Double > & | chanWidthQuant () const |
const ROArrayColumn< Double > & | effectiveBW () const |
const ROArrayQuantColumn < Double > & | effectiveBWQuant () const |
const ROScalarColumn< Int > & | freqGroup () const |
const ROScalarColumn< String > & | freqGroupName () const |
const ROScalarColumn< Int > & | ifConvChain () const |
const ROScalarColumn< Bool > & | flagRow () const |
const ROScalarColumn< Int > & | measFreqRef () const |
const ROScalarColumn< String > & | name () const |
const ROScalarColumn< Int > & | netSideband () const |
const ROScalarColumn< Int > & | numChan () const |
const ROScalarColumn< Double > & | refFrequency () const |
const ROScalarQuantColumn < Double > & | refFrequencyQuant () const |
const ROScalarMeasColumn < MFrequency > & | refFrequencyMeas () const |
const ROArrayColumn< Double > & | resolution () const |
const ROArrayQuantColumn < Double > & | resolutionQuant () const |
const ROScalarColumn< Double > & | totalBandwidth () const |
const ROScalarQuantColumn < Double > & | totalBandwidthQuant () const |
const ROArrayColumn< String > & | assocNature () const |
Access to optional columns. More... | |
const ROArrayColumn< Int > & | assocSpwId () const |
const ROScalarColumn< Int > & | bbcNo () const |
const ROScalarColumn< Int > & | bbcSideband () const |
const ROScalarColumn< Int > & | dopplerId () const |
const ROScalarColumn< Int > & | receiverId () const |
uInt | nrow () const |
Convenience function that returns the number of rows in any of the columns. More... | |
Int | matchSpw (const MFrequency &refFreq, uInt nChan, const Quantum< Double > &bandwidth, Int ifChain, const Quantum< Double > &tolerance, Int tryRow=-1) const |
returns the last row that contains a spectral window that has the specified reference frequency, number of channels, total-bandwidth and IF conversion chain. More... | |
Int | matchSpw (const MFrequency &refFreq, const MFrequency &chanFreq1, const MeasFrame &measFrm, const MSDopplerColumns &msdopc, const MSSourceColumns &mssrcc, uInt nChan, const Quantum< Double > &bandwidth, Int ifChain, const Quantum< Double > &tolerance, Int tryRow=-1) const |
Similar to above, but also pass in the frame info. More... | |
Vector< Int > | allMatchedSpw (const MFrequency &refFreq, uInt nChan, const Quantum< Double > &bandwidth, Int ifChain, const Quantum< Double > &tolerance) const |
This is to check that the channels are matched individually and also if the spw is matched in reverse;. More... | |
Int | matchSpw (const MFrequency &refFreq, uInt nChan, const Quantum< Double > &bandwidth, Int ifChain, const Quantum< Double > &tolerance, Vector< Double > &otherFreqs, Bool &reversed) const |
This version does a channel to channel match too and also return the reversed if it matches but the channels are in inverse order like an upper or lower side band having same characteristics. More... | |
Protected Member Functions | |
MSSpWindowColumns () | |
void | attach (MSSpectralWindow &msSpWindow) |
Protected Member Functions inherited from casacore::ROMSSpWindowColumns | |
ROMSSpWindowColumns () | |
void | attach (const MSSpectralWindow &msSpWindow) |
Private Member Functions | |
MSSpWindowColumns (const MSSpWindowColumns &) | |
MSSpWindowColumns & | operator= (const MSSpWindowColumns &) |
void | attachOptionalCols (MSSpectralWindow &msSpWindow) |
A class to provide easy read-write access to MSSpectralWindow columns.
Public interface
MSSpectralWindowColumns stands for MeasurementSet SpectralWindow Table columns.
This class provides access to the columns in the MSSpectralWindow Table, 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. See MSColumns for an example.
See MSColumns for the motivation.
Definition at line 283 of file MSSpWindowColumns.h.
casacore::MSSpWindowColumns::MSSpWindowColumns | ( | MSSpectralWindow & | msSpWindow | ) |
Create a columns object that accesses the data in the specified Table.
casacore::MSSpWindowColumns::~MSSpWindowColumns | ( | ) |
The destructor does nothing special.
|
protected |
|
private |
|
inline |
Read-write access to optional columns.
Definition at line 321 of file MSSpWindowColumns.h.
References assocNature_p.
|
inline |
Read-only access to optional columns.
Definition at line 379 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::assocNature().
|
inline |
Definition at line 322 of file MSSpWindowColumns.h.
References assocSpwId_p.
|
inline |
Definition at line 381 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::assocSpwId().
|
protected |
|
private |
|
inline |
Definition at line 323 of file MSSpWindowColumns.h.
References bbcNo_p.
|
inline |
Definition at line 383 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::bbcNo().
|
inline |
Definition at line 324 of file MSSpWindowColumns.h.
References bbcSideband_p.
|
inline |
Definition at line 385 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::bbcSideband().
|
inline |
Read-write access to required columns.
Definition at line 294 of file MSSpWindowColumns.h.
References chanFreq_p.
Referenced by casa::sdfiller::SpectralWindowRecord::add(), and casa::sdfiller::SpectralWindowRecord::fill().
|
inline |
Read-only access to required columns.
Definition at line 331 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::chanFreq().
|
inline |
Definition at line 295 of file MSSpWindowColumns.h.
References chanFreqMeas_p.
|
inline |
Definition at line 335 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::chanFreqMeas().
|
inline |
Definition at line 296 of file MSSpWindowColumns.h.
References chanFreqQuant_p.
|
inline |
Definition at line 333 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::chanFreqQuant().
|
inline |
Definition at line 297 of file MSSpWindowColumns.h.
References chanWidth_p.
Referenced by casa::sdfiller::SpectralWindowRecord::add(), and casa::sdfiller::SpectralWindowRecord::fill().
|
inline |
Definition at line 337 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::chanWidth().
|
inline |
Definition at line 298 of file MSSpWindowColumns.h.
References chanWidthQuant_p.
|
inline |
Definition at line 339 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::chanWidthQuant().
|
inline |
Definition at line 325 of file MSSpWindowColumns.h.
References dopplerId_p.
|
inline |
Definition at line 387 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::dopplerId().
|
inline |
Definition at line 299 of file MSSpWindowColumns.h.
References effectiveBW_p.
Referenced by casa::sdfiller::SpectralWindowRecord::add(), and casa::sdfiller::SpectralWindowRecord::fill().
|
inline |
Definition at line 341 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::effectiveBW().
|
inline |
Definition at line 300 of file MSSpWindowColumns.h.
References effectiveBWQuant_p.
|
inline |
Definition at line 343 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::effectiveBWQuant().
|
inline |
Definition at line 301 of file MSSpWindowColumns.h.
References flagRow_p.
|
inline |
Definition at line 351 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::flagRow().
|
inline |
Definition at line 302 of file MSSpWindowColumns.h.
References freqGroup_p.
|
inline |
Definition at line 345 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::freqGroup().
|
inline |
Definition at line 303 of file MSSpWindowColumns.h.
References freqGroupName_p.
|
inline |
Definition at line 347 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::freqGroupName().
|
inline |
Definition at line 304 of file MSSpWindowColumns.h.
References ifConvChain_p.
|
inline |
Definition at line 349 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::ifConvChain().
|
inline |
Definition at line 305 of file MSSpWindowColumns.h.
References measFreqRef_p.
Referenced by casa::sdfiller::SpectralWindowRecord::fill().
|
inline |
Definition at line 353 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::measFreqRef().
|
inline |
Definition at line 306 of file MSSpWindowColumns.h.
References name_p.
Referenced by casa::sdfiller::SpectralWindowRecord::fill().
|
inline |
Definition at line 355 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::name().
|
inline |
Definition at line 307 of file MSSpWindowColumns.h.
References netSideband_p.
Referenced by casa::sdfiller::SpectralWindowRecord::fill().
|
inline |
Definition at line 357 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::netSideband().
|
inline |
Definition at line 308 of file MSSpWindowColumns.h.
References numChan_p.
Referenced by casa::sdfiller::SpectralWindowRecord::add(), and casa::sdfiller::SpectralWindowRecord::fill().
|
inline |
Definition at line 359 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::numChan().
|
private |
|
inline |
Definition at line 326 of file MSSpWindowColumns.h.
References receiverId_p.
|
inline |
Definition at line 389 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::receiverId().
|
inline |
Definition at line 309 of file MSSpWindowColumns.h.
References refFrequency_p.
Referenced by casa::sdfiller::SpectralWindowRecord::add(), and casa::sdfiller::SpectralWindowRecord::fill().
|
inline |
Definition at line 361 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::refFrequency().
|
inline |
Definition at line 311 of file MSSpWindowColumns.h.
References refFrequencyMeas_p.
|
inline |
Definition at line 365 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::refFrequencyMeas().
|
inline |
Definition at line 310 of file MSSpWindowColumns.h.
References refFrequencyQuant_p.
|
inline |
Definition at line 363 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::refFrequencyQuant().
|
inline |
Definition at line 312 of file MSSpWindowColumns.h.
References resolution_p.
Referenced by casa::sdfiller::SpectralWindowRecord::add(), and casa::sdfiller::SpectralWindowRecord::fill().
|
inline |
Definition at line 367 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::resolution().
|
inline |
Definition at line 313 of file MSSpWindowColumns.h.
References resolutionQuant_p.
|
inline |
Definition at line 369 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::resolutionQuant().
|
inline |
Definition at line 314 of file MSSpWindowColumns.h.
References totalBandwidth_p.
Referenced by casa::sdfiller::SpectralWindowRecord::add(), and casa::sdfiller::SpectralWindowRecord::fill().
|
inline |
Definition at line 371 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::totalBandwidth().
|
inline |
Definition at line 315 of file MSSpWindowColumns.h.
References totalBandwidthQuant_p.
|
inline |
Definition at line 373 of file MSSpWindowColumns.h.
References casacore::ROMSSpWindowColumns::totalBandwidthQuant().
|
private |
Definition at line 426 of file MSSpWindowColumns.h.
Referenced by assocNature().
|
private |
Definition at line 427 of file MSSpWindowColumns.h.
Referenced by assocSpwId().
|
private |
Definition at line 428 of file MSSpWindowColumns.h.
Referenced by bbcNo().
|
private |
Definition at line 429 of file MSSpWindowColumns.h.
Referenced by bbcSideband().
|
private |
Definition at line 411 of file MSSpWindowColumns.h.
Referenced by chanFreq().
|
private |
Definition at line 434 of file MSSpWindowColumns.h.
Referenced by chanFreqMeas().
|
private |
Definition at line 438 of file MSSpWindowColumns.h.
Referenced by chanFreqQuant().
|
private |
Definition at line 412 of file MSSpWindowColumns.h.
Referenced by chanWidth().
|
private |
Definition at line 439 of file MSSpWindowColumns.h.
Referenced by chanWidthQuant().
|
private |
Definition at line 430 of file MSSpWindowColumns.h.
Referenced by dopplerId().
|
private |
Definition at line 413 of file MSSpWindowColumns.h.
Referenced by effectiveBW().
|
private |
Definition at line 440 of file MSSpWindowColumns.h.
Referenced by effectiveBWQuant().
|
private |
Definition at line 414 of file MSSpWindowColumns.h.
Referenced by flagRow().
|
private |
Definition at line 415 of file MSSpWindowColumns.h.
Referenced by freqGroup().
|
private |
Definition at line 416 of file MSSpWindowColumns.h.
Referenced by freqGroupName().
|
private |
Definition at line 417 of file MSSpWindowColumns.h.
Referenced by ifConvChain().
|
private |
Definition at line 418 of file MSSpWindowColumns.h.
Referenced by measFreqRef().
|
private |
Definition at line 419 of file MSSpWindowColumns.h.
Referenced by name().
|
private |
Definition at line 420 of file MSSpWindowColumns.h.
Referenced by netSideband().
|
private |
Definition at line 421 of file MSSpWindowColumns.h.
Referenced by numChan().
|
private |
Definition at line 431 of file MSSpWindowColumns.h.
Referenced by receiverId().
|
private |
Definition at line 422 of file MSSpWindowColumns.h.
Referenced by refFrequency().
|
private |
Definition at line 435 of file MSSpWindowColumns.h.
Referenced by refFrequencyMeas().
|
private |
Definition at line 441 of file MSSpWindowColumns.h.
Referenced by refFrequencyQuant().
|
private |
Definition at line 423 of file MSSpWindowColumns.h.
Referenced by resolution().
|
private |
Definition at line 442 of file MSSpWindowColumns.h.
Referenced by resolutionQuant().
|
private |
Definition at line 424 of file MSSpWindowColumns.h.
Referenced by totalBandwidth().
|
private |
Definition at line 443 of file MSSpWindowColumns.h.
Referenced by totalBandwidthQuant().