casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Functions
viewer Namespace Reference

Functions

def viewer

Function Documentation

def viewer.viewer (   infile = '',
  displaytype = 'raster',
  channel = 0,
  zoom = 1,
  outfile = '',
  outscale = 1.0,
  outdpi = 300,
  outformat = 'jpg',
  outlandscape = False,
  gui = True 
)
View an image or visibility data set

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: the filetype parameter is optional; typing of
data files is now inferred:
        example:  viewer infile='my.im'
        obsolete: viewer infile='my.im', filetype='raster'
the filetype is still used to load contours, etc.

Definition at line 13 of file viewer.py.