2.3.1 Calculate images by gridding, etc.
Description
This tool function actually does gridding (and Fourier inversion if needed) of
visibility data to make an image. It allows calculation of various types of
image:
Note the full imager equation is not used and so, for example, the primary beam correction is not performed. Use restore to get a residual image using the full imager equation where primary beam correction is performed.
A position shift can be applied when specifying the image parameters with setimage. If a shift is specified then the uvw coordinates are reprojected prior to gridding, and a phase rotation is applied. If the image is a PSF then no phase shift is applied but the uvw are recomputed. To see the effects of the uvw reprojected, you can use the plotuv function.
If desired, the full complex image (before conversion to stokes I,Q,U,V) may be retained. Note that the image tool cannot load a complex image directly. Instead, use the imagecalc constructor to take e.g. the real and imaginary parts of the image.
For making single dish and holography images, the data are convolved onto the grid using a one of a number of options:
To make a reasonable approximation to the sky, one should divide the type=’singledish’ image by the type=’coverage’ image, thresholding at some level. For example:
ia.open(’scanweight’); ia.statistics(s); threshold := s.max / 10.0; # ia.imagecalc(’sdimage’, pixels=spaste(’scanimage[scanweight>’, threshold, ’]/scanweight[scanweight>’, threshold, ’]’)) ###ia.view(raster=true, axislabels=true); |
Arguments
| Inputs |
| ||
| type |
| Type of output image
| |
| allowed: | string |
|
| Default: | observed |
|
| image |
| Name of output image
| |
| allowed: | string |
|
| Default: |
|
|
| compleximage |
| Name of output complex image
| |
| allowed: | string |
|
| Default: |
|
|
| async |
| Run asynchronously in the background
| |
| allowed: | bool |
|
| Default: | false |
|
Example
im.ft(model=’3C273XC1.model’, complist=’3C273XC1.complist’);
im.makeimage(type=’residual’, image=’3C273XC1.residual’) im.makeimage(type=’psf’, image=’3C273XC1.psf’) |
Fill in the MODEL_DATA column from Fourier transforming the model and the componentlist. Make the residual image and write it to 3C273XC1.residual.
Example
im.setvp(dovp=T, usedefaultvp=T, telescope=’GBT’);
im.makeimage(type=’pb’, image=’gbt.pb’) |
In the above we may want to see what the primary beam we are using look like. May also be useful to deconvolve single dish images in the deconvolver tool.
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.