29 #ifndef LATTICES_LATTICECLEANER_H 30 #define LATTICES_LATTICECLEANER_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/casa/Quanta/Quantum.h> 35 #include <casacore/lattices/Lattices/TempLattice.h> 36 #include <casacore/casa/Arrays/IPosition.h> 37 #include <casacore/casa/Arrays/Vector.h> 38 #include <casacore/casa/Containers/Block.h> 43 class LatticeCleanProgress;
126 Bool setscales(
const Int nscales,
const Float scaleInc=1.0);
219 void speedup(
const Float Ndouble);
226 Float threshold()
const;
313 Int index(
const Int scale,
const Int otherscale);
315 Bool destroyScales();
319 Bool makeScaleMasks();
335 #ifndef CASACORE_NO_AUTO_TEMPLATES 336 #include <casacore/lattices/LatticeMath/LatticeCleaner.tcc> 337 #endif //# CASACORE_NO_AUTO_TEMPLATES A Vector of integers, for indexing into Array<T> objects.
Bool itsDoSpeedup
Threshold speedup factors:
Double itsMemoryMB
Memory to be allocated per TempLattice.
A Lattice that can be used for temporary storage.
CleanEnums::CleanType itsCleanType
LatticeExprNode mask(const LatticeExprNode &expr)
This function returns the mask of the given expression.
TempLattice< Complex > * itsXfr
Bool itsStopAtLargeScaleNegative
PtrBlock< TempLattice< T > * > itsDirtyConvScales
void ignoreCenterBox(Bool huh)
Tell the algorithm to NOT clean just the inner quarter (This is useful when multiscale clean is being...
PtrHolder< T > & operator=(const PtrHolder< T > &other)
Vector< Float > itsScaleSizes
Lattice< T > * residual()
Look at what WE think the residuals look like Assumes the first scale is zero-sized.
T itsMaskThreshold
threshold for masks.
TempLattice< T > * itsMask
TempLattice< T > * itsDirty
A class for doing multi-dimensional cleaning.
void setSmallScaleBias(const Float x=0.5)
Consider the case of a point source: the flux on all scales is the same, and the first scale will be ...
Int numberIterations() const
Quantum< Double > itsThreshold
Int iteration() const
return how many iterations we did do
A templated, abstract base class for array-like objects.
void stopPointMode(Int nStopPointMode)
Some algorithms require that the cycles be terminated when the image is dominated by point sources; i...
IPosition itsPositionPeakPsf
Bool itsChoose
Let the user choose whether to stop.
T strengthOptimum() const
Method to return the strength optimum achieved at the last clean iteration The output of this method ...
Vector< Float > itsTotalFluxScale
PtrBlock< TempLattice< Complex > * > itsScaleXfrs
bool Bool
Define the standard types used by Casacore.
Abstract base class to monitor progress in lattice operations.
A drop-in replacement for Block<T*>.
Lists the different types of Convolutions that can be done.
Quantum< Double > itsFracThreshold
void stopAtLargeScaleNegative()
During early iterations of a cycled MS Clean in mosaicing, it common to come across an ocsilatory pat...
void startingIteration(const Int starting=0)
what iteration number to start on
Bool queryStopPointMode() const
After completion of cycle, querry this to find out if we stopped because of stopPointMode.
PtrBlock< TempLattice< T > * > itsPsfConvScales
PtrBlock< TempLattice< T > * > itsScales
PtrBlock< TempLattice< T > * > itsScaleMasks
this file contains all the compiler specific defines