#include "Obit.h"
#include "ObitErr.h"
#include "ObitDCon.h"
#include "ObitImageMosaic.h"
#include "ObitDConCleanWindow.h"
#include "ObitDConCleanBmHist.h"
#include "ObitDConCleanPxHist.h"
#include "ObitDConCleanPxList.h"
#include "ObitDef.h"
#include "ObitDConDef.h"
#include "ObitClassDef.h"
#include "ObitDConClassDef.h"
Go to the source code of this file.
Classes | |
| struct | ObitDConClean |
| ObitDConClean Class structure. More... | |
| struct | ObitDConCleanClassInfo |
| ClassInfo Structure. More... | |
Defines | |
| #define | ObitDConCleanUnref(in) ObitUnref (in) |
| Macro to unreference (and possibly destroy) an ObitDConClean returns a ObitDConClean*. | |
| #define | ObitDConCleanRef(in) ObitRef (in) |
| Macro to reference (update reference count) an ObitDConClean. | |
| #define | ObitDConCleanIsA(in) ObitIsA (in, ObitDConCleanGetClass()) |
| Macro to determine if an object is the member of this or a derived class. | |
Typedefs | |
| typedef void(* | ObitDConCleanDefWindowFP )(ObitDConClean *in, ObitErr *err) |
| typedef void(* | ObitDConCleanPixelStatsFP )(ObitDConClean *in, ObitErr *err) |
| typedef void(* | ObitDConCleanImageStatsFP )(ObitDConClean *in, glong field, ObitErr *err) |
| typedef gboolean(* | ObitDConCleanSelectFP )(ObitDConClean *in, ObitErr *err) |
| typedef void(* | ObitDConCleanSubFP )(ObitDConClean *in, ObitErr *err) |
| typedef void(* | ObitDConCleanRestoreFP )(ObitDConClean *in, ObitErr *err) |
| typedef void(* | ObitDConCleanXRestoreFP )(ObitDConClean *in, ObitErr *err) |
| typedef void(* | ObitDConCleanFlattenFP )(ObitDConClean *in, ObitErr *err) |
| typedef void(* | ObitDConCleanAutoWindowFP )(ObitDConClean *in, glong field, ObitErr *err) |
Functions | |
| void | ObitDConCleanClassInit (void) |
| Public: Class initializer. | |
| ObitDConClean * | newObitDConClean (gchar *name) |
| Public: Default Constructor. | |
| ObitDConClean * | ObitDConCleanCreate (gchar *name, ObitImageMosaic *mosaic, ObitErr *err) |
| Public: Create/initialize ObitDConClean structures. | |
| gconstpointer | ObitDConCleanGetClass (void) |
| Public: ClassInfo pointer. | |
| ObitDConClean * | ObitDConCleanCopy (ObitDConClean *in, ObitDConClean *out, ObitErr *err) |
| Public: Copy (deep) constructor. | |
| void | ObitDConCleanClone (ObitDConClean *in, ObitDConClean *out, ObitErr *err) |
| Public: Copy structure. | |
| void | ObitDConCleanDeconvolve (ObitDCon *in, ObitErr *err) |
| Public: Do deconvolution. | |
| void | ObitDConCleanGetParms (ObitDCon *in, ObitErr *err) |
| Public: Get parameters. | |
| void | ObitDConCleanDefWindow (ObitDConClean *in, ObitErr *err) |
| Public: Set Default CLEAN windows. | |
| void | ObitDConCleanPixelStats (ObitDConClean *in, ObitErr *err) |
| Public: Prepare for minor cycle. | |
| void | ObitDConCleanImageStats (ObitDConClean *in, glong field, ObitErr *err) |
| Public: Determine image statistics. | |
| gboolean | ObitDConCleanSelect (ObitDConClean *in, ObitErr *err) |
| Public:Select components to be subtracted . | |
| void | ObitDConCleanSub (ObitDConClean *in, ObitErr *err) |
| Public: Subtract components and generate new residual image(s). | |
| void | ObitDConCleanRestore (ObitDConClean *in, ObitErr *err) |
| Public: Restore subtracted components. | |
| void | ObitDConCleanXRestore (ObitDConClean *in, ObitErr *err) |
| Public: Restore subtracted components from other fields. | |
| void | ObitDConCleanFlatten (ObitDConClean *in, ObitErr *err) |
| Public: Flatten multiple facets to one. | |
| void | ObitDConCleanAutoWindow (ObitDConClean *in, glong field, ObitErr *err) |
| Public: Automatically add window. | |
This class is derived from the ObitDCon class.
Actual deconvolution classes are derived from this class autoWindow feature will automatically set CLEAN windows inside a predefined outer window. Each cycle the residuals inside the outer window are searched to the maximum value; if the peak is outside the inner window and > 3 sigma, a new round box of radius 3 pixels is added to the window. Cleaning in each cycle will stop when the peak residual drops to the level of the highest value outside the CLEAN window.
A copy of a pointer to an ObitDConClean should always be made using the ObitDConCleanRef function which updates the reference count in the object. Then whenever freeing an ObitDConClean or changing a pointer, the function ObitDConCleanUnref will decrement the reference count and destroy the object when the reference count hits 0. There is no explicit destructor.
|
|
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 ObitDConClean. returns a ObitDConClean*. in = object to reference |
|
|
Macro to unreference (and possibly destroy) an ObitDConClean returns a ObitDConClean*. in = object to unreference |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Public: Default Constructor. Virtual routine - should never be called Initializes class if needed on first call.
|
|
||||||||||||||||
|
Public: Automatically add window. Each cycle the residuals inside the outer window are searched to the maximum value; if the peak is outside the inner window and > 5 sigma, a new round box is added to the window. Cleaning in each cycle will stop when the peak residual drops to the level of the highest value outside the CLEAN window.
|
|
|
Public: Class initializer.
|
|
||||||||||||||||
|
Public: Copy structure.
|
|
||||||||||||||||
|
Public: Copy (deep) constructor.
|
|
||||||||||||||||
|
Public: Create/initialize ObitDConClean structures.
|
|
||||||||||||
|
Public: Do deconvolution. CLEAN control parameters are in the ObitInfoList member:
|
|
||||||||||||
|
Public: Set Default CLEAN windows. If mosaic member Radius>0 then make round boxes on Fly's eye field with this radius, else use rectangular box including all but outer 5 pixels On outlier fields, use rectangular box of width OutlierSize. If CLEANBox defined in in->info then its contents are used for field 1. Sets outer windows the same as inner windows except for field 1 when CLEANBox set. If autoWindow, no default inner windows are set. Assumes all images in mosaic have descriptors defined. Any previously existing Windows will be lost.
|
|
||||||||||||
|
Public: Flatten multiple facets to one.
|
|
|
Public: ClassInfo pointer.
|
|
||||||||||||
|
Public: Get parameters.
|
|
||||||||||||||||
|
Public: Determine image statistics. For this version the following are calculated:
|
|
||||||||||||
|
Public: Prepare for minor cycle.
|
|
||||||||||||
|
Public: Restore subtracted components.
|
|
||||||||||||
|
Public:Select components to be subtracted .
|
|
||||||||||||
|
Public: Subtract components and generate new residual image(s). Virtual routine, only defined in derived classes
|
|
||||||||||||
|
Public: Restore subtracted components from other fields. Does brute force convolution. Adopted from the AIPSish QOOP:QCLEAN.FOR(CLOVER) Presumes in->mosaic and image descriptors filled in.
|
1.3.9.1