Overview of imager tool functions:
-
Data access
- open, close, done
-
Data selection
- setdata
-
Data editing
- clipvis
-
Data calibration
- correct
-
Data examination
- plotvis, plotuv, plotweights, plotsummary
-
Weighting
- weight, filter, uvrange, sensitivity, fitpsf, plotweights
-
Image definition
- advise, setimage, make
-
Imaging
- makeimage, clean, nnls, mem, pixon, restore, residual,
approximatepsf, fitpsf, setbeam, ft, smooth, feather, makemodelfromsd
-
Masks
- mask, boxmask, regionmask, exprmask, clipimage
-
Miscellaneous
- summary, setoptions, setoptions, setoptions
Example
The following example shows the quickest way to make a CLEAN image and
display it. Note that this can be more easily done from the ??.
include ’imager.g’
#
# First make the MS from a FITS file:
#
m:=fitstoms(msfile=’3C273XC1.MS’, fitsfile=’3C273XC1.FITS’); m.close();
#
# Now make an imager tool for the MS
#
imgr:=imager(’3C273XC1.MS’)
#
# Set the imager to produce images of cellsize 0.7 and
# 256 by 256 pixels
#
imgr.setimage(nx=256,ny=256, cellx=’0.7arcsec’,celly=’0.7arcsec’);
#
# Wait for results before proceeding to the next step
#
dowait:=T
#
# Make and display a clean image
#
imgr.clean(niter=1000, threshold=’30mJy’,
model=’3C273XC1.clean.model’, image=’3C273XC1.clean.image’)
dd.image(’3C273XC1.clean.image’)
#
# Fourier transform the model
#
imgr.ft(model=’3C273XC1.clean.model’)
#
# Plot the visibilities
#
imgr.plotvis()
#
# Write out the final MS and close the imager tool
#
imgr.close()
Please send any comments or questions about CASA or AIPS++
to aips2-requests@nrao.edu
Copyright © 2008 Associated Universities Inc.,
Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search
Updated daily during alpha development.