nraonrao
 
NRAO Home > CASA > TaskRef

0.1.78 viewer

Requires:

Synopsis View an image or visibility data set: Description

The viewer will display images in raster, contour, vector or marker form. Images can be blinked, and movies are available for spectral-line image cubes. For measurement sets, many display and editing options are available.

The viewer can be run outside of casapy by typing ¡casaviewer¿.

Executing viewer ¡viewer¿ will bring up a display panel window, which can be resized. If no data file was specified, a Load Data window will also appear. Click on the desired data file and choose the display type; the rendered data should appear on the display panel.

A Data Display Options window will also appear. It has drop-down subsections for related options, most of which are self-explanatory.

The state of the viewer – loaded data and related display options – can be saved in a ’restore’ file for later use. You can provide the restore filename on the command line or select it from the Load Data window.

See the cookbook for more details on using the viewer.

Arguments





Inputs

infile

(Optional) Name of file to visualize.

allowed:

string

Default:

.

displaytype

(Optional) Type of visual rendering (raster, contour, vector or marker). lel if an lel expression is given for infile (advanced).

allowed:

string

Default:

raster

connection

(Optional) Return a connection object for the newly opened viewer.

allowed:

bool

Default:

False

Returns
void

Example

 
 
examples of usage:  
 
viewer  
viewer "myimage.im"  
viewer "mymeasurementset.ms"  
viewer "myrestorefile.rstr"  
 
viewer "myimage.im", "contour"  
 
viewer "’myimage1.im’ - 2 * ’myimage2.im’", "lel"  
 
 
Keyword arguments:  
infile -- Name of file to visualize  
default: ’’  
example: infile=’ngc5921.image’  
If no infile is specified the Load Data window  
will appear for selecting data.  
displaytype -- (optional): method of rendering data  
visually (raster, contour, vector or marker).  
You can also set this parameter to ’lel’ and  
provide an lel expression for infile (advanced).  
default: ’raster’  
example: displaytype=’contour’  
 
Note: there is no longer a filetype parameter; typing of  
data files is now done automatically.  
        example:  viewer infile=’my.ms’  
obsolete: viewer infile=’my.ms’, filetype=’ms’  
 

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.