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

ObitOTFDesc.h

Go to the documentation of this file.
00001 /* $Id: ObitOTFDesc.h,v 1.4 2006/03/22 21:23:20 bcotton Exp $    */
00002 /*--------------------------------------------------------------------*/
00003 /*;  Copyright (C) 2003-2006                                          */
00004 /*;  Associated Universities, Inc. Washington DC, USA.                */
00005 /*;  This program is free software; you can redistribute it and/or    */
00006 /*;  modify it under the terms of the GNU General Public License as   */
00007 /*;  published by the Free Software Foundation; either version 2 of   */
00008 /*;  the License, or (at your option) any later version.              */
00009 /*;                                                                   */
00010 /*;  This program is distributed in the hope that it will be useful,  */
00011 /*;  but WITHOUT ANY WARRANTY; without even the implied warranty of   */
00012 /*;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the    */
00013 /*;  GNU General Public License for more details.                     */
00014 /*;                                                                   */
00015 /*;  You should have received a copy of the GNU General Public        */
00016 /*;  License along with this program; if not, write to the Free       */
00017 /*;  Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,     */
00018 /*;  MA 02139, USA.                                                   */
00019 /*;                                                                   */
00020 /*;  Correspondence this software should be addressed as follows:     */
00021 /*;         Internet email: bcotton@nrao.edu.                         */
00022 /*;         Postal address: William Cotton                            */
00023 /*;                         National Radio Astronomy Observatory      */
00024 /*;                         520 Edgemont Road                         */
00025 /*;                         Charlottesville, VA 22903-2475 USA        */
00026 /*--------------------------------------------------------------------*/
00027 #ifndef OBITOTFDESC_H 
00028 #define OBITOTFDESC_H 
00029 #include <glib.h>
00030 #include "Obit.h"
00031 #include "ObitErr.h"
00032 #include "ObitImageDesc.h"
00033 
00034 /*-------- Obit: Software for the recently deceased ------------------*/
00050 /*----------------- Macroes ---------------------------*/
00056 #define ObitOTFDescUnref(in) ObitUnref (in)
00057 
00063 #define ObitOTFDescRef(in) ObitRef (in)
00064 
00071 #define ObitOTFDescIsA(in) ObitIsA (in, ObitOTFDescGetClass())
00072 
00074 #define OTF_MAXDIM 7       
00075 
00076 #define OTF_MAX_COL 10
00077 
00078 #define OTFLEN_VALUE 41
00079 
00080 #define OTFLEN_KEYWORD 21
00081 
00082 /*-------------- enumerations -------------------------------------*/
00088 enum obitGBTOTFType {
00090   OBIT_GBTOTF_Unknown = 0, 
00092   OBIT_GBTOTF_DCR,  
00094   OBIT_GBTOTF_SP,
00096   OBIT_GBTOTF_CCB,
00098   OBIT_GBTOTF_PAR
00099 }; /* end enum obitGBTOTFType */
00101 typedef enum obitGBTOTFType ObitGBTOTFType;
00102 
00103 /*--------------Class definitions-------------------------------------*/
00109 typedef struct {
00110 #include "ObitOTFDescDef.h"  /* Actual definitions */
00111 } ObitOTFDesc;
00112 
00113 /*---------------Public functions---------------------------*/
00115 void ObitOTFDescClassInit (void);
00116 
00118 ObitOTFDesc* newObitOTFDesc (gchar *name);
00119 
00121 ObitOTFDesc* ObitOTFDescCopy (ObitOTFDesc* in, ObitOTFDesc* out,
00122                             ObitErr *err);
00123 
00125 gconstpointer ObitOTFDescGetClass (void);
00126 
00128 void ObitOTFDescCopyDesc (ObitOTFDesc* in, ObitOTFDesc* out,
00129                          ObitErr *err);
00130 
00132 void ObitOTFDescIndex (ObitOTFDesc* in);
00133 
00135 void ObitOTFDescDate2JD (const gchar* date, gdouble *JD);
00136 
00138 void ObitOTFDescJD2Date (gdouble JD, gchar *date);
00139 
00141 void ObitOTFDescType2String (ObitGBTOTFType OTFType, gchar *TString);
00142 
00144 ObitGBTOTFType ObitOTFDescString2Type (gchar *TString);
00145 
00146 /*-------------------Class Info--------------------------*/
00152 typedef struct  {
00153 #include "ObitOTFDescClassDef.h" /* Actual definition */
00154 } ObitOTFDescClassInfo; 
00155 
00156 
00157 #endif /* OBITOTFDESC_H */ 
00158 

Generated on Mon Sep 3 20:43:53 2007 by  doxygen 1.3.9.1