29 #ifndef SYNTHESIS_IMAGENACLEANER_H
30 #define SYNTHESIS_IMAGENACLEANER_H
37 template <
class T>
class Matrix;
38 template <
class T>
class ImageInterface;
ImageNACleaner & operator=(const ImageNACleaner &other)
assignment operator
casacore::Int iteration() const
return how many iterations we did do
A class interfacing images to MatrixNACleaner.
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
void setMask(casacore::ImageInterface< casacore::Float > &mask)
Set the mask mask - input mask lattice This is where the algorithm searched...the value of the mask ...
void setcontrol(const casacore::Int niter, const casacore::Float gain, const casacore::Quantity &aThreshold, const casacore::Int masksupp=3, const casacore::Int memtype=2, const casacore::Float numSigma=5.0)
niter - number of iterations gain - loop gain used in cleaning (a fraction of the maximum subtracted ...
void startingIteration(const casacore::Int starting=0)
what iteration number to start on
casacore::Bool setupMatCleaner(const casacore::Int niter, const casacore::Float gain, const casacore::Quantity &threshold, const casacore::Int supp=3, const casacore::Int memType=2, const casacore::Float numsigma=5.0)
Helper function to setup some param.
MatrixNACleaner matClean_p
casacore::Float maxResidual()
Max residual after last clean.
casacore::CountedPtr< casacore::ImageInterface< casacore::Float > > psf_p
Referenced counted pointer for constant data.
void setPsf(casacore::ImageInterface< casacore::Float > &psf)
Change the psf image.
~ImageNACleaner()
The destructor.
casacore::CountedPtr< casacore::ImageInterface< casacore::Float > > dirty_p
casacore::CountedPtr< casacore::ImageInterface< casacore::Float > > mask_p
bool Bool
Define the standard types used by Casacore.
A simple deconvolver that masks by memory of previous peaks.
casacore::Int nMaskChan_p
casacore::Float maxResidual_p
void setDirty(casacore::ImageInterface< casacore::Float > &dirty)
Update the dirty image only.
casacore::Int clean(casacore::ImageInterface< casacore::Float > &model, const casacore::Int niter, const casacore::Float gain, const casacore::Quantity &threshold, const casacore::Int masksupp=3, const casacore::Int memType=2, const casacore::Float numsigma=5.0)
Clean an image.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.