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

ObitConvUtil.h

Go to the documentation of this file.
00001 /* $Id: ObitConvUtil.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 OBITCONVUTIL_H 
00029 #define OBITCONVUTIL_H 
00030 
00031 #include "Obit.h"
00032 #include "ObitErr.h"
00033 #include "ObitImage.h"
00034 #include "ObitFFT.h"
00035 
00036 /*-------- Obit: Software for the recently deceased ------------------*/
00044 /*---------------Public functions---------------------------*/
00045 /*  Public: (de)Convolve all planes of an image with an FArray */
00046 void ObitConvUtilConv (ObitImage *inImage, ObitFArray *convFn, 
00047                        gboolean doDivide, gfloat rescale,
00048                        ObitImage *outImage, ObitErr *err);
00049 
00050 /*  Public: Create Gaussian array */
00051 ObitFArray* ObitConvUtilGaus (ObitImage *inImage, gfloat Beam[3]);
00052 
00053 /*  Public: Deconvolve two Gaussians */
00054 void ObitConvUtilDeconv (gfloat fmaj, gfloat fmin, gfloat fpa, 
00055                          gfloat cmaj, gfloat cmin, gfloat cpa, 
00056                          gfloat *rmaj, gfloat *rmin, gfloat *rpa);
00057 
00058 #endif /* OBITCONVUTIL_H */ 

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