Package numdisplay :: Module displaydev :: Class FifoImageDisplay
[show private | hide private]
[frames | no frames]

Type FifoImageDisplay

  object --+    
           |    
ImageDisplay --+
               |
              FifoImageDisplay


FIFO version of image display
Method Summary
  __init__(self, infile, outfile)
  __del__(self)
  _write(self, s)
Write string s to image display
    Inherited from ImageDisplay
  close(self, os_close)
Close image display connection
  eraseFrame(self)
Sends commands to erase active frame.
  getConfigno(self, stdname)
Determine which config number matches specified frame buffer name.
  readCursor(self, sample)
Read image cursor value for this image display
  readData(self, x, y, pix)
Reads data from x,y position in active frame.
  readInfo(self)
Read tx and ty from active frame of display device.
  readWCS(self, wcsinfo)
Reads WCS information from active frame of display device.
  selectFB(self, nx, ny, reset)
Select the frame buffer that best matches the input image size.
  setCursor(self, x, y, wcs)
Moves cursor to specified position in frame.
  setFBconfig(self, fbnum, bufname)
Set the frame buffer values for the given frame buffer name.
  setFrame(self, frame_num)
Sets the active frame in frame buffer to specified value.
  syncWCS(self, wcsinfo)
Update WCS to match frame buffer being used.
  writeData(self, x, y, pix)
Writes out image data to x,y position in active frame.
  writeImage(self, pix, wcsinfo)
Write out image to display device in 32Kb sections.
  writeWCS(self, wcsinfo)
Writes out WCS information for frame to display device.
  _read(self, n)
Read n bytes from image display and return as string
  _writeHeader(self, tid, subunit, thingct, x, y, z, t)
Write request to image display
    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)

Class Variable Summary
    Inherited from ImageDisplay
int _COMMAND = 32768                                                                 
int _FEEDBACK = 5                                                                     
int _IIS_READ = 32768                                                                 
int _IIS_WRITE = 131072                                                                
int _IMC_SAMPLE = 16384                                                                 
int _IMCURSOR = 16                                                                    
int _LUT = 2                                                                     
int _MEMORY = 1                                                                     
int _PACKED = 16384                                                                 
int _SZ_IMCURVAL = 160                                                                   
int _SZ_WCSBUF = 320                                                                   
int _WCS = 17                                                                    

Method Details

_write(self, s)

Write string s to image display

Raises IOError on failure
Overrides:
numdisplay.displaydev.ImageDisplay._write

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