Loading...
Searching...
No Matches
MSSpWindowColumns.h
Go to the documentation of this file.
//# MSSpWindowColumns.h: provides easy access to MSSpectralWindow columns
//# Copyright (C) 1996,1999,2000,2002
//# 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_MSSPWINDOWCOLUMNS_H
#define MS_MSSPWINDOWCOLUMNS_H
#include <casacore/casa/aips.h>
#include <casacore/measures/Measures/MFrequency.h>
#include <casacore/measures/Measures/MCFrequency.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/ArrayMeasColumn.h>
#include <casacore/measures/TableMeasures/ArrayQuantColumn.h>
#include <casacore/casa/BasicSL/String.h>
#include <casacore/measures/Measures/MeasFrame.h>
#include <casacore/ms/MeasurementSets/MSDopplerColumns.h>
#include <casacore/ms/MeasurementSets/MSSourceColumns.h>
namespace casacore { //# NAMESPACE CASACORE - BEGIN
class MSSpectralWindow;
// <summary>
// A class to provide easy access to MSSpectralWindow columns
// </summary>
// <use visibility=export>
// <reviewed reviewer="Bob Garwood" date="1997/02/01" tests="" demos="">
// </reviewed>
// <prerequisite>
// <li> MSSpectralWindow
// <li> ArrayColumn
// <li> ScalarColumn
// </prerequisite>
//
// <etymology>
// MSSpectralWindowColumns stands for MeasurementSet SpectralWindow Table columns.
// </etymology>
//
// <synopsis>
// 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 <linkto class=MSColumns> MSColumns</linkto> for an example.
// </synopsis>
//
// <motivation>
// See <linkto class=MSColumns> MSColumns</linkto> for the motivation.
// </motivation>
class MSSpWindowColumns
{
public:
// Create a columns object that accesses the data in the specified Table
MSSpWindowColumns(const MSSpectralWindow& msSpWindow);
// The destructor does nothing special
~MSSpWindowColumns();
// Access to required columns
// <group>
ArrayColumn<Double>& chanFreq() {return chanFreq_p;}
ArrayMeasColumn<MFrequency>& chanFreqMeas() {return chanFreqMeas_p;}
ArrayQuantColumn<Double>& chanFreqQuant() {return chanFreqQuant_p;}
ArrayColumn<Double>& chanWidth() {return chanWidth_p;}
ArrayQuantColumn<Double>& chanWidthQuant() { return chanWidthQuant_p;}
ArrayColumn<Double>& effectiveBW() {return effectiveBW_p;}
ArrayQuantColumn<Double>& effectiveBWQuant() { return effectiveBWQuant_p;}
ScalarColumn<Bool>& flagRow() {return flagRow_p;}
ScalarColumn<Int>& freqGroup() {return freqGroup_p;}
ScalarColumn<String>& freqGroupName() {return freqGroupName_p;}
ScalarColumn<Int>& ifConvChain() {return ifConvChain_p;}
ScalarColumn<Int>& measFreqRef() {return measFreqRef_p;}
ScalarColumn<String>& name() {return name_p;}
ScalarColumn<Int>& netSideband() {return netSideband_p;}
ScalarColumn<Int>& numChan() {return numChan_p;}
ScalarColumn<Double>& refFrequency() {return refFrequency_p;}
ScalarQuantColumn<Double>& refFrequencyQuant() {return refFrequencyQuant_p;}
ScalarMeasColumn<MFrequency>& refFrequencyMeas() {return refFrequencyMeas_p;}
ArrayColumn<Double>& resolution() {return resolution_p;}
ArrayQuantColumn<Double>& resolutionQuant() { return resolutionQuant_p;}
ScalarColumn<Double>& totalBandwidth() {return totalBandwidth_p;}
ScalarQuantColumn<Double>& totalBandwidthQuant() {
return totalBandwidthQuant_p;}
// </group>
// Access to optional columns
// <group>
ArrayColumn<String>& assocNature() {return assocNature_p;}
ArrayColumn<Int>& assocSpwId() {return assocSpwId_p;}
ScalarColumn<Int>& bbcNo() {return bbcNo_p;}
ScalarColumn<Int>& bbcSideband() {return bbcSideband_p;}
ScalarColumn<Int>& dopplerId() {return dopplerId_p;}
ScalarColumn<Int>& receiverId() {return receiverId_p;}
// </group>
// Const access to columns
// <group>
const ArrayColumn<Double>& chanFreq() const {return chanFreq_p;}
const ArrayQuantColumn<Double>& chanFreqQuant() const {
return chanFreqQuant_p;}
const ArrayMeasColumn<MFrequency>& chanFreqMeas() const {
return chanFreqMeas_p;}
const ArrayColumn<Double>& chanWidth() const {return chanWidth_p;}
const ArrayQuantColumn<Double>& chanWidthQuant() const {
return chanWidthQuant_p;}
const ArrayColumn<Double>& effectiveBW() const {return effectiveBW_p;}
const ArrayQuantColumn<Double>& effectiveBWQuant() const {
return effectiveBWQuant_p;}
const ScalarColumn<Int>& freqGroup() const {return freqGroup_p;}
const ScalarColumn<String>& freqGroupName() const {return freqGroupName_p;}
const ScalarColumn<Int>& ifConvChain() const {return ifConvChain_p;}
const ScalarColumn<Bool>& flagRow() const {return flagRow_p;}
const ScalarColumn<Int>& measFreqRef() const {return measFreqRef_p;}
const ScalarColumn<String>& name() const {return name_p;}
const ScalarColumn<Int>& netSideband() const {return netSideband_p;}
const ScalarColumn<Int>& numChan() const {return numChan_p;}
const ScalarColumn<Double>& refFrequency() const {return refFrequency_p;}
const ScalarQuantColumn<Double>& refFrequencyQuant() const {
return refFrequencyQuant_p;}
const ScalarMeasColumn<MFrequency>& refFrequencyMeas() const {
return refFrequencyMeas_p;}
const ArrayColumn<Double>& resolution() const {return resolution_p;}
const ArrayQuantColumn<Double>& resolutionQuant() const {
return resolutionQuant_p;}
const ScalarColumn<Double>& totalBandwidth() const {
return totalBandwidth_p;}
const ScalarQuantColumn<Double>& totalBandwidthQuant() const {
return totalBandwidthQuant_p;}
// </group>
// Const access to optional columns
// <group>
const ArrayColumn<String>& assocNature() const {return assocNature_p;}
const ArrayColumn<Int>& assocSpwId() const {return assocSpwId_p;}
const ScalarColumn<Int>& bbcNo() const {return bbcNo_p;}
const ScalarColumn<Int>& bbcSideband() const {return bbcSideband_p;}
const ScalarColumn<Int>& dopplerId() const {return dopplerId_p;}
const ScalarColumn<Int>& receiverId() const {return receiverId_p;}
// </group>
// Convenience function that returns the number of rows in any of the columns
rownr_t nrow() const {return chanFreq_p.nrow();}
// returns the last row that contains a spectral window that has the
// specified reference frequency, number of channels, total-bandwidth and IF
// conversion chain. All frequencies need to match within the specified
// tolerance. Both the totalBandwidth & the tolerance arguments must have the
// same dimensions as the Hz and an AipsError exception is thrown, in debug
// mode, if the dimensions are wrong. In addition to the numerical values the
// frequency reference frame is checked and needs to match the value in the
// MEAS_FREQ_REF column. No conversions to other reference frames are
// done. Will only try to match on rows where FLAG_ROW is false. If tryRow is
// set to a non-negative value then that row is checked first to see if it
// matches. An AIpsError exception is thrown if tryRow is bigger than the
// number of rows in the Table. Returns -1 if no match could be found.
Int64 matchSpw(const MFrequency& refFreq, uInt nChan,
const Quantum<Double>& bandwidth, Int ifChain,
const Quantum<Double>& tolerance, Int64 tryRow=-1) const;
// Similar to above, but also pass in the frame info.
Int64 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, Int64 tryRow=-1) const;
// This is to check that the channels are matched individually
// and also if the spw is matched in reverse;
//Same as the above but returns all the possible match that it could find
// in the spectral window table.
RowNumbers allMatchedSpw(const MFrequency& refFreq, uInt nChan,
const Quantum<Double>& bandwidth, Int ifChain,
const Quantum<Double>& tolerance) 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
Int64 matchSpw(const MFrequency& refFreq, uInt nChan,
const Quantum<Double>& bandwidth, Int ifChain,
const Quantum<Double>& tolerance, Vector<Double>& otherFreqs,
Bool& reversed) const;
protected:
//# default constructor creates a object that is not usable. Use the attach
//# function correct this.
MSSpWindowColumns();
//# attach this object to the supplied table.
void attach(const MSSpectralWindow& msSpWindow);
private:
//# Make the assignment operator and the copy constructor private to prevent
//# any compiler generated one from being used.
MSSpWindowColumns(const MSSpWindowColumns&);
MSSpWindowColumns& operator=(const MSSpWindowColumns&);
//# Check if any optional columns exist and if so attach them.
void attachOptionalCols(const MSSpectralWindow& msSpWindow);
//# functions to match the supplied arguments against the values in the
//# specified row.
//<group>
Bool matchRefFrequency(rownr_t row, MFrequency::Types refType,
Double refFreqInHz, Double tolInHz) const;
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;
Bool matchIfConvChain(rownr_t row, Int ifChain) const;
Bool matchTotalBandwidth(rownr_t row, Double bandwidthInHz,
Double tolInHz) const;
Bool matchNumChan(rownr_t row, Int nChan) const;
//</group>
//# required columns
ArrayColumn<Double> chanFreq_p;
ArrayColumn<Double> chanWidth_p;
ArrayColumn<Double> effectiveBW_p;
ScalarColumn<Bool> flagRow_p;
ScalarColumn<Int> freqGroup_p;
ScalarColumn<String> freqGroupName_p;
ScalarColumn<Int> ifConvChain_p;
ScalarColumn<Int> measFreqRef_p;
ScalarColumn<String> name_p;
ScalarColumn<Int> netSideband_p;
ScalarColumn<Int> numChan_p;
ScalarColumn<Double> refFrequency_p;
ArrayColumn<Double> resolution_p;
ScalarColumn<Double> totalBandwidth_p;
//# optional columns
ArrayColumn<String> assocNature_p;
ArrayColumn<Int> assocSpwId_p;
ScalarColumn<Int> bbcNo_p;
ScalarColumn<Int> bbcSideband_p;
ScalarColumn<Int> dopplerId_p;
ScalarColumn<Int> receiverId_p;
//# Access to Measure columns
ArrayMeasColumn<MFrequency> chanFreqMeas_p;
ScalarMeasColumn<MFrequency> refFrequencyMeas_p;
//# Access to Quantum columns
ArrayQuantColumn<Double> chanFreqQuant_p;
ArrayQuantColumn<Double> chanWidthQuant_p;
ArrayQuantColumn<Double> effectiveBWQuant_p;
ScalarQuantColumn<Double> refFrequencyQuant_p;
ArrayQuantColumn<Double> resolutionQuant_p;
ScalarQuantColumn<Double> totalBandwidthQuant_p;
};
//# Define the RO version for backward compatibility.
typedef MSSpWindowColumns ROMSSpWindowColumns;
} //# NAMESPACE CASACORE - END
#endif
casacore::ArrayColumn
Definition ArrayColumn.h:98
casacore::ArrayMeasColumn
Definition ArrayMeasColumn.h:169
casacore::ArrayQuantColumn
Definition ArrayQuantColumn.h:118
casacore::MFrequency
Definition MFrequency.h:158
casacore::MFrequency::Types
Types
Types of known MFrequencies Warning: The order defines the order in the translation matrix FromTo in...
Definition MFrequency.h:173
casacore::MSDopplerColumns
Definition MSDopplerColumns.h:73
casacore::MSSourceColumns
Definition MSSourceColumns.h:87
casacore::MSSpWindowColumns
Definition MSSpWindowColumns.h:81
casacore::MSSpWindowColumns::measFreqRef
ScalarColumn< Int > & measFreqRef()
Definition MSSpWindowColumns.h:102
casacore::MSSpWindowColumns::bbcSideband_p
ScalarColumn< Int > bbcSideband_p
Definition MSSpWindowColumns.h:265
casacore::MSSpWindowColumns::chanFreqQuant
ArrayQuantColumn< Double > & chanFreqQuant()
Definition MSSpWindowColumns.h:93
casacore::MSSpWindowColumns::attachOptionalCols
void attachOptionalCols(const MSSpectralWindow &msSpWindow)
casacore::MSSpWindowColumns::chanFreqQuant_p
ArrayQuantColumn< Double > chanFreqQuant_p
Definition MSSpWindowColumns.h:274
casacore::MSSpWindowColumns::netSideband_p
ScalarColumn< Int > netSideband_p
Definition MSSpWindowColumns.h:256
casacore::MSSpWindowColumns::chanFreq
const ArrayColumn< Double > & chanFreq() const
Const access to columns.
Definition MSSpWindowColumns.h:128
casacore::MSSpWindowColumns::freqGroup
ScalarColumn< Int > & freqGroup()
Definition MSSpWindowColumns.h:99
casacore::MSSpWindowColumns::totalBandwidthQuant_p
ScalarQuantColumn< Double > totalBandwidthQuant_p
Definition MSSpWindowColumns.h:279
casacore::MSSpWindowColumns::chanWidthQuant_p
ArrayQuantColumn< Double > chanWidthQuant_p
Definition MSSpWindowColumns.h:275
casacore::MSSpWindowColumns::allMatchedSpw
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...
casacore::MSSpWindowColumns::chanFreq_p
ArrayColumn< Double > chanFreq_p
Definition MSSpWindowColumns.h:247
casacore::MSSpWindowColumns::numChan
const ScalarColumn< Int > & numChan() const
Definition MSSpWindowColumns.h:146
casacore::MSSpWindowColumns::chanWidthQuant
ArrayQuantColumn< Double > & chanWidthQuant()
Definition MSSpWindowColumns.h:95
casacore::MSSpWindowColumns::MSSpWindowColumns
MSSpWindowColumns()
casacore::MSSpWindowColumns::bbcNo_p
ScalarColumn< Int > bbcNo_p
Definition MSSpWindowColumns.h:264
casacore::MSSpWindowColumns::resolutionQuant_p
ArrayQuantColumn< Double > resolutionQuant_p
Definition MSSpWindowColumns.h:278
casacore::MSSpWindowColumns::matchRefFreqCnvtrd
Bool matchRefFreqCnvtrd(rownr_t row, MFrequency refOrChanFreq, const Bool isRefFreq, const MeasFrame &measFrm, const MSDopplerColumns &msdopc, const MSSourceColumns &mssrcc, Double tolInHz) const
casacore::MSSpWindowColumns::matchSpw
Int64 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, Int64 tryRow=-1) const
Similar to above, but also pass in the frame info.
casacore::MSSpWindowColumns::name
ScalarColumn< String > & name()
Definition MSSpWindowColumns.h:103
casacore::MSSpWindowColumns::chanWidth
const ArrayColumn< Double > & chanWidth() const
Definition MSSpWindowColumns.h:133
casacore::MSSpWindowColumns::bbcNo
const ScalarColumn< Int > & bbcNo() const
Definition MSSpWindowColumns.h:165
casacore::MSSpWindowColumns::freqGroupName_p
ScalarColumn< String > freqGroupName_p
Definition MSSpWindowColumns.h:252
casacore::MSSpWindowColumns::receiverId
ScalarColumn< Int > & receiverId()
Definition MSSpWindowColumns.h:123
casacore::MSSpWindowColumns::refFrequencyMeas
const ScalarMeasColumn< MFrequency > & refFrequencyMeas() const
Definition MSSpWindowColumns.h:150
casacore::MSSpWindowColumns::chanFreqMeas
ArrayMeasColumn< MFrequency > & chanFreqMeas()
Definition MSSpWindowColumns.h:92
casacore::MSSpWindowColumns::chanFreqQuant
const ArrayQuantColumn< Double > & chanFreqQuant() const
Definition MSSpWindowColumns.h:129
casacore::MSSpWindowColumns::resolutionQuant
const ArrayQuantColumn< Double > & resolutionQuant() const
Definition MSSpWindowColumns.h:153
casacore::MSSpWindowColumns::numChan
ScalarColumn< Int > & numChan()
Definition MSSpWindowColumns.h:105
casacore::MSSpWindowColumns::name_p
ScalarColumn< String > name_p
Definition MSSpWindowColumns.h:255
casacore::MSSpWindowColumns::chanFreq
ArrayColumn< Double > & chanFreq()
Access to required columns.
Definition MSSpWindowColumns.h:91
casacore::MSSpWindowColumns::receiverId_p
ScalarColumn< Int > receiverId_p
Definition MSSpWindowColumns.h:267
casacore::MSSpWindowColumns::totalBandwidthQuant
const ScalarQuantColumn< Double > & totalBandwidthQuant() const
Definition MSSpWindowColumns.h:157
casacore::MSSpWindowColumns::refFrequency
ScalarColumn< Double > & refFrequency()
Definition MSSpWindowColumns.h:106
casacore::MSSpWindowColumns::chanFreqMeas
const ArrayMeasColumn< MFrequency > & chanFreqMeas() const
Definition MSSpWindowColumns.h:131
casacore::MSSpWindowColumns::measFreqRef_p
ScalarColumn< Int > measFreqRef_p
Definition MSSpWindowColumns.h:254
casacore::MSSpWindowColumns::flagRow
const ScalarColumn< Bool > & flagRow() const
Definition MSSpWindowColumns.h:142
casacore::MSSpWindowColumns::assocNature
ArrayColumn< String > & assocNature()
Access to optional columns.
Definition MSSpWindowColumns.h:118
casacore::MSSpWindowColumns::MSSpWindowColumns
MSSpWindowColumns(const MSSpWindowColumns &)
casacore::MSSpWindowColumns::receiverId
const ScalarColumn< Int > & receiverId() const
Definition MSSpWindowColumns.h:168
casacore::MSSpWindowColumns::numChan_p
ScalarColumn< Int > numChan_p
Definition MSSpWindowColumns.h:257
casacore::MSSpWindowColumns::matchTotalBandwidth
Bool matchTotalBandwidth(rownr_t row, Double bandwidthInHz, Double tolInHz) const
casacore::MSSpWindowColumns::resolution_p
ArrayColumn< Double > resolution_p
Definition MSSpWindowColumns.h:259
casacore::MSSpWindowColumns::freqGroup
const ScalarColumn< Int > & freqGroup() const
Definition MSSpWindowColumns.h:139
casacore::MSSpWindowColumns::effectiveBWQuant
const ArrayQuantColumn< Double > & effectiveBWQuant() const
Definition MSSpWindowColumns.h:137
casacore::MSSpWindowColumns::MSSpWindowColumns
MSSpWindowColumns(const MSSpectralWindow &msSpWindow)
Create a columns object that accesses the data in the specified Table.
casacore::MSSpWindowColumns::matchNumChan
Bool matchNumChan(rownr_t row, Int nChan) const
casacore::MSSpWindowColumns::matchSpw
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,...
casacore::MSSpWindowColumns::refFrequencyQuant_p
ScalarQuantColumn< Double > refFrequencyQuant_p
Definition MSSpWindowColumns.h:277
casacore::MSSpWindowColumns::totalBandwidth
ScalarColumn< Double > & totalBandwidth()
Definition MSSpWindowColumns.h:111
casacore::MSSpWindowColumns::dopplerId
ScalarColumn< Int > & dopplerId()
Definition MSSpWindowColumns.h:122
casacore::MSSpWindowColumns::dopplerId
const ScalarColumn< Int > & dopplerId() const
Definition MSSpWindowColumns.h:167
casacore::MSSpWindowColumns::freqGroupName
const ScalarColumn< String > & freqGroupName() const
Definition MSSpWindowColumns.h:140
casacore::MSSpWindowColumns::nrow
rownr_t nrow() const
Convenience function that returns the number of rows in any of the columns.
Definition MSSpWindowColumns.h:172
casacore::MSSpWindowColumns::refFrequencyMeas_p
ScalarMeasColumn< MFrequency > refFrequencyMeas_p
Definition MSSpWindowColumns.h:271
casacore::MSSpWindowColumns::assocNature
const ArrayColumn< String > & assocNature() const
Const access to optional columns.
Definition MSSpWindowColumns.h:163
casacore::MSSpWindowColumns::bbcNo
ScalarColumn< Int > & bbcNo()
Definition MSSpWindowColumns.h:120
casacore::MSSpWindowColumns::assocSpwId_p
ArrayColumn< Int > assocSpwId_p
Definition MSSpWindowColumns.h:263
casacore::MSSpWindowColumns::refFrequency_p
ScalarColumn< Double > refFrequency_p
Definition MSSpWindowColumns.h:258
casacore::MSSpWindowColumns::resolution
ArrayColumn< Double > & resolution()
Definition MSSpWindowColumns.h:109
casacore::MSSpWindowColumns::refFrequencyQuant
ScalarQuantColumn< Double > & refFrequencyQuant()
Definition MSSpWindowColumns.h:107
casacore::MSSpWindowColumns::bbcSideband
ScalarColumn< Int > & bbcSideband()
Definition MSSpWindowColumns.h:121
casacore::MSSpWindowColumns::~MSSpWindowColumns
~MSSpWindowColumns()
The destructor does nothing special.
casacore::MSSpWindowColumns::freqGroup_p
ScalarColumn< Int > freqGroup_p
Definition MSSpWindowColumns.h:251
casacore::MSSpWindowColumns::chanWidth
ArrayColumn< Double > & chanWidth()
Definition MSSpWindowColumns.h:94
casacore::MSSpWindowColumns::assocSpwId
const ArrayColumn< Int > & assocSpwId() const
Definition MSSpWindowColumns.h:164
casacore::MSSpWindowColumns::ifConvChain
ScalarColumn< Int > & ifConvChain()
Definition MSSpWindowColumns.h:101
casacore::MSSpWindowColumns::matchRefFrequency
Bool matchRefFrequency(rownr_t row, MFrequency::Types refType, Double refFreqInHz, Double tolInHz) const
casacore::MSSpWindowColumns::resolution
const ArrayColumn< Double > & resolution() const
Definition MSSpWindowColumns.h:152
casacore::MSSpWindowColumns::ifConvChain
const ScalarColumn< Int > & ifConvChain() const
Definition MSSpWindowColumns.h:141
casacore::MSSpWindowColumns::matchSpw
Int64 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 c...
casacore::MSSpWindowColumns::effectiveBWQuant
ArrayQuantColumn< Double > & effectiveBWQuant()
Definition MSSpWindowColumns.h:97
casacore::MSSpWindowColumns::name
const ScalarColumn< String > & name() const
Definition MSSpWindowColumns.h:144
casacore::MSSpWindowColumns::effectiveBW
ArrayColumn< Double > & effectiveBW()
Definition MSSpWindowColumns.h:96
casacore::MSSpWindowColumns::effectiveBW
const ArrayColumn< Double > & effectiveBW() const
Definition MSSpWindowColumns.h:136
casacore::MSSpWindowColumns::freqGroupName
ScalarColumn< String > & freqGroupName()
Definition MSSpWindowColumns.h:100
casacore::MSSpWindowColumns::measFreqRef
const ScalarColumn< Int > & measFreqRef() const
Definition MSSpWindowColumns.h:143
casacore::MSSpWindowColumns::chanWidth_p
ArrayColumn< Double > chanWidth_p
Definition MSSpWindowColumns.h:248
casacore::MSSpWindowColumns::flagRow_p
ScalarColumn< Bool > flagRow_p
Definition MSSpWindowColumns.h:250
casacore::MSSpWindowColumns::flagRow
ScalarColumn< Bool > & flagRow()
Definition MSSpWindowColumns.h:98
casacore::MSSpWindowColumns::dopplerId_p
ScalarColumn< Int > dopplerId_p
Definition MSSpWindowColumns.h:266
casacore::MSSpWindowColumns::operator=
MSSpWindowColumns & operator=(const MSSpWindowColumns &)
casacore::MSSpWindowColumns::assocNature_p
ArrayColumn< String > assocNature_p
Definition MSSpWindowColumns.h:262
casacore::MSSpWindowColumns::assocSpwId
ArrayColumn< Int > & assocSpwId()
Definition MSSpWindowColumns.h:119
casacore::MSSpWindowColumns::chanWidthQuant
const ArrayQuantColumn< Double > & chanWidthQuant() const
Definition MSSpWindowColumns.h:134
casacore::MSSpWindowColumns::chanFreqMeas_p
ArrayMeasColumn< MFrequency > chanFreqMeas_p
Definition MSSpWindowColumns.h:270
casacore::MSSpWindowColumns::totalBandwidth_p
ScalarColumn< Double > totalBandwidth_p
Definition MSSpWindowColumns.h:260
casacore::MSSpWindowColumns::refFrequencyQuant
const ScalarQuantColumn< Double > & refFrequencyQuant() const
Definition MSSpWindowColumns.h:148
casacore::MSSpWindowColumns::matchIfConvChain
Bool matchIfConvChain(rownr_t row, Int ifChain) const
casacore::MSSpWindowColumns::netSideband
ScalarColumn< Int > & netSideband()
Definition MSSpWindowColumns.h:104
casacore::MSSpWindowColumns::effectiveBWQuant_p
ArrayQuantColumn< Double > effectiveBWQuant_p
Definition MSSpWindowColumns.h:276
casacore::MSSpWindowColumns::resolutionQuant
ArrayQuantColumn< Double > & resolutionQuant()
Definition MSSpWindowColumns.h:110
casacore::MSSpWindowColumns::refFrequencyMeas
ScalarMeasColumn< MFrequency > & refFrequencyMeas()
Definition MSSpWindowColumns.h:108
casacore::MSSpWindowColumns::bbcSideband
const ScalarColumn< Int > & bbcSideband() const
Definition MSSpWindowColumns.h:166
casacore::MSSpWindowColumns::attach
void attach(const MSSpectralWindow &msSpWindow)
casacore::MSSpWindowColumns::totalBandwidth
const ScalarColumn< Double > & totalBandwidth() const
Definition MSSpWindowColumns.h:155
casacore::MSSpWindowColumns::effectiveBW_p
ArrayColumn< Double > effectiveBW_p
Definition MSSpWindowColumns.h:249
casacore::MSSpWindowColumns::matchChanFreq
Bool matchChanFreq(rownr_t row, const Vector< Double > &chanFreqInHz, Double tolInHz) const
casacore::MSSpWindowColumns::ifConvChain_p
ScalarColumn< Int > ifConvChain_p
Definition MSSpWindowColumns.h:253
casacore::MSSpWindowColumns::totalBandwidthQuant
ScalarQuantColumn< Double > & totalBandwidthQuant()
Definition MSSpWindowColumns.h:112
casacore::MSSpWindowColumns::refFrequency
const ScalarColumn< Double > & refFrequency() const
Definition MSSpWindowColumns.h:147
casacore::MSSpWindowColumns::netSideband
const ScalarColumn< Int > & netSideband() const
Definition MSSpWindowColumns.h:145
casacore::MSSpectralWindow
Definition MSSpectralWindow.h:77
casacore::MeasFrame
Definition MeasFrame.h:151
casacore::Quantum
Definition Quantum.h:269
casacore::RowNumbers
Definition RowNumbers.h:36
casacore::ScalarColumn
Definition ScalarColumn.h:83
casacore::ScalarMeasColumn
Definition ScalarMeasColumn.h:141
casacore::ScalarQuantColumn
Definition ScalarQuantColumn.h:118
casacore::Vector
Definition Vector.h:82
casacore
this file contains all the compiler specific defines
Definition mainpage.dox:28
casacore::uInt
unsigned int uInt
Definition aipstype.h:49
casacore::Int64
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size).
Definition aipsxtype.h:36
casacore::Int
int Int
Definition aipstype.h:48
casacore::Bool
bool Bool
Define the standard types used by Casacore.
Definition aipstype.h:40
casacore::ROMSSpWindowColumns
MSSpWindowColumns ROMSSpWindowColumns
Definition MSSpWindowColumns.h:283
casacore::Double
double Double
Definition aipstype.h:53
casacore::rownr_t
uInt64 rownr_t
Define the type of a row number in a table.
Definition aipsxtype.h:44