hogbom¶
-
hogbom
(dirty, psf, window, gain, thresh, niter, fracthresh, prefix='')[source]¶ Clean the point spread function from a dirty image
See Hogbom CLEAN (1974A&AS…15..417H)
This version operates on numpy arrays.
- Parameters
fracthresh –
prefix –
dirty – The dirty Image, i.e., the Image to be deconvolved
psf – The point spread-function
window – Regions where clean components are allowed. If True, entire dirty Image is allowed
gain – The “loop gain”, i.e., the fraction of the brightest pixel that is removed in each iteration
thresh – Cleaning stops when the maximum of the absolute deviation of the residual is less than this value
niter – Maximum number of components to make if the threshold thresh is not hit
- Returns
clean component Image, residual Image