00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
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
00047
00049 typedef struct {
00050 #include "ObitFInterpolateDef.h"
00051 } ObitFInterpolate;
00052
00053
00059 #define ObitFInterpolateUnref(in) ObitUnref (in)
00060
00066 #define ObitFInterpolateRef(in) ObitRef (in)
00067
00074 #define ObitFInterpolateIsA(in) ObitIsA (in, ObitFInterpolateGetClass())
00075
00076
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
00119 typedef struct {
00120 #include "ObitFInterpolateClassDef.h"
00121 } ObitFInterpolateClassInfo;
00122
00123 #endif