50 48 | |
51 49 | |
52 50 | class gclean: |
53 51 | '''gclean(...) creates a stream of convergence records which indicate |
54 52 | the convergence quaility of the tclean process. The initial record |
55 53 | describes the initial dirty image. |
56 54 | It is designed for use with the interactive clean GUI, but it could |
57 55 | be used independently. It can be used as a regular generator: |
58 56 | for rec in gclean( vis='refim_point_withline.ms', imagename='test', imsize=512, cell='12.0arcsec', |
59 57 | specmode='cube', interpolation='nearest', nchan=5, start='1.0GHz', width='0.2GHz', |
206 204 | def __init__( self, vis, imagename, field='', spw='', timerange='', uvrange='', antenna='', scan='', observation='', intent='', datacolumn='corrected', imsize=[100], cell=[ ], |
207 205 | phasecenter='', stokes='I', startmodel='', specmode='cube', reffreq='', nchan=-1, start='', width='', outframe='LSRK', veltype='radio', restfreq='', interpolation='linear', |
208 206 | perchanweightdensity=True, gridder='standard', wprojplanes=int(1), mosweight=True, psterm=False, wbawp=True, conjbeams=False, usepointing=False, pointingoffsetsigdev=[ ], |
209 207 | pblimit=0.2, deconvolver='hogbom', smallscalebias=0.0, niter=0, threshold='0.1Jy', nsigma=0.0, cycleniter=-1, nmajor=1, cyclefactor=1.0, minpsffraction=0.05, |
210 208 | maxpsffraction=0.8, scales=[], restoringbeam='', pbcor=False, nterms=int(2), weighting='natural', robust=float(0.5), npixels=0, gain=float(0.1), pbmask=0.2, sidelobethreshold=3.0, |
211 209 | noisethreshold=5.0, lownoisethreshold=1.5, negativethreshold=0.0, smoothfactor=float(1.0), minbeamfrac=0.3, cutthreshold=0.01, growiterations=75, dogrowprune=True, |
212 210 | minpercentchange=-1.0, verbose=False, fastnoise=True, savemodel='none', usemask='user', mask='', parallel=False, history_filter=lambda index, arg, history_value: history_value ): |
213 211 | |
214 212 | self._vis = vis |
215 213 | self._imagename = imagename |