#include <errno.h>
#include "Obit.h"
#include "ObitIOImageFITS.h"
#include "ObitImageSel.h"
#include "ObitTableList.h"
#include "ObitFile.h"
#include "ObitFITS.h"
#include "ObitMem.h"
Functions | |
| void | ObitIOImageFITSInit (gpointer in) |
| Private: Initialize newly instantiated object. | |
| void | ObitIOImageFITSClear (gpointer in) |
| Private: Deallocate members. | |
| void | ObitIOImageAIPSCLEANRead (ObitIOImageFITS *in, gint *status) |
| Private: Read AIPS CLEAN parameters. | |
| void | ObitIOImageAIPSCLEANWrite (ObitIOImageFITS *in, gint *status) |
| Private: Write AIPS CLEAN parameters. | |
| void | ObitIOImageKeysOtherRead (ObitIOImageFITS *in, gint *status, ObitErr *err) |
| Private: Copy other header keywords. | |
| ObitIOImageFITS * | newObitIOImageFITS (gchar *name, ObitInfoList *info, ObitErr *err) |
| Public: Constructor. | |
| gconstpointer | ObitIOImageFITSGetClass (void) |
| Public: ClassInfo pointer. | |
| gboolean | ObitIOImageFITSSame (ObitIO *in, ObitInfoList *in1, ObitInfoList *in2, ObitErr *err) |
| Public: Are underlying structures the same. | |
| void | ObitIOImageFITSRename (ObitIO *in, ObitInfoList *info, ObitErr *err) |
| Public: Rename underlying structures. | |
| void | ObitIOImageFITSZap (ObitIOImageFITS *in, ObitErr *err) |
| Public: Delete underlying structures. | |
| ObitIOImageFITS * | ObitIOImageFITSCopy (ObitIOImageFITS *in, ObitIOImageFITS *out, ObitErr *err) |
| Public: Copy constructor. | |
| ObitIOCode | ObitIOImageFITSOpen (ObitIOImageFITS *in, ObitIOAccess access, ObitInfoList *info, ObitErr *err) |
| Public: Open. | |
| ObitIOCode | ObitIOImageFITSClose (ObitIOImageFITS *in, ObitErr *err) |
| Public: Close. | |
| ObitIOCode | ObitIOImageFITSSet (ObitIOImageFITS *in, ObitInfoList *info, ObitErr *err) |
| Public: Init I/O. | |
| ObitIOCode | ObitIOImageFITSRead (ObitIOImageFITS *in, gfloat *data, ObitErr *err) |
| Public: Read. | |
| ObitIOCode | ObitIOImageFITSWrite (ObitIOImageFITS *in, gfloat *data, ObitErr *err) |
| Public: Write. | |
| ObitIOCode | ObitIOImageFITSReadDescriptor (ObitIOImageFITS *in, ObitErr *err) |
| Public: Read Descriptor. | |
| ObitIOCode | ObitIOImageFITSWriteDescriptor (ObitIOImageFITS *in, ObitErr *err) |
| Public: Write Descriptor. | |
| ObitIOCode | ObitIOImageFITSFlush (ObitIOImageFITS *in, ObitErr *err) |
| Public: Flush. | |
| void | ObitIOImageFITSCreateBuffer (gfloat **data, glong *size, ObitIOImageFITS *in, ObitInfoList *info, ObitErr *err) |
| Public: Create buffer. | |
| Obit * | newObitIOImageFITSTable (ObitIOImageFITS *in, ObitIOAccess access, gchar *tabType, glong *tabVer, ObitErr *err) |
| Public: Create an associated Table Typed as base class to avoid problems. | |
| ObitIOCode | ObitIOImageFITSUpdateTables (ObitIOImageFITS *in, ObitInfoList *info, ObitErr *err) |
| Public: Update disk resident tables information. | |
| void | ObitIOImageFITSUpdateScale (ObitIOImageFITS *in, gfloat quant, ObitErr *err) |
| Public: Update header BSCALE,BZERO. | |
| void | ObitIOImageFITSClassInit (void) |
| Public: Class initializer. | |
This class is derived from the ObitIO class.
|
||||||||||||||||
|
Public: Constructor. Initializes class on the first call.
|
|
||||||||||||||||||||||||
|
Public: Create an associated Table Typed as base class to avoid problems. If such an object exists, a reference to it is returned, else a new object is created and entered in the ObitTableList. Returned object is typed an Obit to prevent circular definitions between the ObitTable and the ObitIO classes.
|
|
||||||||||||
|
Private: Read AIPS CLEAN parameters. Descriptor values niter, beamMaj, beamMin, beamPA
|
|
||||||||||||
|
Private: Write AIPS CLEAN parameters.
|
|
|
Public: Class initializer.
|
|
|
Private: Deallocate members. Does (recursive) deallocation of parent class members. For some reason this wasn't build into the GType class.
|
|
||||||||||||
|
Public: Close.
|
|
||||||||||||||||
|
Public: Copy constructor. The result will have pointers to the more complex members. Parent class members are included but any derived class info is ignored.
|
|
||||||||||||||||||||||||
|
Public: Create buffer. Not actually used for Images. Should be called after ObitIO is opened.
|
|
||||||||||||
|
Public: Flush.
|
|
|
Public: ClassInfo pointer. Initializes class if needed on first call.
|
|
|
Private: Initialize newly instantiated object. The GType constructors will call the corresponding routines for each parent class.
|
|
||||||||||||||||||||
|
Public: Open. The file etc. info should have been stored in the ObitInfoList. The image descriptor is read if ReadOnly or ReadWrite and written to disk if opened WriteOnly. For accessing FITS files the following entries in the ObitInfoList are used:
|
|
||||||||||||||||
|
Public: Read. Reads row in->myDesc->row + 1; plane in->myDesc->plane + 1 When OBIT_IO_EOF is returned all data has been read (then is no new data in data) and the I/O has been closed.
|
|
||||||||||||
|
Public: Read Descriptor.
|
|
||||||||||||||||
|
Public: Rename underlying structures. New name information is given on the info member:
|
|
||||||||||||||||||||
|
Public: Are underlying structures the same. This test is done using values entered into the ObitInfoList in case the object has not yet been opened.
|
|
||||||||||||||||
|
Public: Init I/O.
|
|
||||||||||||||||
|
Public: Update header BSCALE,BZERO.
|
|
||||||||||||||||
|
Public: Update disk resident tables information. Nothing is needed for FITS files.
|
|
||||||||||||||||
|
Public: Write. Writes row in->myDesc->row + 1; plane in->myDesc->plane + 1 Writing partial images is only supported in row at a time mode. When OBIT_IO_EOF is returned the image has been written, data in data is ignored and the I/O is closed.
|
|
||||||||||||
|
Public: Write Descriptor.
|
|
||||||||||||
|
Public: Delete underlying structures. Delete the whole FITS file.
|
|
||||||||||||||||
|
Private: Copy other header keywords.
|
1.3.9.1