00001 /* $Id: ObitPennArrayAtmFit.h,v 1.4 2006/10/26 13:49:24 bcotton Exp $ */ 00002 /*--------------------------------------------------------------------*/ 00003 /*; Copyright (C) 2003-2006 */ 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 OBITPENNARRAYATMFIT_H 00029 #define OBITPENNARRAYATMFIT_H 00030 00031 #include <math.h> 00032 #include <glib.h> 00033 #include "Obit.h" 00034 #include "ObitErr.h" 00035 #include "ObitThread.h" 00036 #include "ObitInfoList.h" 00037 #include "ObitOTFArrayGeom.h" 00038 00039 /*-------- Obit: Software for the recently deceased ------------------*/ 00048 /*--------------Class definitions-------------------------------------*/ 00050 typedef struct { 00051 #include "ObitPennArrayAtmFitDef.h" /* this class definition */ 00052 } ObitPennArrayAtmFit; 00053 00054 /*----------------- Macroes ---------------------------*/ 00060 #define ObitPennArrayAtmFitUnref(in) ObitUnref (in) 00061 00067 #define ObitPennArrayAtmFitRef(in) ObitRef (in) 00068 00075 #define ObitPennArrayAtmFitIsA(in) ObitIsA (in, ObitPennArrayAtmFitGetClass()) 00076 00077 /*---------------Public functions---------------------------*/ 00079 void ObitPennArrayAtmFitClassInit (void); 00080 00082 ObitPennArrayAtmFit* newObitPennArrayAtmFit (gchar* name); 00083 00085 gconstpointer ObitPennArrayAtmFitGetClass (void); 00086 00088 ObitPennArrayAtmFit* 00089 ObitPennArrayAtmFitValue (gchar *name, ObitOTFArrayGeom *geom, glong ncoef, ObitErr *err); 00090 00092 void ObitPennArrayAtmFitFit (ObitPennArrayAtmFit *in, gfloat *data, gint incs, 00093 gfloat *coef); 00094 00095 /*----------- ClassInfo Structure -----------------------------------*/ 00101 typedef struct { 00102 #include "ObitPennArrayAtmFitClassDef.h" 00103 } ObitPennArrayAtmFitClassInfo; 00104 00105 #endif /* OBITPENNARRAYATMFIT_H */