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 OBITIOUVFITS_H
00029 #define OBITIOUVFITS_H
00030 #include "fitsio.h"
00031 #include "Obit.h"
00032 #include "ObitIO.h"
00033 #include "ObitUVDesc.h"
00034 #include "ObitUVSel.h"
00035
00036
00037
00063
00065 typedef struct {
00066 #include "ObitIOUVFITSDef.h"
00067 } ObitIOUVFITS;
00068
00069
00075 #define ObitIOUVFITSUnref(in) ObitUnref (in)
00076
00082 #define ObitIOUVFITSRef(in) ObitRef (in)
00083
00090 #define ObitIOUVFITSIsA(in) ObitIsA (in, ObitIOUVFITSGetClass())
00091
00092
00093
00094
00096 void ObitIOUVFITSClassInit (void);
00097
00099 ObitIOUVFITS* newObitIOUVFITS (gchar* name, ObitInfoList *info,
00100 ObitErr *err);
00101
00103 gconstpointer ObitIOUVFITSGetClass (void);
00104
00106 ObitIOUVFITS* ObitIOUVFITSCopy (ObitIOUVFITS *in,
00107 ObitIOUVFITS *out, ObitErr *err);
00108
00110 gboolean ObitIOUVFITSSame (ObitIO *in, ObitInfoList *in1,
00111 ObitInfoList *in2, ObitErr *err);
00112
00114 void ObitIOUVFITSRename (ObitIO *in, ObitInfoList *info, ObitErr *err);
00115
00117 void ObitIOUVFITSZap (ObitIOUVFITS *in, ObitErr *err);
00118
00119
00121 ObitIOCode ObitIOUVFITSOpen (ObitIOUVFITS *in, ObitIOAccess access,
00122 ObitInfoList *info, ObitErr *err);
00123
00125 ObitIOCode ObitIOUVFITSClose (ObitIOUVFITS *in, ObitErr *err);
00126
00128 ObitIOCode ObitIOUVFITSSet (ObitIOUVFITS *in, ObitInfoList *info,
00129 ObitErr *err);
00130
00132 ObitIOCode ObitIOUVFITSRead (ObitIOUVFITS *in, gfloat *data,
00133 ObitErr *err);
00134
00136 ObitIOCode ObitIOUVFITSWrite (ObitIOUVFITS *in, gfloat *data,
00137 ObitErr *err);
00138
00140 ObitIOCode ObitIOUVFITSFlush (ObitIOUVFITS *in, ObitErr *err);
00141
00143 ObitIOCode ObitIOUVFITSReadDescriptor (ObitIOUVFITS *in, ObitErr *err);
00144
00146 ObitIOCode ObitIOUVFITSWriteDescriptor (ObitIOUVFITS *in, ObitErr *err);
00147
00149 void
00150 ObitIOUVFITSCreateBuffer (gfloat **data, glong *size,
00151 ObitIOUVFITS *in, ObitInfoList *info,
00152 ObitErr *err);
00153
00156 Obit*
00157 newObitIOUVFITSTable (ObitIOUVFITS *in, ObitIOAccess access,
00158 gchar *tabType, glong *tabVer, ObitErr *err);
00159
00161 ObitIOCode ObitIOUVFITSUpdateTables (ObitIOUVFITS *in, ObitInfoList *info,
00162 ObitErr *err);
00163
00164
00170 typedef struct {
00171 #include "ObitIOUVFITSClassDef.h"
00172 } ObitIOUVFITSClassInfo;
00173
00174 #endif