msclean

msclean(dirty, psf, window, gain, thresh, niter, scales, fracthresh, prefix='')[source]

Perform multiscale clean

Multiscale CLEAN (IEEE Journal of Selected Topics in Sig Proc, 2008 vol. 2 pp. 793-801)

This version operates on numpy arrays.

Parameters
  • prefix

  • fracthresh

  • 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, all of the 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

  • scales – Scales (in pixels width) to be used

Returns

clean component image, residual image