28 #ifndef MS_MSSPWINDOWCOLUMNS_H
29 #define MS_MSSPWINDOWCOLUMNS_H
47 class MSSpectralWindow;
212 Bool& reversed)
const;
const ScalarQuantColumn< Double > & totalBandwidthQuant() const
ScalarColumn< Int > netSideband_p
const ScalarColumn< Int > & netSideband() const
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
ScalarColumn< Int > & numChan()
ArrayQuantColumn< Double > effectiveBWQuant_p
ScalarColumn< Int > & ifConvChain()
ScalarColumn< String > & name()
const ArrayColumn< String > & assocNature() const
Const access to optional columns.
const ArrayQuantColumn< Double > & chanFreqQuant() const
ArrayColumn< String > & assocNature()
Access to optional columns.
ArrayColumn< Double > & resolution()
ArrayQuantColumn< Double > chanWidthQuant_p
ScalarQuantColumn< Double > & totalBandwidthQuant()
ScalarColumn< Int > & bbcSideband()
const ScalarColumn< Int > & numChan() const
ArrayColumn< Double > chanFreq_p
ScalarColumn< Int > & dopplerId()
Int64 matchSpw(const MFrequency &refFreq, uInt nChan, const Quantum< Double > &bandwidth, Int ifChain, const Quantum< Double > &tolerance, Int64 tryRow=-1) const
returns the last row that contains a spectral window that has the specified reference frequency...
ArrayQuantColumn< Double > & chanWidthQuant()
Bool matchRefFreqCnvtrd(rownr_t row, MFrequency refOrChanFreq, const Bool isRefFreq, const MeasFrame &measFrm, const MSDopplerColumns &msdopc, const MSSourceColumns &mssrcc, Double tolInHz) const
Bool matchChanFreq(rownr_t row, const Vector< Double > &chanFreqInHz, Double tolInHz) const
ArrayMeasColumn< MFrequency > & chanFreqMeas()
ArrayMeasColumn< MFrequency > chanFreqMeas_p
ScalarMeasColumn< MFrequency > & refFrequencyMeas()
Container for Measure frame.
ScalarColumn< Int > & receiverId()
const ScalarColumn< Int > & freqGroup() const
MSSpWindowColumns & operator=(const MSSpWindowColumns &)
const ArrayColumn< Double > & chanWidth() const
void attachOptionalCols(const MSSpectralWindow &msSpWindow)
ArrayColumn< Double > & chanFreq()
Access to required columns.
const ArrayColumn< Double > & chanFreq() const
Const access to columns.
ScalarColumn< String > & freqGroupName()
ArrayColumn< Double > & chanWidth()
ArrayColumn< Double > resolution_p
Bool matchNumChan(rownr_t row, Int nChan) const
A Measure: wave characteristics.
ScalarColumn< Int > & netSideband()
A class to provide easy access to MSSource columns.
ArrayQuantColumn< Double > & chanFreqQuant()
rownr_t nrow() const
Get the number of rows in the column.
ScalarColumn< Int > & freqGroup()
ScalarColumn< String > name_p
ScalarColumn< Int > measFreqRef_p
~MSSpWindowColumns()
The destructor does nothing special.
const ScalarColumn< Double > & refFrequency() const
ScalarColumn< Int > freqGroup_p
const ScalarQuantColumn< Double > & refFrequencyQuant() const
ScalarColumn< Double > & refFrequency()
const ArrayColumn< Double > & effectiveBW() const
const ArrayQuantColumn< Double > & chanWidthQuant() const
Bool matchRefFrequency(rownr_t row, MFrequency::Types refType, Double refFreqInHz, Double tolInHz) const
ScalarColumn< Int > dopplerId_p
ArrayColumn< Double > effectiveBW_p
ScalarColumn< Int > receiverId_p
A class to provide easy access to MSSpectralWindow columns.
ScalarColumn< Double > & totalBandwidth()
rownr_t nrow() const
Convenience function that returns the number of rows in any of the columns.
ScalarQuantColumn< Double > totalBandwidthQuant_p
MSSpWindowColumns ROMSSpWindowColumns
ScalarColumn< Int > & measFreqRef()
const ScalarColumn< Int > & receiverId() const
const ArrayColumn< Double > & resolution() const
ArrayQuantColumn< Double > resolutionQuant_p
bool Bool
Define the standard types used by Casacore.
ArrayColumn< Double > chanWidth_p
const ScalarColumn< Int > & bbcSideband() const
ScalarColumn< Bool > & flagRow()
A class to provide easy access to MSDoppler columns.
const ArrayColumn< Int > & assocSpwId() const
ScalarQuantColumn< Double > refFrequencyQuant_p
ArrayColumn< Int > assocSpwId_p
const ArrayMeasColumn< MFrequency > & chanFreqMeas() const
Bool matchTotalBandwidth(rownr_t row, Double bandwidthInHz, Double tolInHz) const
const ScalarColumn< Int > & bbcNo() const
const ScalarMeasColumn< MFrequency > & refFrequencyMeas() const
ArrayQuantColumn< Double > & resolutionQuant()
const ArrayQuantColumn< Double > & resolutionQuant() const
ScalarMeasColumn< MFrequency > refFrequencyMeas_p
ScalarColumn< Bool > flagRow_p
ScalarColumn< Double > totalBandwidth_p
void attach(const MSSpectralWindow &msSpWindow)
Bool matchIfConvChain(rownr_t row, Int ifChain) const
uInt64 rownr_t
Define the type of a row number in a table.
const ArrayQuantColumn< Double > & effectiveBWQuant() const
const ScalarColumn< Double > & totalBandwidth() const
ArrayColumn< String > assocNature_p
const ScalarColumn< Int > & dopplerId() const
ArrayQuantColumn< Double > chanFreqQuant_p
const ScalarColumn< String > & name() const
const ScalarColumn< String > & freqGroupName() const
const ScalarColumn< Bool > & flagRow() const
ArrayColumn< Int > & assocSpwId()
ScalarQuantColumn< Double > & refFrequencyQuant()
ScalarColumn< Int > numChan_p
ArrayColumn< Double > & effectiveBW()
ScalarColumn< Double > refFrequency_p
Types
Types of known MFrequencies Warning: The order defines the order in the translation matrix FromTo in...
const ScalarColumn< Int > & measFreqRef() const
ScalarColumn< Int > bbcSideband_p
ScalarColumn< Int > ifConvChain_p
RowNumbers 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...
ScalarColumn< Int > bbcNo_p
ArrayQuantColumn< Double > & effectiveBWQuant()
ScalarColumn< Int > & bbcNo()
const ScalarColumn< Int > & ifConvChain() const
ScalarColumn< String > freqGroupName_p
A Table intended to hold a MeasurementSet SPECTRAL_WINDOW table.