Package numdisplay :: Class NumDisplay
[show private | hide private]
[frames | no frames]

Type NumDisplay

object --+
         |
        NumDisplay


Class to manage the attributes and methods necessary for displaying
the array in the image display tool.

This class contains the methods:
    open(imtdev=None):

    close():

    set(z1=None,z2=None,scale=None,factor=None,frame=None):
    reset(names=None)

    display(pix, name=None, bufname=None):

    readcursor():

Method Summary
  __init__(self)
  close(self)
Close the display device entry.
  display(self, pix, name, bufname, z1, z2, transform, zscale, contrast, scale, offset, frame)
Displays byte-scaled (UInt8) n to XIMTOOL device.
  open(self, imtdev)
Open a display device.
  readcursor(self, sample)
Return the cursor position from the image display.
  reset(self, names)
Reset specific attributes, or all by default.
  set(self, frame, z1, z2, contrast, transform, scale, offset)
Allows user to set multiple parameters at one time.
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

close(self)

Close the display device entry.

display(self, pix, name=None, bufname=None, z1=None, z2=None, transform=None, zscale=False, contrast=0.25, scale=None, offset=None, frame=None)

Displays byte-scaled (UInt8) n to XIMTOOL device. This method uses the IIS protocol for displaying the data to the image display device, which requires the data to be byte-scaled. If input is not byte-scaled, it will perform scaling using set values/defaults.

open(self, imtdev=None)

Open a display device.

readcursor(self, sample=0)

Return the cursor position from the image display.

reset(self, names=None)

Reset specific attributes, or all by default.
Parameters:
names - names of attributes to be reset, separated by commas or spaces; the default is to reset all attributes to None
           (type=string or list of strings)

set(self, frame=None, z1=None, z2=None, contrast=None, transform=None, scale=None, offset=None)

Allows user to set multiple parameters at one time.

Generated by Epydoc 2.1 on Fri Mar 14 13:21:48 2008 http://epydoc.sf.net