28 #ifndef MS_MSSPWINDOWCOLUMNS_H
29 #define MS_MSSPWINDOWCOLUMNS_H
47 class MSSpectralWindow;
174 Bool& reversed)
const;
355 const ROScalarColumn<String>&
name()
const {
383 const ROScalarColumn<Int>&
bbcNo()
const {
ScalarColumn< Int > netSideband_p
const ROScalarColumn< Int > & bbcSideband() const
const ROArrayColumn< Double > & resolution() const
ScalarColumn< Int > & numChan()
uInt nrow() const
Convenience function that returns the number of rows in any of the columns.
ArrayQuantColumn< Double > effectiveBWQuant_p
ScalarColumn< Int > & ifConvChain()
ROArrayColumn< Double > chanWidth_p
ScalarColumn< String > & name()
const ROScalarQuantColumn< Double > & totalBandwidthQuant() const
ArrayColumn< String > & assocNature()
Read-write access to optional columns.
ArrayColumn< Double > & resolution()
ArrayQuantColumn< Double > chanWidthQuant_p
ScalarQuantColumn< Double > & totalBandwidthQuant()
const ROScalarColumn< Int > & netSideband() const
const ROScalarColumn< Int > & bbcSideband() const
const ROArrayQuantColumn< Double > & chanFreqQuant() const
ScalarColumn< Int > & bbcSideband()
ROScalarColumn< Int > netSideband_p
const ROArrayColumn< Double > & chanFreq() const
Access to columns.
ArrayColumn< Double > chanFreq_p
const ROArrayQuantColumn< Double > & effectiveBWQuant() const
ScalarColumn< Int > & dopplerId()
ROScalarColumn< String > freqGroupName_p
ArrayQuantColumn< Double > & chanWidthQuant()
ROMSSpWindowColumns & operator=(const ROMSSpWindowColumns &)
const ROScalarColumn< Int > & freqGroup() const
ROArrayColumn< String > assocNature_p
ROScalarQuantColumn< Double > totalBandwidthQuant_p
const ROArrayMeasColumn< MFrequency > & chanFreqMeas() const
ROScalarColumn< Int > ifConvChain_p
ArrayMeasColumn< MFrequency > & chanFreqMeas()
Bool matchRefFreqCnvtrd(uInt row, MFrequency refOrChanFreq, const Bool isRefFreq, const MeasFrame &measFrm, const MSDopplerColumns &msdopc, const MSSourceColumns &mssrcc, Double tolInHz) const
const ROScalarColumn< Bool > & flagRow() const
const ROScalarMeasColumn< MFrequency > & refFrequencyMeas() const
ArrayMeasColumn< MFrequency > chanFreqMeas_p
ScalarMeasColumn< MFrequency > & refFrequencyMeas()
ROScalarColumn< Bool > flagRow_p
ROScalarColumn< Int > bbcNo_p
const ROArrayQuantColumn< Double > & resolutionQuant() const
Container for Measure frame.
const ROScalarColumn< Int > & netSideband() const
const ROScalarColumn< Int > & freqGroup() const
const ROArrayQuantColumn< Double > & resolutionQuant() const
ScalarColumn< Int > & receiverId()
ROScalarMeasColumn< MFrequency > refFrequencyMeas_p
MSSpWindowColumns & operator=(const MSSpWindowColumns &)
ROArrayQuantColumn< Double > chanFreqQuant_p
ROArrayColumn< Double > effectiveBW_p
ROScalarColumn< Int > bbcSideband_p
const ROArrayQuantColumn< Double > & chanWidthQuant() const
void attach(const MSSpectralWindow &msSpWindow)
ArrayColumn< Double > & chanFreq()
Read-write access to required columns.
A class to provide easy read-only access to MSASpectralWindow columns.
ROScalarColumn< Int > freqGroup_p
ScalarColumn< String > & freqGroupName()
void attachOptionalCols(MSSpectralWindow &msSpWindow)
ArrayColumn< Double > & chanWidth()
ROArrayQuantColumn< Double > effectiveBWQuant_p
void attachOptionalCols(const MSSpectralWindow &msSpWindow)
Bool matchRefFrequency(uInt row, MFrequency::Types refType, Double refFreqInHz, Double tolInHz) const
ArrayColumn< Double > resolution_p
const ROScalarColumn< Int > & measFreqRef() const
const ROArrayColumn< Double > & resolution() const
Bool matchTotalBandwidth(uInt row, Double bandwidthInHz, Double tolInHz) const
A Measure: wave characteristics.
ScalarColumn< Int > & netSideband()
const ROScalarColumn< Int > & measFreqRef() const
A class to provide easy read-write access to MSSource columns.
ROArrayColumn< Double > chanFreq_p
ArrayQuantColumn< Double > & chanFreqQuant()
const ROScalarColumn< Int > & dopplerId() const
ROScalarQuantColumn< Double > refFrequencyQuant_p
ScalarColumn< Int > & freqGroup()
ScalarColumn< String > name_p
ScalarColumn< Int > measFreqRef_p
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...
~MSSpWindowColumns()
The destructor does nothing special.
const ROArrayMeasColumn< MFrequency > & chanFreqMeas() const
const ROScalarColumn< String > & freqGroupName() const
ROArrayColumn< Int > assocSpwId_p
ScalarColumn< Int > freqGroup_p
const ROScalarColumn< Int > & ifConvChain() const
ScalarColumn< Double > & refFrequency()
const ROScalarColumn< Int > & numChan() const
const ROScalarColumn< String > & name() const
ScalarColumn< Int > dopplerId_p
ArrayColumn< Double > effectiveBW_p
const ROArrayColumn< Double > & chanWidth() const
ROScalarColumn< Int > numChan_p
ScalarColumn< Int > receiverId_p
A class to provide easy read-write access to MSSpectralWindow columns.
ScalarColumn< Double > & totalBandwidth()
const ROScalarQuantColumn< Double > & totalBandwidthQuant() const
const ROArrayColumn< Double > & chanFreq() const
Read-only access to required columns.
const ROScalarColumn< Int > & numChan() const
const ROScalarColumn< Int > & bbcNo() const
const ROArrayQuantColumn< Double > & chanWidthQuant() const
~ROMSSpWindowColumns()
The destructor does nothing special.
ScalarQuantColumn< Double > totalBandwidthQuant_p
ScalarColumn< Int > & measFreqRef()
ROArrayQuantColumn< Double > chanWidthQuant_p
ArrayQuantColumn< Double > resolutionQuant_p
bool Bool
Define the standard types used by Casacore.
ArrayColumn< Double > chanWidth_p
ScalarColumn< Bool > & flagRow()
A class to provide easy read-write access to MSDoppler columns.
const ROArrayQuantColumn< Double > & effectiveBWQuant() const
ROScalarColumn< Int > measFreqRef_p
ScalarQuantColumn< Double > refFrequencyQuant_p
ROArrayQuantColumn< Double > resolutionQuant_p
const ROArrayColumn< Double > & effectiveBW() const
ArrayColumn< Int > assocSpwId_p
const ROScalarColumn< Double > & refFrequency() const
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...
ArrayQuantColumn< Double > & resolutionQuant()
const ROScalarQuantColumn< Double > & refFrequencyQuant() const
const ROArrayColumn< String > & assocNature() const
Access to optional columns.
const ROArrayColumn< Int > & assocSpwId() const
const ROArrayColumn< Int > & assocSpwId() const
const ROScalarColumn< Double > & totalBandwidth() const
ROScalarColumn< Int > dopplerId_p
ScalarMeasColumn< MFrequency > refFrequencyMeas_p
ScalarColumn< Bool > flagRow_p
ScalarColumn< Double > totalBandwidth_p
ROScalarColumn< String > name_p
ROArrayColumn< Double > resolution_p
const ROScalarColumn< String > & freqGroupName() const
ROScalarColumn< Double > refFrequency_p
const ROScalarColumn< Int > & bbcNo() const
const ROScalarColumn< Int > & dopplerId() const
const ROArrayColumn< Double > & chanWidth() const
ArrayColumn< String > assocNature_p
void attach(MSSpectralWindow &msSpWindow)
const ROScalarColumn< Bool > & flagRow() const
Bool matchChanFreq(uInt row, const Vector< Double > &chanFreqInHz, Double tolInHz) const
const ROScalarColumn< Double > & totalBandwidth() const
ArrayQuantColumn< Double > chanFreqQuant_p
ROArrayMeasColumn< MFrequency > chanFreqMeas_p
ArrayColumn< Int > & assocSpwId()
const ROScalarMeasColumn< MFrequency > & refFrequencyMeas() const
const ROArrayColumn< String > & assocNature() const
Read-only access to optional columns.
const ROScalarColumn< Int > & receiverId() const
ScalarQuantColumn< Double > & refFrequencyQuant()
ScalarColumn< Int > numChan_p
ArrayColumn< Double > & effectiveBW()
const ROArrayColumn< Double > & effectiveBW() const
const ROArrayQuantColumn< Double > & chanFreqQuant() const
const ROScalarColumn< Int > & receiverId() const
const ROScalarColumn< String > & name() const
Bool matchIfConvChain(uInt row, Int ifChain) const
ROScalarColumn< Double > totalBandwidth_p
ScalarColumn< Double > refFrequency_p
Types
Types of known MFrequencies Warning: The order defines the order in the translation matrix FromTo in...
const ROScalarQuantColumn< Double > & refFrequencyQuant() const
ROScalarColumn< Int > receiverId_p
ScalarColumn< Int > bbcSideband_p
const ROScalarColumn< Double > & refFrequency() const
const ROScalarColumn< Int > & ifConvChain() const
Bool matchNumChan(uInt row, Int nChan) const
ScalarColumn< Int > ifConvChain_p
ScalarColumn< Int > bbcNo_p
ArrayQuantColumn< Double > & effectiveBWQuant()
ScalarColumn< Int > & bbcNo()
ScalarColumn< String > freqGroupName_p
A Table intended to hold a MeasurementSet SPECTRAL_WINDOW table.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.