casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
task_imview.__imview_class Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Public Attributes

 local_vi
 vi/ving might not be defined in taskinit if loading directly from python via casa.py...
 local_ving

Private Member Functions

def __load_raster
def __load_contour
def __set_axes
def __zoom
def __load_files
def __extract_outputinfo
def __checknumeric
def __check_fileformat
def __check_filename
def __pushd
def __popd

Private Attributes

 __dirstack

Detailed Description

Definition at line 10 of file task_imview.py.


Constructor & Destructor Documentation

Definition at line 13 of file task_imview.py.


Member Function Documentation

def task_imview.__imview_class.__call__ (   self,
  raster = None,
  contour = None,
  zoom = None,
  axes = None,
  out = None 
)
Old parameters:
       infile=None,displaytype=None,channel=None,zoom=None,outfile=None,
       outscale=None,outdpi=None,outformat=None,outlandscape=None,gui=None
The imview task 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.

examples of usage:

imview
imview "myimage.im"
imview "myrestorefile.rstr"

imview "myimage.im", "contour"

imview "'myimage1.im' - 2 * 'myimage2.im'", "lel"
        
Executing imview( ) 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 imview task -- 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 imview task.
        
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:  imview infile='my.im'
        implies:  imview infile='my.im', filetype='raster'
the filetype is still used to load contours, etc.

Definition at line 18 of file task_imview.py.

References task_imview.__imview_class.__extract_outputinfo(), task_imview.__imview_class.__load_files(), task_imview.__imview_class.__popd(), task_imview.__imview_class.__pushd(), task_imview.__imview_class.__set_axes(), task_imview.__imview_class.__zoom(), task_imview.__imview_class.local_vi, and task_imview.__imview_class.local_ving.

def task_imview.__imview_class.__check_fileformat (   self,
  ext 
) [private]
def task_imview.__imview_class.__check_filename (   self,
  out,
  check_extension = True 
) [private]
def task_imview.__imview_class.__checknumeric (   self,
  value,
  otype,
  error_string,
  array_size = None 
) [private]
def task_imview.__imview_class.__extract_outputinfo (   self,
  out 
) [private]
def task_imview.__imview_class.__load_contour (   self,
  vwr,
  panel,
  contour 
) [private]
def task_imview.__imview_class.__load_files (   self,
  filetype,
  vwr,
  panel,
  files 
) [private]
def task_imview.__imview_class.__load_raster (   self,
  vwr,
  panel,
  raster 
) [private]
def task_imview.__imview_class.__popd (   self,
  vwr 
) [private]

Definition at line 408 of file task_imview.py.

Referenced by task_imview.__imview_class.__call__().

def task_imview.__imview_class.__pushd (   self,
  vwr,
  newdir 
) [private]

Definition at line 395 of file task_imview.py.

Referenced by task_imview.__imview_class.__call__().

def task_imview.__imview_class.__set_axes (   self,
  vwr,
  panel,
  axes 
) [private]

Definition at line 184 of file task_imview.py.

References make_mmsdata.all.

Referenced by task_imview.__imview_class.__call__().

def task_imview.__imview_class.__zoom (   self,
  vwr,
  panel,
  zoom 
) [private]

Member Data Documentation

Definition at line 16 of file task_imview.py.

vi/ving might not be defined in taskinit if loading directly from python via casa.py...

Definition at line 14 of file task_imview.py.

Referenced by task_msview.__msview_class.__call__(), task_viewer.__viewer_class.__call__(), and task_imview.__imview_class.__call__().


The documentation for this class was generated from the following file: