Main Page | Class List | Directories | File List | Class Members | File Members

ObitAntennaList.h

Go to the documentation of this file.
00001 /* $Id: ObitAntennaList.h,v 1.6 2007/08/31 17:24:48 bcotton Exp $ */
00002 /*--------------------------------------------------------------------*/
00003 /*;  Copyright (C) 2003-2007                                          */
00004 /*;  Associated Universities, Inc. Washington DC, USA.                */
00005 /*;                                                                   */
00006 /*;  This program is free software; you can redistribute it and/or    */
00007 /*;  modify it under the terms of the GNU General Public License as   */
00008 /*;  published by the Free Software Foundation; either version 2 of   */
00009 /*;  the License, or (at your option) any later version.              */
00010 /*;                                                                   */
00011 /*;  This program is distributed in the hope that it will be useful,  */
00012 /*;  but WITHOUT ANY WARRANTY; without even the implied warranty of   */
00013 /*;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    */
00014 /*;  GNU General Public License for more details.                     */
00015 /*;                                                                   */
00016 /*;  You should have received a copy of the GNU General Public        */
00017 /*;  License along with this program; if not, write to the Free       */
00018 /*;  Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,     */
00019 /*;  MA 02139, USA.                                                   */
00020 /*;                                                                   */
00021 /*; Correspondence about this software should be addressed as follows:*/
00022 /*;         Internet email: bcotton@nrao.edu.                         */
00023 /*;         Postal address: William Cotton                            */
00024 /*;                         National Radio Astronomy Observatory      */
00025 /*;                         520 Edgemont Road                         */
00026 /*;                         Charlottesville, VA 22903-2475 USA        */
00027 /*--------------------------------------------------------------------*/
00028 #ifndef OBITANTENNALIST_H 
00029 #define OBITANTENNALIST_H 
00030 #include "Obit.h"
00031 #include "ObitErr.h"
00032 #include "ObitAntenna.h"
00033 #include "ObitSource.h"
00034 
00035 /*-------- Obit: Software for the recently deceased ------------------*/
00052 /*-------------- enumerations -------------------------------------*/
00058 enum obitUVPolCalType {
00060   OBIT_UVPoln_NoCal,
00062   OBIT_UVPoln_Unknown,
00064   OBIT_UVPoln_Approx, 
00066   OBIT_UVPoln_VLBI, 
00068   OBIT_UVPoln_ELORI,
00070   OBIT_UVPoln_XYLin
00071 }; /* end enum obitIOStatus */
00073 typedef enum obitUVPolCalType ObitUVPolCalType;
00074 
00075 /*---------------Class Structure---------------------------*/
00077 typedef struct {
00078 #include "ObitAntennaListDef.h"   /* actual definition */
00079 } ObitAntennaList;
00080 
00081 /*----------------- Macroes ---------------------------*/
00087 #define ObitAntennaListUnref(in) ObitUnref (in)
00088 
00094 #define ObitAntennaListRef(in) ObitRef (in)
00095 
00102 #define ObitAntennaListIsA(in) ObitIsA (in, ObitAntennaListGetClass())
00103 
00104 /*---------------Public functions---------------------------*/
00106  void ObitAntennaListClassInit (void);
00107 
00109 ObitAntennaList* newObitAntennaList (gchar* name);
00110 
00112 gconstpointer ObitAntennaListGetClass (void);
00113 
00115 ObitAntennaList* 
00116 ObitAntennaListCopy  (ObitAntennaList *in, ObitAntennaList *out, ObitErr *err);
00117 
00119 ObitAntennaList* ObitAntennaListCreate (gchar* name, glong nant, glong numpolcal);
00120 
00122 ObitUVPolCalType ObitAntennaListGetPolType (gchar* type);
00123 
00125 gfloat ObitAntennaListElev (ObitAntennaList *inAList, gint ant, gfloat time, 
00126                             ObitSource *Source);
00127 
00129 gfloat ObitAntennaListParAng (ObitAntennaList *inAList, gint ant, gfloat time,
00130                               ObitSource *Source);
00131 
00132 /*-------------------Class Info--------------------------*/
00138 typedef struct  {
00139 #include "ObitAntennaListClassDef.h" /* Actual definition */
00140 } ObitAntennaListClassInfo; 
00141 
00142 
00143 #endif /* OBITANTENNALIST_H */ 

Generated on Fri Aug 31 22:13:04 2007 for Obit by  doxygen 1.3.9.1