Operations that
take a substantial amount of time to run can be run in the
background either by setting the global variable dowait:=F
or by setting an argument e.g. imgr.clean(async=T).
To retrieve a result, use the result tool function of
defaultservers with the job number as the argument. For example:
- imgr:=imager('ss433.MS')
T
- imgr.setimage(cellx='0.05arcsec', celly='50marcsec', nx=256, ny=256,
spwid=1:2, fieldid=1, stokes='IV')
T
- imgr.fitpsf()
1
# Wait for it to finish and then ask for the result:
- defaultservers.result(1)
[psf=, bpa=[value=42.7269936, unit=deg], bmin=[value=0.13008301,
unit=arcsec], bmaj=[value=0.159367442, unit=arcsec]]