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

ObitUVCal.h

Go to the documentation of this file.
00001 /* $Id: ObitUVCal.h,v 1.5 2007/08/31 17:24:49 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 OBITUVCAL_H 
00029 #define OBITUVCAL_H 
00030 
00031 #include "Obit.h"
00032 #include "ObitErr.h"
00033 #include "ObitThread.h"
00034 #include "ObitInfoList.h"
00035 #include "ObitUVDesc.h"
00036 #include "ObitUVSel.h"
00037 #include "ObitUVCalCalibrateDef.h"
00038 #include "ObitUVCalBaselineDef.h"
00039 #include "ObitUVCalFlagDef.h"
00040 #include "ObitUVCalBandpassDef.h"
00041 #include "ObitUVCalPolarizationDef.h"
00042 
00043 /*-------- Obit: Software for the recently deceased ------------------*/
00053 /*--------------Class definitions-------------------------------------*/
00055 typedef struct {
00056 #include "ObitUVCalDef.h"   /* this class definition */
00057 } ObitUVCal;
00058 
00059 /*----------------- Macroes ---------------------------*/
00065 #define ObitUVCalUnref(in) ObitUnref (in)
00066 
00072 #define ObitUVCalRef(in) ObitRef (in)
00073 
00080 #define ObitUVCalIsA(in) ObitIsA (in, ObitUVCalGetClass())
00081 
00082 /*---------------Public functions---------------------------*/
00084 void ObitUVCalClassInit (void);
00085 
00087 ObitUVCal* newObitUVCal (gchar* name);
00088 
00090 gconstpointer ObitUVCalGetClass (void);
00091 
00093 ObitUVCal* ObitUVCalCopy  (ObitUVCal *in, ObitUVCal *out, 
00094                            ObitErr *err);
00095 
00097 ObitUVCal* ObitUVCalClone (ObitUVCal *in, ObitUVCal *out);
00098 
00100 void ObitUVCalStart (ObitUVCal *in, ObitUVSel *sel, ObitUVDesc *inDesc, 
00101                     ObitUVDesc *outDesc, ObitErr *err);
00102 typedef void (*ObitUVCalStartFP) (ObitUVCal *in, ObitUVSel *sel, 
00103                                  ObitUVDesc *inDesc, ObitUVDesc *outDesc, ObitErr *err);
00104 
00106 gboolean  ObitUVCalApply (ObitUVCal *in, gfloat *visIn, gfloat *visOut, 
00107                           ObitErr *err);
00108 typedef gboolean (*ObitUVCalApplyFP) (ObitUVCal *in, gfloat *visIn, 
00109                                       gfloat *visOut, ObitErr *err);
00110 
00112 void ObitUVCalShutdown (ObitUVCal *in, ObitErr *err);
00113 typedef void (*ObitUVCalShutdownFP) (ObitUVCal *in, ObitErr *err);
00114 
00116 gboolean ObitUVCalWant (ObitUVCal *in, gfloat time, glong ant1, glong ant2, 
00117                         gfloat *RP, gfloat *visIn, ObitErr *err);
00118 typedef gboolean (*ObitUVCalWantFP) (ObitUVCal *in, gfloat time, glong ant1, glong ant2, 
00119                                      gfloat *RP, gfloat *visIn, ObitErr *err);
00120 
00122 void ObitUVCalSmooth (ObitUVCal *in, float time, glong ant1, glong ant2, 
00123                       gfloat *RP, gfloat *visIn, ObitErr *err);
00124 typedef void (*ObitUVCalSmoothFP) (ObitUVCal *in, float time, glong ant1, glong ant2, 
00125                                    gfloat *visIn, ObitErr *err);
00126 
00127 /*----------- ClassInfo Structure -----------------------------------*/
00133 typedef struct  {
00134 #include "ObitUVCalClassDef.h"
00135 } ObitUVCalClassInfo; 
00136 
00137 #endif /* OBITUVCAL_H */ 

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