00001 /* $Id: ObitImageFit.h,v 1.2 2007/08/31 17:24:48 bcotton Exp $ */ 00002 /*--------------------------------------------------------------------*/ 00003 /*; Copyright (C) 2006,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 OBITIMAGEFIT_H 00029 #define OBITIMAGEFIT_H 00030 00031 #include "Obit.h" 00032 #include "ObitErr.h" 00033 #include "ObitFitRegion.h" 00034 #include "ObitImageFitData.h" 00035 /*-------- Obit: Software for the recently deceased ------------------*/ 00056 /*--------------Class definitions-------------------------------------*/ 00058 typedef struct { 00059 #include "ObitImageFitDef.h" /* this class definition */ 00060 } ObitImageFit; 00061 00062 /*----------------- Macroes ---------------------------*/ 00068 #define ObitImageFitUnref(in) ObitUnref (in) 00069 00075 #define ObitImageFitRef(in) ObitRef (in) 00076 00083 #define ObitImageFitIsA(in) ObitIsA (in, ObitImageFitGetClass()) 00084 00085 /*---------------Public functions---------------------------*/ 00087 void ObitImageFitClassInit (void); 00088 00090 ObitImageFit* newObitImageFit (gchar* name); 00091 00093 ObitImageFit* 00094 ObitImageFitCreate (gchar* name); 00096 typedef ObitImageFit* 00097 (*ObitImageFitCreateFP) (gchar* name); 00098 00100 gint ObitImageFitFit 00101 (ObitImageFit* in, ObitImage *image, ObitFitRegion* reg, 00102 ObitErr *err); 00104 typedef gint (*ObitImageFitFitFP) 00105 (ObitImageFit* in, ObitImage *image, ObitFitRegion* reg, 00106 ObitErr *err); 00107 00109 gconstpointer ObitImageFitGetClass (void); 00110 00112 ObitImageFit* ObitImageFitCopy (ObitImageFit *in, ObitImageFit *out, 00113 ObitErr *err); 00114 00116 void ObitImageFitClone (ObitImageFit *in, ObitImageFit *out, ObitErr *err); 00117 00118 /*----------- ClassInfo Structure -----------------------------------*/ 00124 typedef struct { 00125 #include "ObitImageFitClassDef.h" 00126 } ObitImageFitClassInfo; 00127 00128 #endif /* OBITIMAGEFIT_H */
1.3.9.1