sometimes you want to test start/nchan/mode/spw without waiting all the time to actually do the deconvolution. here's how:

from cleanhelper import *
imCln=imtool.create()
vis="c0437.ms"
imset=cleanhelper(imCln, vis, False, casalog)
spw=''
nchan=20
wid=''
start=''
outframe=''
vtype="radio"
mode="velocity"
restfreq='113.5678GHz'
st = imset.setChannelization(mode,spw,"",nchan,start,wid,outframe,vtype,restfreq)

st contains the (nchan, start, width) that clean will use to define the cube.

-- RemyIndebetouw - 2010-04-01
Topic revision: r1 - 2010-04-01, RemyIndebetouw
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback