#include "ObitOTF.h"
#include "ObitOTFCal.h"
#include "ObitIOOTFFITS.h"
#include "ObitTableOTFTarget.h"
#include "ObitTableOTFTargetUtil.h"
#include "ObitTableOTFIndex.h"
#include "ObitTableOTFFlag.h"
#include "ObitSystem.h"
#include "ObitHistory.h"
Functions | |
void | ObitOTFInit (gpointer in) |
Private: Initialize newly instantiated object. | |
void | ObitOTFClear (gpointer in) |
Private: Deallocate members. | |
void | ObitOTFAverData (ObitOTFDesc *inDesc, ObitOTFDesc *outDesc, gfloat *inBuffer, gfloat *outBuffer) |
Average a buffer of data in frequency. | |
ObitOTF * | newObitOTF (gchar *name) |
Public: Constructor. | |
ObitOTF * | newObitOTFScratch (ObitOTF *in, ObitErr *err) |
Public: Copy Constructor for scratch file. | |
gconstpointer | ObitOTFGetClass (void) |
Public: ClassInfo pointer. | |
gboolean | ObitOTFSame (ObitOTF *in1, ObitOTF *in2, ObitErr *err) |
Public: Do two OTFs have the same underlying structures?. | |
ObitOTF * | ObitOTFZap (ObitOTF *in, ObitErr *err) |
Public: Delete underlying structures. | |
void | ObitOTFRename (ObitOTF *in, ObitErr *err) |
Public: Rename underlying structures. | |
ObitOTF * | ObitOTFCopy (ObitOTF *in, ObitOTF *out, ObitErr *err) |
Public: Copy (deep) constructor. | |
ObitOTF * | ObitOTFAver (ObitOTF *in, ObitOTF *out, ObitErr *err) |
Public: Copy (deep) constructor averaging over frequency. | |
void | ObitOTFClone (ObitOTF *in, ObitOTF *out, ObitErr *err) |
Public: Copy structure only - no data copy. | |
ObitIOCode | ObitOTFConcat (ObitOTF *in, ObitOTF *out, ObitErr *err) |
Public: Concatenate two OTF, (in at end of out). | |
ObitIOCode | ObitOTFOpen (ObitOTF *in, ObitIOAccess access, ObitErr *err) |
Public: Create ObitIO structures and open file. | |
ObitIOCode | ObitOTFClose (ObitOTF *in, ObitErr *err) |
Public: Close file and become inactive. | |
void | ObitOTFFullInstantiate (ObitOTF *in, gboolean exist, ObitErr *err) |
Public: Fully instantiate. | |
ObitIOCode | ObitOTFRead (ObitOTF *in, gfloat *data, ObitErr *err) |
Public: Read specified data. | |
ObitIOCode | ObitOTFReadSelect (ObitOTF *in, gfloat *data, ObitErr *err) |
Public: Read select, edit, calibrate specified data. | |
ObitIOCode | ObitOTFWrite (ObitOTF *in, gfloat *data, ObitErr *err) |
Public: Write specified data. | |
ObitTable * | newObitOTFTable (ObitOTF *in, ObitIOAccess access, gchar *tabType, glong *tabVer, ObitErr *err) |
Public: Return an associated Table. | |
ObitIOCode | ObitOTFZapTable (ObitOTF *in, gchar *tabType, glong tabVer, ObitErr *err) |
Public: Destroy an associated Table. | |
ObitIOCode | ObitOTFCopyTables (ObitOTF *in, ObitOTF *out, gchar **exclude, gchar **include, ObitErr *err) |
Public: Copy associated Tables. | |
ObitIOCode | ObitOTFUpdateTables (ObitOTF *in, ObitErr *err) |
Public: Update disk resident tables information. | |
ObitIOCode | ObitOTFIOSet (ObitOTF *in, ObitErr *err) |
Public: Reset IO to start of file. | |
void | ObitOTFWriteKeyword (ObitOTF *in, gchar *name, ObitInfoType type, gint32 *dim, gconstpointer data, ObitErr *err) |
Public: Write header keyword. | |
void | ObitOTFReadKeyword (ObitOTF *in, gchar *name, ObitInfoType *type, gint32 *dim, gpointer data, ObitErr *err) |
Public: Read header keyword. | |
glong | ObitOTFNumRecScan (ObitOTF *inOTF) |
Public: How many records in current scan? | |
void | ObitOTFClassInit (void) |
Public: Class initializer. |
This class is derived from the #ObitData base class.
GBT On-the-Fly single dish imaging data type class
|
Public: Constructor. Initializes class if needed on first call.
|
|
Public: Copy Constructor for scratch file. A scratch OTF is more or less the same as a normal OTF except that it is automatically deleted on the final unreference. The output will have the underlying files of the same type as in already allocated.
|
|
Public: Return an associated Table. If such an object exists, a reference to it is returned, else a new object is created and entered in the ObitTableList.
|
|
Public: Copy (deep) constructor averaging over frequency. Objects should be closed on input and will be closed on output. In order for the disk file structures to be copied, the output file must be sufficiently defined that it can be written. The copy will be attempted but no errors will be logged until both input and output have been successfully opened. If the contents of the data are copied, all associated tables are copied first. ObitInfoList and ObitThread members are only copied if the output object didn't previously exist. Parent class members are included but any derived class info is ignored. The file etc. info should have been stored in the ObitInfoList:
|
|
Average a buffer of data in frequency.
|
|
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: Copy structure only - no data copy. Parent class members are included but any derived class info is ignored.
|
|
Public: Close file and become inactive.
|
|
Public: Concatenate two OTF, (in at end of out).
|
|
Public: Copy (deep) constructor. Copies are made of complex members including disk files; these will be copied applying whatever selection is associated with the input. Objects should be closed on input and will be closed on output. In order for the disk file structures to be copied, the output file must be sufficiently defined that it can be written. The copy will be attempted but no errors will be logged until both input and output have been successfully opened. If the contents of the data are copied, all associated tables are copied first. ObitInfoList and ObitThread members are only copied if the output object didn't previously exist. Parent class members are included but any derived class info is ignored. The file etc. info should have been stored in the ObitInfoList:
|
|
Public: Copy associated Tables.
|
|
Public: Fully instantiate. If object has previously been opened, as demonstrated by the existance of its myIO member, this operation is a no-op. Virtual - calls actual class member
|
|
Public: ClassInfo pointer.
|
|
Private: Initialize newly instantiated object. Parent classes portions are (recursively) initialized first
|
|
Public: Reset IO to start of file.
|
|
Public: How many records in current scan? Only returns valid results after reading has begun. If there is no selection in effect then the size of the file is returned.
|
|
Public: Create ObitIO structures and open file. The image descriptor is read if OBIT_IO_ReadOnly, OBIT_IO_ReadCal or OBIT_IO_ReadWrite and written to disk if opened OBIT_IO_WriteOnly. If access is OBIT_IO_ReadCal then the calibration/selection/editing needed is initialized. See the ObitOTFSel class for a description of the selection and calibration parameters. After the file has been opened the member, buffer is initialized for reading/storing the data unless member bufferSize is <0. The file etc. info should have been stored in the ObitInfoList:
|
|
Public: Read specified data. The ObitOTFDesc maintains the current location in the file. The number read will be mySel->nRecPIO (until the end of the selected range of records in which case it will be smaller). The first visibility number after a read is myDesc->firstRec and the number of visibilities is myDesc->numRecBuff.
|
|
Public: Read header keyword.
|
|
Public: Read select, edit, calibrate specified data. The number read will be mySel->nRecPIO (until the end of the selected range of record in which case it will be smaller). The first record number after a read is myDesc->firstRec and the number of records is myDesc->numRecBuff.
|
|
Public: Rename underlying structures. For FITS files:
|
|
Public: Do two OTFs have the same underlying structures?. This test is done using values entered into the #ObitInfoList in case the object has not yet been opened.
|
|
Public: Update disk resident tables information.
|
|
Public: Write specified data. The data in the buffer will be written starting at record myDesc->firstRec and the number written will be myDesc->numRecBuff which should not exceed mySel->nRecPIO if the internal buffer is used. myDesc->firstRec will be maintained and need not be changed for sequential writing.
|
|
Public: Write header keyword.
|
|
Public: Delete underlying structures.
|
|
Public: Destroy an associated Table. The table is removed from the ObitTableList
|