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 #ifndef OBITUVDESC_H
00028 #define OBITUVDESC_H
00029 #include "Obit.h"
00030 #include "ObitErr.h"
00031 #include "ObitInfoList.h"
00032 #include "ObitImageDesc.h"
00033
00034
00052
00058 #define ObitUVDescUnref(in) ObitUnref (in)
00059
00065 #define ObitUVDescRef(in) ObitRef (in)
00066
00073 #define ObitUVDescIsA(in) ObitIsA (in, ObitUVDescGetClass())
00074
00076 #define UV_MAXDIM 7
00077
00078 #define UV_MAX_RANP 14
00079
00080 #define UVLEN_VALUE 41
00081
00082 #define UVLEN_KEYWORD 21
00083
00084
00090 typedef struct {
00091 #include "ObitUVDescDef.h"
00092 } ObitUVDesc;
00093
00094
00096 void ObitUVDescClassInit (void);
00097
00099 ObitUVDesc* newObitUVDesc (gchar *name);
00100
00102 ObitUVDesc* ObitUVDescCopy (ObitUVDesc* in, ObitUVDesc* out,
00103 ObitErr *err);
00104
00106 gconstpointer ObitUVDescGetClass (void);
00107
00109 void ObitUVDescCopyDesc (ObitUVDesc* in, ObitUVDesc* out,
00110 ObitErr *err);
00111
00113 void ObitUVDescIndex (ObitUVDesc* in);
00114
00116 void ObitUVDescGetFreq (ObitUVDesc* in, Obit *fqtab, gdouble *SouIFOff,
00117 ObitErr *err);
00118
00120 void ObitUVDescDate2JD (const gchar* date, gdouble *JD);
00121
00123 void ObitUVDescJD2Date (gdouble JD, gchar *date);
00124
00126 void ObitUVDescShiftPhase (ObitUVDesc* uvDesc,
00127 ObitImageDesc* imDesc,
00128 gfloat dxyzc[3], ObitErr *err);
00129
00131 void ObitUVDescShiftPosn (ObitUVDesc* uvDesc,
00132 gfloat xShift, gfloat yShift,
00133 gfloat dxyzc[3], ObitErr *err);
00135 gfloat ObitUVDescRotate(ObitUVDesc *in);
00136
00138 gboolean ObitUVDescShift3DMatrix (ObitUVDesc *uvDesc, ObitImageDesc* imDesc,
00139 gfloat URot3D[3][3], gfloat PRot3D[3][3]);
00140
00141
00147 typedef struct {
00148 #include "ObitUVDescClassDef.h"
00149 } ObitUVDescClassInfo;
00150
00151
00152 #endif
00153