casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
MSAntennaEnums.h
Go to the documentation of this file.
00001 //# MSAntennaEnums.h: Definitions for the MeasurementSet ANTENNA table
00002 //# Copyright (C) 1996,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: MSAntennaEnums.h 18093 2004-11-30 17:51:10Z ddebonis $
00028 
00029 #ifndef MS_MSANTENNAENUMS_H
00030 #define MS_MSANTENNAENUMS_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 ANTENNA 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 ANTENNA table
00043 // </etymology>
00044 // <synopsis>
00045 // This class does nothing.  It is merely a container for the enumerations
00046 // used by the MSAntenna 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="1996/02/12">
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 MSAntennaEnums {
00061 public:
00062     // The ANTENNA table colums with predefined meaning.
00063     // Keys: ANTENNA_ID, ARRAY_ID
00064     enum PredefinedColumns {
00065     // "True" columns are defined.<BR>
00066     // TYPE - UNIT - MEASURE
00067     UNDEFINED_COLUMN=0,
00068     // Antenna type: "GROUND-BASED", "SPACE-BASED", "TRACKING-STATION" <BR>
00069     // String
00070     TYPE,
00071     // Physical diameter of dish (if appropriate)<BR>
00072     // Double - m
00073     DISH_DIAMETER,
00074     // Flag for this row <BR>
00075     // Bool
00076     FLAG_ROW,
00077     // Mount type: choose from "AZ-EL", "HA-DEC", "X-Y", "orbiting"
00078     // or "bizarre" (following VLBA FITS).<BR>
00079     // String.
00080     MOUNT,
00081     // Antenna name, e.g. VLA22, CA03.<BR>
00082     // String.
00083     NAME,
00084     // Axes offset of mount to FEED REFERENCE point. <BR>
00085     // Double(3) - m - POSITION
00086     OFFSET,
00087     // Antenna X,Y,Z phase reference positions in the IERS Terrestrial 
00088     // Reference Frame (ITRF);
00089     // right-handed, X towards the intersection of the ITRF equator and 
00090     // the Greenwich meridian, Z towards the adopted mean position of the pole.<BR>
00091     // Double(3) - m - POSITION
00092     POSITION,
00093     // Station (antenna pad) name.<BR>
00094     // String
00095     STATION,
00096     // Number of required columns
00097     NUMBER_REQUIRED_COLUMNS=STATION,
00098     // Mean Keplerian orbit elements <BR>
00099     // Double(6)
00100     MEAN_ORBIT,
00101     // Index into optional ORBIT table.<BR>
00102     // Int.
00103     ORBIT_ID,
00104     // Index into optional PHASED_ARRAY table.<BR>
00105     // Int.
00106     PHASED_ARRAY_ID,
00107     //
00108     // Not a column, but just a final enum specifying the number of enums.
00109     NUMBER_PREDEFINED_COLUMNS=PHASED_ARRAY_ID
00110     };
00111   
00112     // Keywords with a predefined meaning
00113     enum PredefinedKeywords {
00114     //
00115     // "True" keywords are defined. 
00116     UNDEFINED_KEYWORD=0,
00117     //
00118     // Not a keyword, but just a final enum specifying the number of enums.
00119     NUMBER_PREDEFINED_KEYWORDS=0
00120     };
00121 };
00122 
00123 } //# NAMESPACE CASA - END
00124 
00125 #endif