#include <math.h>
#include "ObitOTFGrid.h"
#include "ObitOTFSel.h"
#include "ObitFArrayUtil.h"
#include "ObitImageUtil.h"
Defines | |
#define | DG2RAD G_PI / 180.0 |
Degrees to radians factor. | |
#define | RAD2DG 180.0 / G_PI |
Radians to degrees factor. | |
#define | VELIGHT 2.997924562e8 |
Velocity of light. | |
Functions | |
void | ObitOTFGridInit (gpointer in) |
Private: Initialize newly instantiated object. | |
void | ObitOTFGridClear (gpointer in) |
Private: Deallocate members. | |
ObitOTFGrid * | newObitOTFGrid (gchar *name) |
Public: Constructor. | |
gconstpointer | ObitOTFGridGetClass (void) |
Public: ClassInfo pointer. | |
void | ObitOTFGridSetup (ObitOTFGrid *in, ObitOTF *OTFin, ObitImageDesc *imageDesc, ObitErr *err) |
Public: initialize/reset ObitOTFGrid structures. | |
void | ObitOTFGridReadOTF (ObitOTFGrid *in, ObitOTF *OTFin, ObitErr *err) |
Public: Read uv data accumulating to grid. | |
void | ObitOTFGridNorm (ObitOTFGrid *in, ObitFArray *array, ObitImageDesc *imageDesc, ObitErr *err) |
Public: Normalize image grid with weight grid. | |
void | ObitOTFGridMakeBeam (ObitOTFGrid *in, ObitImage *image, ObitImage *Beam, ObitErr *err) |
Public: Make PSF ("Beam"). | |
void | ObitOTFGridClassInit (void) |
Public: Class initializer. |
GBT/OTF data class for gridding data into an image This class is derived from the Obit base class.
|
Degrees to radians factor.
|
|
Radians to degrees factor.
|
|
Velocity of light.
|
|
Public: Constructor. Initializes class if needed on first call.
|
|
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: ClassInfo pointer.
|
|
Private: Initialize newly instantiated object. Parent classes portions are (recursively) initialized first
|
|
Public: Make PSF ("Beam"). The instrumental response including the convolving function is calculated and left as the "myBeam" of image.
|
|
Public: Normalize image grid with weight grid. Requires setup by #ObitOTFGridCreate and gridding by ObitOTFGridReadOTF.
|
|
Public: Read uv data accumulating to grid. Buffering of data will use the buffers as defined on OTFin ("nRecPIO" in info member). The OTFin object will be closed at the termination of this routine. Requires setup by #ObitOTFGridCreate.
|
|
Public: initialize/reset ObitOTFGrid structures. Input data should be fully edited and calibrated. The object OTFin will be opened during this call if it is not already open. The output image should describe the center, size and grid spacing of the desired image. The gridding information should have been stored in the ObitInfoList on in:
|