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

ObitFInterpolate.h

Go to the documentation of this file.
00001 /* $Id: ObitFInterpolate.h,v 1.5 2007/08/31 17:24:48 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 OBITFINTERPOLATE_H 
00029 #define OBITFINTERPOLATE_H 
00030 
00031 #include "Obit.h"
00032 #include "ObitErr.h"
00033 #include "ObitThread.h"
00034 #include "ObitInfoList.h"
00035 #include "ObitImageDesc.h"
00036 #include "ObitFArray.h"
00037 
00038 /*-------- Obit: Software for the recently deceased ------------------*/
00047 /*--------------Class definitions-------------------------------------*/
00049 typedef struct {
00050 #include "ObitFInterpolateDef.h"   /* this class definition */
00051 } ObitFInterpolate;
00052 
00053 /*----------------- Macroes ---------------------------*/
00059 #define ObitFInterpolateUnref(in) ObitUnref (in)
00060 
00066 #define ObitFInterpolateRef(in) ObitRef (in)
00067 
00074 #define ObitFInterpolateIsA(in) ObitIsA (in, ObitFInterpolateGetClass())
00075 
00076 /*---------------Public functions---------------------------*/
00078 void ObitFInterpolateClassInit (void);
00079 
00081 ObitFInterpolate* newObitFInterpolate (gchar* name);
00082 
00084 ObitFInterpolate* 
00085 newObitFInterpolateCreate (gchar* name, ObitFArray *array, ObitImageDesc *desc, 
00086                            glong hwidth);
00087 
00089 gconstpointer ObitFInterpolateGetClass (void);
00090 
00092 ObitFInterpolate* ObitFInterpolateCopy  (ObitFInterpolate *in, ObitFInterpolate *out, 
00093                            ObitErr *err);
00094 
00096 ObitFInterpolate* ObitFInterpolateClone (ObitFInterpolate *in, ObitFInterpolate *out);
00097 
00099 void ObitFInterpolateReplace (ObitFInterpolate *in, ObitFArray *newArray);
00100 
00102 gfloat ObitFInterpolatePixel (ObitFInterpolate *in, gfloat *pixel, ObitErr *err);
00103 
00105 gfloat ObitFInterpolate1D (ObitFInterpolate *in, gfloat pixel);
00106 
00108 gfloat ObitFInterpolatePosition (ObitFInterpolate *in, gdouble *coord, ObitErr *err);
00109 
00111 gfloat ObitFInterpolateOffset (ObitFInterpolate *in, gdouble *offset, ObitErr *err);
00112 
00113 /*----------- ClassInfo Structure -----------------------------------*/
00119 typedef struct  {
00120 #include "ObitFInterpolateClassDef.h"
00121 } ObitFInterpolateClassInfo; 
00122 
00123 #endif /* OBITFINTERPOLATE_H */ 

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