#include "Obit.h"
#include "ObitErr.h"
#include "ObitThread.h"
#include "ObitInfoList.h"
#include "ObitIO.h"
#include "ObitImage.h"
#include "ObitTableCC.h"
#include "ObitDef.h"
#include "ObitClassDef.h"
Go to the source code of this file.
Classes | |
| struct | ObitImageMosaic |
| ObitImageMosaic Class structure. More... | |
| struct | ObitImageMosaicClassInfo |
| ClassInfo Structure. More... | |
Defines | |
| #define | ObitImageMosaicUnref(in) ObitUnref ( in) |
| Macro to unreference (and possibly destroy) an ObitImageMosaic returns a ObitImageMosaic*. | |
| #define | ObitImageMosaicRef(in) ObitRef (in) |
| Macro to reference (update reference count) an ObitImageMosaic. | |
| #define | ObitImageMosaicIsA(in) ObitIsA (in, ObitImageMosaicGetClass()) |
| Macro to determine if an object is the member of this or a derived class. | |
Functions | |
| void | ObitImageMosaicClassInit (void) |
| Public: Class initializer. | |
| ObitImageMosaic * | newObitImageMosaic (gchar *name, gint number) |
| Public: Constructor. | |
| gconstpointer | ObitImageMosaicGetClass (void) |
| Public: ClassInfo pointer. | |
| ObitImageMosaic * | ObitImageMosaicCopy (ObitImageMosaic *in, ObitImageMosaic *out, ObitErr *err) |
| Public: Copy (shallow) constructor. | |
| void | ObitImageMosaicZapImage (ObitImageMosaic *in, gint number, ObitErr *err) |
| Public: Zap specified image. | |
| ObitImage * | ObitImageMosaicGetImage (ObitImageMosaic *in, gint number, ObitErr *err) |
| Public: Return specified image. | |
| void | ObitImageMosaicSetImage (ObitImageMosaic *in, gint number, ObitImage *image, ObitErr *err) |
| Public: Set specified image. | |
| gfloat | ObitImageMosaicGetImageRMS (ObitImageMosaic *in, gint number, ObitErr *err) |
| Public: Return RMS pixel value of image. | |
| ObitImage * | ObitImageMosaicGetFullImage (ObitImageMosaic *in, ObitErr *err) |
| Public: return Full Field image image. | |
| void | ObitImageMosaicSetFullImage (ObitImageMosaic *in, ObitImage *image, ObitErr *err) |
| Public: Set Full Field image. | |
| void | ObitImageMosaicSetFiles (ObitImageMosaic *in, gboolean doBeam, ObitErr *err) |
| Public: Set underlying files. | |
| ObitImageMosaic * | ObitImageMosaicCreate (gchar *name, ObitUV *uvData, ObitErr *err) |
| Public: Create Mosaic from uv data. | |
| void | ObitImageMosaicDefine (ObitImageMosaic *in, ObitUV *uvData, gboolean doBeam, ObitErr *err) |
| Public: Define parameters of images. | |
| void | ObitImageMosaicFlatten (ObitImageMosaic *in, ObitErr *err) |
| Public: Flatten tiles onto full field image. | |
| gfloat | ObitImageMosaicFOV (ObitImageMosaic *in, ObitErr *err) |
| Public: Give field of view. | |
| gboolean | ObitImageMosaicReimage (ObitImageMosaic *mosaic, ObitErr *err) |
| Public: Reimaging needed to center strong source on pixel? | |
| void | ObitImageMosaicMaxCC (ObitTableCC *CCTab, gint nccpos, gfloat radius, gfloat *maxcmp, gfloat *xcenter, gfloat *ycenter, gfloat *xoff, gfloat *yoff, ObitErr *err) |
| Public: Get max summed CC and determine offset from nearest pixel. | |
| void | ObitImageMosaicFlagCC (ObitTableCC *CCTab, gint nccpos, gfloat radius, gfloat xcenter, gfloat ycenter, ObitErr *err) |
| Public: Zero selected CC entries. | |
| void | ObitImageMosaicAddField (ObitImageMosaic *in, ObitUV *uvData, gint nx, gint ny, gint nplane, gfloat RAShift, gfloat DecShift, ObitErr *err) |
| Public: Add field to mosaic. | |
| ObitImageMosaic * | ObitImageMosaicMaxField (ObitImageMosaic *mosaic, gfloat MinFlux, gint *ignore, gint *field, ObitErr *err) |
| Public: Generate a mosaic for peeling. | |
This class is derived from the Obit class.
This class contains an array of astronomical images and allows access. An ObitImageMosaic is the front end to persistent disk resident structures. An ObitImageMosaic is an array of associated images, generally intended to cover a region of the sky. Access to members is via the member's functions. Both FITS and AIPS cataloged images are supported.
A copy of a pointer to an ObitImageMosaic should always be made using the ObitImageMosaicRef function which updates the reference count in the object. Then whenever freeing an ObitImageMosaic or changing a pointer, the function ObitImageMosaicUnref will decrement the reference count and destroy the object when the reference count hits 0.
|
|
Macro to determine if an object is the member of this or a derived class. Returns TRUE if a member, else FALSE in = object to reference |
|
|
Macro to reference (update reference count) an ObitImageMosaic. returns a ObitImageMosaic*. in = object to reference |
|
|
Macro to unreference (and possibly destroy) an ObitImageMosaic returns a ObitImageMosaic*. in = object to unreference |
|
||||||||||||
|
Public: Constructor. Initializes class if needed on first call.
|
|
||||||||||||||||||||||||||||||||||||
|
Public: Add field to mosaic.
|
|
|
Public: Class initializer.
|
|
||||||||||||||||
|
Public: Copy (shallow) constructor. Parent class members are included but any derived class info is ignored.
|
|
||||||||||||||||
|
Public: Create Mosaic from uv data.
|
|
||||||||||||||||||||
|
Public: Define parameters of images.
|
|
||||||||||||||||||||||||||||
|
Public: Zero selected CC entries.
|
|
||||||||||||
|
Public: Flatten tiles onto full field image.
|
|
||||||||||||
|
Public: Give field of view.
|
|
|
Public: ClassInfo pointer.
|
|
||||||||||||
|
Public: return Full Field image image. Returned reference has been Refed.
|
|
||||||||||||||||
|
Public: Return specified image. Returned reference has been Refed.
|
|
||||||||||||||||
|
Public: Return RMS pixel value of image. Ignores outer 5 pixel in image.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Public: Get max summed CC and determine offset from nearest pixel. Also determines offset of peak from the central by a moment analysis. Routine translated from the AIPSish VLAUTIL.FOR/VLMXCC
|
|
||||||||||||||||||||||||
|
Public: Generate a mosaic for peeling. Fields with 1-rel numbers in the zero terminated list ignore are ignored
|
|
||||||||||||
|
Public: Reimaging needed to center strong source on pixel?
|
|
||||||||||||||||
|
Public: Set underlying files. For AIPS files: Mosaic images have classes with the first character of the imClass followed by 'M', followed by 4 digits of the field number. The Beams are the same except that the second character is 'B'. The full field image has class imClass and 'F' as the 6th character. For FITS files: Image classes are imClass+digits of the field Beam classes are the same except the second character is replaced with a 'B' (unless it already is 'B' in which case 'b' is used). The full field image has class imClass followed by 'Full'
|
|
||||||||||||||||
|
Public: Set Full Field image.
|
|
||||||||||||||||||||
|
Public: Set specified image.
|
|
||||||||||||||||
|
Public: Zap specified image. Also deletes any associated beam member
|
1.3.9.1