NRAO Home > CASA > CASA Toolkit Reference Manual
imager.imager - Function

2.3.1 Construct an imager tool


Description

This is used to construct imager tools associated with a MeasurementSet. The imager tool may then be used to generate various types of images. Note that a new executable is started every time the constructor is called.

This returns a Glish variable containing the tool functions of imager in an alternate universe that you have to tunnel to with a wormhole

Arguments





Inputs

filename

MeasurementSet to be imaged

allowed:

string

Default:

compress

Compress calibration columns?

allowed:

bool

Default:

Bool

F

host

Host on which to run imager

allowed:

string

Default:

forcenewserver

Flag to force a new imager client

allowed:

bool

Default:

true

Returns
imager

Example

 
 
im.open(’3C273XC1.MS’)  
im.defineimage(nx=256, ny=256, cellx=’0.7arcsec’, celly=’0.7arcsec’)  
im.image(type=’corrected’, image=’3C273XC1.dirty’)  
im.close()  
 

__________________________________________________________________


More information about CASA may be found at the CASA web page

Copyright 2016 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