Loading...
Searching...
No Matches
MSSpWindowEnums.h
Go to the documentation of this file.
//# MSSpectralWindowEnums.h: Definitions for the MS SPECTRAL_WINDOW table
//# Copyright (C) 1996,1999,2000
//# 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_MSSPWINDOWENUMS_H
#define MS_MSSPWINDOWENUMS_H
#include <casacore/casa/aips.h>
namespace casacore { //# NAMESPACE CASACORE - BEGIN
// <use visibility=export>
// <summary> Enums for the MeasurementSet SPECTRAL_WINDOW table </summary>
// <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="" demos="">
// </reviewed>
// <etymology>
// This class contains the enums for the MeasurementSet SPECTRAL_WINDOW table
// </etymology>
// <synopsis>
// This class does nothing. It is merely a container for the enumerations
// used by the MeasurementSet class. These enumerations define the
// standard columns and keywords.
// </synopsis>
// <example>
// See the documentation for MeasurementSet for examples on the use of these
// enumerations.
// </example>
// <todo asof="1996/01/16">
// All the todo items which may be related to this class are
// grouped with the todo items for MeasurementSet
// </todo>
//
class MSSpectralWindowEnums {
public:
// The SpectralWindow table colums with predefined meaning.
// The SPECTRAL_WINDOW_ID is the row number in the table.
enum PredefinedColumns {
// "True" columns are defined.<BR>
// TYPE - UNIT - MEASURE
UNDEFINED_COLUMN=0,
// Center frequencies for each channel in the data matrix.
// Can therefore be non-linear to allow for e.g. AOS <BR>
// Double(NUM_CHAN) - Hz - FREQUENCY
CHAN_FREQ,
// The channel width for each channel <BR>
// Double(NUM_CHAN) - Hz
CHAN_WIDTH,
// The effective noise bandwidth of each channel <BR>
// Double(NUM_CHAN) - Hz
EFFECTIVE_BW,
// Row flag <BR>
// Bool
FLAG_ROW,
// The frequency group <BR>
// Int
FREQ_GROUP,
// The frequency group name <BR>
// String
FREQ_GROUP_NAME,
// The IF conversion chain (to distinguish the separate electronic paths for
// simultaneous observations at multiple frequencies). E.g., VLA A-C and
// B-D should always be numbered 0 and 1 resp.<BR>
// Int
IF_CONV_CHAIN,
// The frequency measure reference <BR>
// Int
MEAS_FREQ_REF,
// Spectral window name <BR>
// String
NAME,
// Net sideband for this spectral window (+/- 1) <BR>
// Int
NET_SIDEBAND,
// Number of spectral channels <BR>
// Int
NUM_CHAN,
// The reference frequency (as specified on-line). <BR>
// Double - Hz - FREQUENCY
REF_FREQUENCY,
// The effective spectral resolution of each channel
// The Vector nature allows for variable-width channels.<BR>
// Double(NUM_CHAN) - Hz
RESOLUTION,
// The total bandwidth (as specified on-line). <BR>
// Double - Hz
TOTAL_BANDWIDTH,
//
// Not a column, but just an enum specifying the number of required columns.
NUMBER_REQUIRED_COLUMNS=TOTAL_BANDWIDTH,
// Nature of association with other spectral window id <BR>
// String(*)
ASSOC_NATURE,
// Associated spectral window id's, e.g. averaged spectra
// Int(*)
ASSOC_SPW_ID,
// Baseband converter number <BR>
// Int
BBC_NO,
// Baseband converter sideband <BR>
// Int
BBC_SIDEBAND,
// Doppler id, points to DOPPLER table <BR>
// Int
DOPPLER_ID,
// Receiver id, identifies receiver used for this spectral window.
// May point to optional RECEIVER table <BR>
// Int
RECEIVER_ID,
// Not a column, but just a final enum specifying the number of enums.
NUMBER_PREDEFINED_COLUMNS=RECEIVER_ID
};
// Keywords with a predefined meaning
enum PredefinedKeywords {
//
// "True" keywords are defined.
UNDEFINED_KEYWORD=0,
//
// Not a keyword, but just a final enum specifying the number of enums.
NUMBER_PREDEFINED_KEYWORDS=0
};
};
} //# NAMESPACE CASACORE - END
#endif
casacore::MSSpectralWindowEnums
Enums for the MeasurementSet SPECTRAL_WINDOW table.
Definition MSSpWindowEnums.h:58
casacore::MSSpectralWindowEnums::PredefinedKeywords
PredefinedKeywords
Keywords with a predefined meaning.
Definition MSSpWindowEnums.h:139
casacore::MSSpectralWindowEnums::UNDEFINED_KEYWORD
@ UNDEFINED_KEYWORD
"True" keywords are defined.
Definition MSSpWindowEnums.h:142
casacore::MSSpectralWindowEnums::NUMBER_PREDEFINED_KEYWORDS
@ NUMBER_PREDEFINED_KEYWORDS
Not a keyword, but just a final enum specifying the number of enums.
Definition MSSpWindowEnums.h:145
casacore::MSSpectralWindowEnums::PredefinedColumns
PredefinedColumns
The SpectralWindow table colums with predefined meaning.
Definition MSSpWindowEnums.h:62
casacore::MSSpectralWindowEnums::NAME
@ NAME
Spectral window name String.
Definition MSSpWindowEnums.h:95
casacore::MSSpectralWindowEnums::BBC_SIDEBAND
@ BBC_SIDEBAND
Baseband converter sideband Int.
Definition MSSpWindowEnums.h:126
casacore::MSSpectralWindowEnums::CHAN_FREQ
@ CHAN_FREQ
Center frequencies for each channel in the data matrix.
Definition MSSpWindowEnums.h:69
casacore::MSSpectralWindowEnums::IF_CONV_CHAIN
@ IF_CONV_CHAIN
The IF conversion chain (to distinguish the separate electronic paths for simultaneous observations a...
Definition MSSpWindowEnums.h:89
casacore::MSSpectralWindowEnums::ASSOC_NATURE
@ ASSOC_NATURE
Nature of association with other spectral window id String(*).
Definition MSSpWindowEnums.h:117
casacore::MSSpectralWindowEnums::NUM_CHAN
@ NUM_CHAN
Number of spectral channels Int.
Definition MSSpWindowEnums.h:101
casacore::MSSpectralWindowEnums::BBC_NO
@ BBC_NO
Baseband converter number Int.
Definition MSSpWindowEnums.h:123
casacore::MSSpectralWindowEnums::NUMBER_PREDEFINED_COLUMNS
@ NUMBER_PREDEFINED_COLUMNS
Not a column, but just a final enum specifying the number of enums.
Definition MSSpWindowEnums.h:135
casacore::MSSpectralWindowEnums::DOPPLER_ID
@ DOPPLER_ID
Doppler id, points to DOPPLER table Int.
Definition MSSpWindowEnums.h:129
casacore::MSSpectralWindowEnums::UNDEFINED_COLUMN
@ UNDEFINED_COLUMN
"True" columns are defined.
Definition MSSpWindowEnums.h:65
casacore::MSSpectralWindowEnums::MEAS_FREQ_REF
@ MEAS_FREQ_REF
The frequency measure reference Int.
Definition MSSpWindowEnums.h:92
casacore::MSSpectralWindowEnums::FREQ_GROUP_NAME
@ FREQ_GROUP_NAME
The frequency group name String.
Definition MSSpWindowEnums.h:84
casacore::MSSpectralWindowEnums::NET_SIDEBAND
@ NET_SIDEBAND
Net sideband for this spectral window (+/- 1) Int.
Definition MSSpWindowEnums.h:98
casacore::MSSpectralWindowEnums::ASSOC_SPW_ID
@ ASSOC_SPW_ID
Associated spectral window id's, e.g.
Definition MSSpWindowEnums.h:120
casacore::MSSpectralWindowEnums::RECEIVER_ID
@ RECEIVER_ID
Receiver id, identifies receiver used for this spectral window.
Definition MSSpWindowEnums.h:133
casacore::MSSpectralWindowEnums::CHAN_WIDTH
@ CHAN_WIDTH
The channel width for each channel Double(NUM_CHAN) - Hz.
Definition MSSpWindowEnums.h:72
casacore::MSSpectralWindowEnums::EFFECTIVE_BW
@ EFFECTIVE_BW
The effective noise bandwidth of each channel Double(NUM_CHAN) - Hz.
Definition MSSpWindowEnums.h:75
casacore::MSSpectralWindowEnums::TOTAL_BANDWIDTH
@ TOTAL_BANDWIDTH
The total bandwidth (as specified on-line).
Definition MSSpWindowEnums.h:111
casacore::MSSpectralWindowEnums::FREQ_GROUP
@ FREQ_GROUP
The frequency group Int.
Definition MSSpWindowEnums.h:81
casacore::MSSpectralWindowEnums::NUMBER_REQUIRED_COLUMNS
@ NUMBER_REQUIRED_COLUMNS
Not a column, but just an enum specifying the number of required columns.
Definition MSSpWindowEnums.h:114
casacore::MSSpectralWindowEnums::REF_FREQUENCY
@ REF_FREQUENCY
The reference frequency (as specified on-line).
Definition MSSpWindowEnums.h:104
casacore::MSSpectralWindowEnums::RESOLUTION
@ RESOLUTION
The effective spectral resolution of each channel The Vector nature allows for variable-width channel...
Definition MSSpWindowEnums.h:108
casacore::MSSpectralWindowEnums::FLAG_ROW
@ FLAG_ROW
Row flag Bool.
Definition MSSpWindowEnums.h:78
casacore
this file contains all the compiler specific defines
Definition mainpage.dox:28