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

ObitImageMosaic.h

Go to the documentation of this file.
00001 /* $Id: ObitImageMosaic.h,v 1.13 2007/08/31 17:24:48 bcotton Exp $ */
00002 /*--------------------------------------------------------------------*/
00003 /*;  Copyright (C) 2004-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 OBITIMAGEMOSAIC_H 
00029 #define OBITIMAGEMOSAIC_H 
00030 
00031 #include "Obit.h"
00032 #include "ObitErr.h"
00033 #include "ObitThread.h"
00034 #include "ObitInfoList.h"
00035 #include "ObitIO.h"
00036 #include "ObitImage.h"
00037 #include "ObitTableCC.h"
00038 
00039 /*-------- Obit: Software for the recently deceased ------------------*/
00069 /*--------------Class definitions-------------------------------------*/
00071 typedef struct {
00072 #include "ObitImageMosaicDef.h"   /* this class definition */
00073 } ObitImageMosaic;
00074 
00075 /*----------------- Macroes ---------------------------*/
00081 #define ObitImageMosaicUnref(in) ObitUnref ( in)
00082 
00088 #define ObitImageMosaicRef(in) ObitRef (in)
00089 
00096 #define ObitImageMosaicIsA(in) ObitIsA (in, ObitImageMosaicGetClass())
00097 
00098 /*---------------Public functions---------------------------*/
00100 void ObitImageMosaicClassInit (void);
00101 
00103 ObitImageMosaic* newObitImageMosaic (gchar* name, gint number);
00104 
00106 gconstpointer ObitImageMosaicGetClass (void);
00107 
00109 ObitImageMosaic* 
00110 ObitImageMosaicCopy  (ObitImageMosaic *in, ObitImageMosaic *out, 
00111                       ObitErr *err);
00112 
00114 void 
00115 ObitImageMosaicZapImage  (ObitImageMosaic *in, gint number,
00116                           ObitErr *err);
00117 
00119 ObitImage* 
00120 ObitImageMosaicGetImage  (ObitImageMosaic *in, gint number,
00121                           ObitErr *err);
00122 
00124 void 
00125 ObitImageMosaicSetImage  (ObitImageMosaic *in, gint number, 
00126                           ObitImage* image, ObitErr *err);
00127 
00129 gfloat 
00130 ObitImageMosaicGetImageRMS  (ObitImageMosaic *in, gint number,
00131                              ObitErr *err);
00132 
00134 ObitImage* 
00135 ObitImageMosaicGetFullImage  (ObitImageMosaic *in, ObitErr *err);
00136 
00138 void 
00139 ObitImageMosaicSetFullImage  (ObitImageMosaic *in, 
00140                               ObitImage* image, ObitErr *err);
00141 
00143 void ObitImageMosaicSetFiles  (ObitImageMosaic *in, gboolean doBeam, ObitErr *err);
00144 
00146 ObitImageMosaic *ObitImageMosaicCreate (gchar *name, ObitUV *uvData, ObitErr *err);
00147 
00149 void ObitImageMosaicDefine (ObitImageMosaic *in, ObitUV *uvData, gboolean doBeam,
00150                             ObitErr *err);
00151 
00153 void ObitImageMosaicFlatten (ObitImageMosaic *in, ObitErr *err);
00154 
00156 void ObitImageMosaicFlatten (ObitImageMosaic *in, ObitErr *err);
00157 
00159 gfloat ObitImageMosaicFOV (ObitImageMosaic *in, ObitErr *err);
00160 
00162 gboolean ObitImageMosaicReimage (ObitImageMosaic *mosaic, ObitErr* err);
00163 
00165 void ObitImageMosaicMaxCC (ObitTableCC *CCTab, gint nccpos, gfloat radius, 
00166                            gfloat* maxcmp, gfloat* xcenter, gfloat* ycenter, 
00167                            gfloat* xoff, gfloat* yoff, ObitErr* err);
00168 
00170 void ObitImageMosaicFlagCC (ObitTableCC *CCTab, gint nccpos, gfloat radius, 
00171                            gfloat xcenter, gfloat ycenter, ObitErr* err);
00172 
00174 void ObitImageMosaicAddField (ObitImageMosaic *in, ObitUV *uvData, 
00175                               gint nx, gint ny, gint nplane, 
00176                               gfloat RAShift, gfloat DecShift, ObitErr *err);
00178 ObitImageMosaic* ObitImageMosaicMaxField (ObitImageMosaic *mosaic, 
00179                                           gfloat MinFlux, gint *ignore, gint *field,
00180                                           ObitErr* err); 
00181 
00182 /*----------- ClassInfo Structure -----------------------------------*/
00188 typedef struct  {
00189 #include "ObitImageMosaicClassDef.h"
00190 } ObitImageMosaicClassInfo; 
00191 
00192 #endif /* OBITIMAGEMOSAIC_H */ 

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