Table of Contents

Class: MicroscopeFeed hwdriver/microscope.py

Low level connection to the Video Microscope

Methods: getimage

Methods   
GetImage
ImgType
__init__
getimage
  GetImage 
GetImage ( self,  idletask=None )

Get the next image in the form of a PIL image object

  ImgType 
ImgType ( self )

Return the extension (without the .) of the type of image that was last received.

  __init__ 
__init__ ( self,  hostname )

Constructor: Open and initialize the connection to the CCD host

parameters:

hostname

hostname or IP address of the PC controlling the KappaCCD

optional parameters:

txtout

the file or pseudofile used to write a log to.

  getimage 
getimage ( self,  idletask=None )

Get the next image as a string

To determine what type of image it is, call the ImgType method afterwards.

Exceptions   
error( arg )
error(str( arg ) + " : " + repr( self.hostname ) )

Table of Contents

This document was automatically generated on Tue Nov 25 12:18:58 2008 by HappyDoc version WORKING