casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
MSSysCalEnums.h
Go to the documentation of this file.
00001 //# MSSysCalEnums.h: Class with definitions for the MSSysCal table
00002 //# Copyright (C) 1996,1999,2000
00003 //# Associated Universities, Inc. Washington DC, USA.
00004 //#
00005 //# This library is free software; you can redistribute it and/or modify it
00006 //# under the terms of the GNU Library General Public License as published by
00007 //# the Free Software Foundation; either version 2 of the License, or (at your
00008 //# option) any later version.
00009 //#
00010 //# This library is distributed in the hope that it will be useful, but WITHOUT
00011 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012 //# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00013 //# License for more details.
00014 //#
00015 //# You should have received a copy of the GNU Library General Public License
00016 //# along with this library; if not, write to the Free Software Foundation,
00017 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
00018 //#
00019 //# Correspondence concerning AIPS++ should be addressed as follows:
00020 //#        Internet email: aips2-request@nrao.edu.
00021 //#        Postal address: AIPS++ Project Office
00022 //#                        National Radio Astronomy Observatory
00023 //#                        520 Edgemont Road
00024 //#                        Charlottesville, VA 22903-2475 USA
00025 //#
00026 //#
00027 //# $Id: MSSysCalEnums.h 18093 2004-11-30 17:51:10Z ddebonis $
00028 
00029 #ifndef MS_MSSYSCALENUMS_H
00030 #define MS_MSSYSCALENUMS_H
00031 
00032 #include <casa/aips.h>
00033 
00034 namespace casa { //# NAMESPACE CASA - BEGIN
00035 
00036 // <use visibility=export>
00037 
00038 // <summary> Enums for the MeasurementSet SYSCAL table </summary>
00039 // <reviewed reviewer="UNKNOWN" date="before2004/08/25" tests="" demos="">
00040 // </reviewed>
00041 // <etymology>
00042 // This class contains the enums for the MeasurementSet SYSCAL table
00043 // </etymology>
00044 // <synopsis>
00045 // This class does nothing.  It is merely a container for the enumerations
00046 // used by the MSSysCal class.  These enumerations define the
00047 // standard columns, keywords.
00048 // </synopsis>
00049 
00050 // <example>
00051 // See the documentation for MeasurementSet for examples on the use of these
00052 // enumerations.
00053 // </example>
00054 // <todo asof="1999/01/22">
00055 // All the todo items which may be related to this class are
00056 // grouped with the todo items for MeasurementSet
00057 // </todo>
00058 //
00059 
00060 class MSSysCalEnums {
00061 public:
00062     // The SYSCAL table colums with predefined meaning.
00063     // Keys: ANTENNA_ID, ARRAY_ID, FEED_ID, SPECTRAL_WINDOW_ID, INTERVAL, TIME
00064     enum PredefinedColumns {
00065     // "True" columns are defined.<BR>
00066     // TYPE - UNIT - MEASURE
00067     UNDEFINED_COLUMN=0,
00068     // Antenna Id.<BR>
00069     // Int.
00070     ANTENNA_ID,  
00071     // Feed id <BR>
00072     // Int
00073     FEED_ID,
00074     // Interval for which this set of parameters is accurate <BR>
00075     // Double - s
00076     INTERVAL,
00077     // Spectral window id <BR>
00078     // Int
00079     SPECTRAL_WINDOW_ID,
00080     // Midpoint of time for which this set of parameters is accurate<BR>
00081     // Double - s - EPOCH
00082     TIME,
00083     // Enum specifying the number of required columns
00084     NUMBER_REQUIRED_COLUMNS=TIME,
00085     // Phase difference between receptor 2 and receptor 1. Not used
00086     // for single polarization feeds. <BR>
00087     // Float - rad 
00088     PHASE_DIFF,
00089     // Flag for PHASE_DIFF <BR>
00090     // Bool
00091     PHASE_DIFF_FLAG,
00092     // Antenna temperature <BR>
00093     // Float(NUM_RECEPTORS) - K
00094     TANT,
00095     // Flag for TANT <BR>
00096     // Bool
00097     TANT_FLAG,
00098     // Antenna temperature for each channel and receptor <BR>
00099     // Float(NUM_RECEPTORS,NUM_CHAN) - K
00100     TANT_SPECTRUM,
00101     // Ratio of antenna temperature and system temperature <BR>
00102     // Float(NUM_RECEPTORS) - K
00103     TANT_TSYS,
00104     // Flag for TANT_TSYS <BR>
00105     // Bool
00106     TANT_TSYS_FLAG,
00107     // Spectrum of Tant/Tsys ratio for each receptor <BR>
00108     // Float(NUM_RECEPTORS,NUM_CHAN) 
00109     TANT_TSYS_SPECTRUM,
00110     // Calibration temperature for each receptor <BR>
00111     // Float(NUM_RECEPTORS) - K
00112     TCAL,
00113     // Flag for TCAL <BR>
00114     // Bool
00115     TCAL_FLAG,
00116     // Calibration temp. for each channel and receptor <BR>
00117     // Float(NUM_RECEPTORS,NUM_CHAN) - K
00118     TCAL_SPECTRUM,
00119     // Receiver temperature for each of the two receptors. This is
00120     // a scalar quantity <BR>
00121     // Float(NUM_RECEPTORS) - K
00122     TRX,
00123     // Flag for TRX <BR>
00124     // Bool
00125     TRX_FLAG,
00126     // Receiver temp. for each channel and receptor <BR>
00127     // Float(NUM_RECEPTORS,NUM_CHAN) - K
00128     TRX_SPECTRUM,
00129     // Sky temperature for each of the two receptors. <BR>
00130     // Float(NUM_RECEPTORS) - K
00131     TSKY,
00132     // Flag for TSKY <BR>
00133     // Bool
00134     TSKY_FLAG,
00135     // Sky temp. for each channel and receptor <BR>
00136     // Float(NUM_RECEPTORS,NUM_CHAN) - K
00137     TSKY_SPECTRUM,
00138     // System temp. for each of the two receptors. <BR>
00139     // Float(NUM_RECEPTORS) - K
00140     TSYS,
00141     // Flag for TSYS <BR>
00142     // Bool
00143     TSYS_FLAG,
00144     // System temp. for each channel and receptor <BR>
00145     // Float(NUM_RECEPTORS,NUM_CHAN) - K
00146     TSYS_SPECTRUM,
00147     // Not a column, but just a final enum specifying the number of enums.
00148     NUMBER_PREDEFINED_COLUMNS=TSYS_SPECTRUM
00149     };
00150   
00151     // Keywords with a predefined meaning
00152     enum PredefinedKeywords {
00153     //
00154     // "True" keywords are defined. 
00155     UNDEFINED_KEYWORD=0,
00156     //
00157     // Not a keyword, but just a final enum specifying the number of enums.
00158     NUMBER_PREDEFINED_KEYWORDS=0
00159     };
00160 };
00161 
00162 } //# NAMESPACE CASA - END
00163 
00164 #endif
00165