casacore
MSSourceEnums.h
Go to the documentation of this file.
1 //# MSSourceEnums.h: Definitions for the MeasurementSet SOURCE table
2 //# Copyright (C) 1996,1999,2000
3 //# Associated Universities, Inc. Washington DC, USA.
4 //#
5 //# This library is free software; you can redistribute it and/or modify it
6 //# under the terms of the GNU Library General Public License as published by
7 //# the Free Software Foundation; either version 2 of the License, or (at your
8 //# option) any later version.
9 //#
10 //# This library is distributed in the hope that it will be useful, but WITHOUT
11 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13 //# License for more details.
14 //#
15 //# You should have received a copy of the GNU Library General Public License
16 //# along with this library; if not, write to the Free Software Foundation,
17 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18 //#
19 //# Correspondence concerning AIPS++ should be addressed as follows:
20 //# Internet email: aips2-request@nrao.edu.
21 //# Postal address: AIPS++ Project Office
22 //# National Radio Astronomy Observatory
23 //# 520 Edgemont Road
24 //# Charlottesville, VA 22903-2475 USA
25 //#
26 //#
27 //# $Id$
28 
29 #ifndef MS_MSSOURCEENUMS_H
30 #define MS_MSSOURCEENUMS_H
31 
32 #include <casacore/casa/aips.h>
33 
34 namespace casacore { //# NAMESPACE CASACORE - BEGIN
35 
36 // <use visibility=export>
37 
38 // <summary> Enums for the MeasurementSet SOURCE table </summary>
39 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="" demos="">
40 // </reviewed>
41 // <etymology>
42 // This class contains the enums for the MeasurementSet SOURCE table
43 // </etymology>
44 // <synopsis>
45 // This class does nothing. It is merely a container for the enumerations
46 // used by the MSSource class. These enumerations define the
47 // standard columns, keywords.
48 // </synopsis>
49 
50 // <example>
51 // See the documentation for MeasurementSet for examples on the use of these
52 // enumerations.
53 // </example>
54 // <todo asof="1999/01/15">
55 // All the todo items which may be related to this class are
56 // grouped with the todo items for MeasurementSet
57 // </todo>
58 //
59 
61 public:
62  // The Antenna table colums with predefined meaning.
63  // Keys: SPECTRAL_WINDOW_ID, INTERVAL, TIME, SOURCE_ID
65  // "True" columns are defined.<BR>
66  // TYPE - UNIT - MEASURE
68  // Number of grouping for calibration purpose.<BR>
69  // Int.
71  // Special characteristics of source, e.g. Bandpass calibrator.
72  // We need to define a standard set that can be used for
73  // automated data reduction..<BR>
74  // String.
75  CODE,
76  // Direction (e.g. RA, DEC).<BR>
77  // Double(2) - rad - DIRECTION.
79  // Interval of time for which this set of parameters is accurate.<BR>
80  // Double - s
82  // Name of source as given during observations.<BR>
83  // String.
84  NAME,
85  // Number of spectral lines <BR>
86  // Int
88  // Proper motion.<BR>
89  // Double(2) - rad/s - ?.
91  // Source id.<BR>
92  // Int.
94  // Spectral window id.<BR>
95  // Int.
97  // Midpoint of time for which this set of parameters is accurate.<BR>
98  // Double - s - EPOCH.
99  TIME,
100  // Number of required columns
102  // Position (e.g. for solar system objects.<BR>
103  // Double(3) - m - POSITION.
105  // Pulsar Id <BR>
106  // Int
108  // Line rest frequency <BR>
109  // Double(NUM_LINES) - Hz - Frequency
111  // Default Component Source Model <BR>
112  // TableRecord
114  // Systemic velocity at reference.<BR>
115  // Double(NUM_LINES) - m/s - RADIALVELOCITY.
117  // Transition name <BR>
118  // String(NUM_LINES)
120  // Not a column, but just a final enum specifying the number of enums.
122  };
123 
124  // Keywords with a predefined meaning
126  //
127  // "True" keywords are defined.
129  //
130  // Not a keyword, but just a final enum specifying the number of enums.
132  };
133 };
134 
135 } //# NAMESPACE CASACORE - END
136 
137 #endif
Enums for the MeasurementSet SOURCE table.
Definition: MSSourceEnums.h:60
PredefinedKeywords
Keywords with a predefined meaning.
@ UNDEFINED_KEYWORD
"True" keywords are defined.
@ NUMBER_PREDEFINED_KEYWORDS
Not a keyword, but just a final enum specifying the number of enums.
PredefinedColumns
The Antenna table colums with predefined meaning.
Definition: MSSourceEnums.h:64
@ TIME
Midpoint of time for which this set of parameters is accurate.
Definition: MSSourceEnums.h:99
@ NUM_LINES
Number of spectral lines Int.
Definition: MSSourceEnums.h:87
@ CALIBRATION_GROUP
Number of grouping for calibration purpose.
Definition: MSSourceEnums.h:70
@ INTERVAL
Interval of time for which this set of parameters is accurate.
Definition: MSSourceEnums.h:81
@ NUMBER_PREDEFINED_COLUMNS
Not a column, but just a final enum specifying the number of enums.
@ NAME
Name of source as given during observations.
Definition: MSSourceEnums.h:84
@ SOURCE_MODEL
Default Component Source Model TableRecord.
@ SYSVEL
Systemic velocity at reference.
@ SPECTRAL_WINDOW_ID
Spectral window id.
Definition: MSSourceEnums.h:96
@ TRANSITION
Transition name String(NUM_LINES)
@ PROPER_MOTION
Proper motion.
Definition: MSSourceEnums.h:90
@ POSITION
Position (e.g.
@ PULSAR_ID
Pulsar Id Int.
@ DIRECTION
Direction (e.g.
Definition: MSSourceEnums.h:78
@ REST_FREQUENCY
Line rest frequency Double(NUM_LINES) - Hz - Frequency.
@ NUMBER_REQUIRED_COLUMNS
Number of required columns.
@ CODE
Special characteristics of source, e.g.
Definition: MSSourceEnums.h:75
@ UNDEFINED_COLUMN
"True" columns are defined.
Definition: MSSourceEnums.h:67
this file contains all the compiler specific defines
Definition: mainpage.dox:28