casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
MSFeedEnums.h
Go to the documentation of this file.
00001 //# MSFeedEnums.h: Definitions for the MeasurementSet FEED 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: MSFeedEnums.h 18093 2004-11-30 17:51:10Z ddebonis $
00028 
00029 #ifndef MS_MSFEEDENUMS_H
00030 #define MS_MSFEEDENUMS_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 FEED 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 FEED table
00043 // </etymology>
00044 // <synopsis>
00045 // This class does nothing.  It is merely a container for the enumerations
00046 // used by the MSFeed 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/13">
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 MSFeedEnums {
00061 public:
00062     // The FEED table colums with predefined meaning.
00063     enum PredefinedColumns {
00064     // "True" columns are defined.<BR>
00065     // TYPE - UNIT - MEASURE
00066     UNDEFINED_COLUMN=0,
00067     // Antenna Id.<BR>
00068     // Int.
00069     ANTENNA_ID,  
00070     // Index in BEAM model table. This is a specialized model 
00071     // e.g. NRAO_VLA_BEAM would have parameters for polynomial.<BR>
00072     // Int.
00073     BEAM_ID,
00074     // Beam position offset (on sky but in antenna reference frame).<BR>
00075     // Double(2,NUM_RECEPTORS) - rad - DIRECTION
00076     BEAM_OFFSET,
00077     // Feed id <BR>
00078     // Int
00079     FEED_ID,
00080     // Interval for which this set of parameters is accurate <BR>
00081     // Double - s
00082     INTERVAL,
00083     // Number of receptors on this feed (probably 1 or 2) <BR>
00084     // Int
00085     NUM_RECEPTORS,
00086     // D-matrix i.e. leakage between two receptors i.e. only makes
00087     // sense if NUM_RECEPTORS>1. Dimensionless coupling numbers. <BR>
00088     // Complex(NUM_RECEPTORS,NUM_RECEPTORS)
00089     POL_RESPONSE,
00090     // Type of polarization to which a given RECEPTOR responds. Probably
00091     // R, L or X, Y. <BR>
00092     // String(NUM_RECEPTORS)
00093     POLARIZATION_TYPE,
00094     // Position of feed relative to feed reference position for this antenna <BR>
00095     // Double(3) - m - POSITION
00096     POSITION,
00097     // The reference angle for polarization. Converts into
00098     //  Parallactic angle in the Sky domain. <BR>
00099     // Double(2) - rad 
00100     RECEPTOR_ANGLE,
00101     // Spectral Window id <BR>
00102     // Int
00103     SPECTRAL_WINDOW_ID,
00104     // Midpoint of time for which this set of parameters is accurate<BR>
00105     // Double - s - EPOCH
00106     TIME,
00107     // Number of required columns
00108     NUMBER_REQUIRED_COLUMNS=TIME,
00109     // Focus length <BR>
00110     // Double - m 
00111     FOCUS_LENGTH,
00112     // Phased feed id to index into PHASED_FEED table <BR>
00113     // Int
00114     PHASED_FEED_ID,
00115     //
00116     // Not a column, but just a final enum specifying the number of enums.
00117     NUMBER_PREDEFINED_COLUMNS=PHASED_FEED_ID
00118     };
00119   
00120     // Keywords with a predefined meaning
00121     enum PredefinedKeywords {
00122     //
00123     // "True" keywords are defined. 
00124     UNDEFINED_KEYWORD=0,
00125     //
00126     // Not a keyword, but just a final enum specifying the number of enums.
00127     NUMBER_PREDEFINED_KEYWORDS=0
00128     };
00129 };
00130 
00131 } //# NAMESPACE CASA - END
00132 
00133 #endif