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

ObitCInterpolate.h

Go to the documentation of this file.
00001 /* $Id: ObitCInterpolate.h,v 1.6 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 OBITCINTERPOLATE_H 
00029 #define OBITCINTERPOLATE_H 
00030 
00031 #include "Obit.h"
00032 #include "ObitErr.h"
00033 #include "ObitThread.h"
00034 #include "ObitInfoList.h"
00035 #include "ObitImageDesc.h"
00036 #include "ObitCArray.h"
00037 
00038 /*-------- Obit: Software for the recently deceased ------------------*/
00047 /*--------------Class definitions-------------------------------------*/
00049 typedef struct {
00050 #include "ObitCInterpolateDef.h"   /* this class definition */
00051 } ObitCInterpolate;
00052 
00053 /*----------------- Macroes ---------------------------*/
00059 #define ObitCInterpolateUnref(in) ObitUnref (in)
00060 
00066 #define ObitCInterpolateRef(in) ObitRef (in)
00067 
00074 #define ObitCInterpolateIsA(in) ObitIsA (in, ObitCInterpolateGetClass())
00075 
00076 /*---------------Public functions---------------------------*/
00078 void ObitCInterpolateClassInit (void);
00079 
00081 ObitCInterpolate* newObitCInterpolate (gchar* name);
00082 
00084 ObitCInterpolate* 
00085 newObitCInterpolateCreate (gchar* name, ObitCArray *array, ObitImageDesc *desc, 
00086                            gfloat OSX, gfloat OSY, glong numConjCol, glong hwidth, 
00087                            ObitErr *err);
00088 
00090 gconstpointer ObitCInterpolateGetClass (void);
00091 
00093 ObitCInterpolate* ObitCInterpolateCopy  (ObitCInterpolate *in, ObitCInterpolate *out, 
00094                            ObitErr *err);
00095 
00097 ObitCInterpolate* ObitCInterpolateClone (ObitCInterpolate *in, ObitCInterpolate *out);
00098 
00100 void ObitCInterpolateReplace (ObitCInterpolate *in, ObitCArray *newArray);
00101 
00103 void ObitCInterpolatePixel (ObitCInterpolate *in, gfloat *pixel, gfloat out[2], 
00104                             ObitErr *err);
00105 
00107 void ObitCInterpolate1D (ObitCInterpolate *in, gfloat pixel, gfloat out[2]);
00108 
00110 void ObitCInterpolatePosition (ObitCInterpolate *in, gdouble *coord, gfloat out[2], 
00111                                ObitErr *err);
00112 
00114 void ObitCInterpolateOffset (ObitCInterpolate *in, gfloat *offset, gfloat out[2],
00115                              ObitErr *err);
00116 
00117 /*----------- ClassInfo Structure -----------------------------------*/
00123 typedef struct  {
00124 #include "ObitCInterpolateClassDef.h"
00125 } ObitCInterpolateClassInfo; 
00126 
00127 #endif /* OBITCINTERPOLATE_H */ 

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