00001 /* $Id: ObitIonCal.h,v 1.3 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 OBITIONCAL_H 00029 #define OBITIONCAL_H 00030 00031 #include "Obit.h" 00032 #include "ObitErr.h" 00033 #include "ObitImage.h" 00034 #include "ObitImageMosaic.h" 00035 00036 /*-------- Obit: Software for the recently deceased ------------------*/ 00055 /*--------------Class definitions-------------------------------------*/ 00057 typedef struct { 00058 #include "ObitIonCalDef.h" /* this class definition */ 00059 } ObitIonCal; 00060 00061 /*----------------- Macroes ---------------------------*/ 00067 #define ObitIonCalUnref(in) ObitUnref (in) 00068 00074 #define ObitIonCalRef(in) ObitRef (in) 00075 00082 #define ObitIonCalIsA(in) ObitIsA (in, ObitIonCalGetClass()) 00083 00084 /*---------------Public functions---------------------------*/ 00086 void ObitIonCalClassInit (void); 00087 00089 ObitIonCal* newObitIonCal (gchar* name); 00090 00092 ObitIonCal* ObitIonCalCreate (gchar* name); 00094 typedef ObitIonCal* (*ObitIonCalCreateFP) (gchar* name); 00095 00097 gconstpointer ObitIonCalGetClass (void); 00098 00100 ObitIonCal* ObitIonCalCopy (ObitIonCal *in, ObitIonCal *out, ObitErr *err); 00101 00103 void ObitIonCalClone (ObitIonCal *in, ObitIonCal *out, ObitErr *err); 00104 00106 void ObitIonCalSetData (ObitIonCal *in, ObitUV* inUV); 00107 00109 void ObitIonCalFindImage (ObitIonCal *in, ObitImage* image, ObitErr* err); 00110 00112 void ObitIonCalPosMul (ObitIonCal *in, ObitImage* image, ObitErr* err); 00113 00115 gfloat ObitIonCalFit1 (ObitIonCal *in, gint epoch, gfloat *coef, 00116 ObitErr* err); 00117 00119 void ObitIonCaldoCal (ObitIonCal*in, ObitErr* err); 00120 00122 void ObitIonCalPosMosaic (ObitIonCal *in, ObitImageMosaic* mosaic, 00123 gint epoch, ObitErr* err); 00124 00125 /*----------- ClassInfo Structure -----------------------------------*/ 00131 typedef struct { 00132 #include "ObitIonCalClassDef.h" 00133 } ObitIonCalClassInfo; 00134 00135 #endif /* OBITFIONCAL_H */
1.3.9.1