|        |   | 
- gui
  
 
 
  
class gui |  
    
|     | 
First stab at a gui element.  To begin with it's just a temperature 
monitor display.  The GTK main loop will block, so to retain 
ability to use the python console we'll want to make this a seperate 
thread at some point.   |  
|   | 
Methods defined here: 
- __init__(self, instrument)
 - Initialises the gui.  Takes a dics.instrument object as an argument,
 
which it scans through for tc08 instances from which it polls 
temperatures for display.  
- delete_event(self, widget, event, data=None)
 - # This callback quits the program
  
- line_colour(self, number)
 - Given an integer, returns a matplotlib line colour character.  As the
 
number is increased the line colour cycles through blue, green, 
red, cyan, magenta, yellow, black.  
- line_style(self, number)
 - Given an integer, returns a matplotlib line style character.  As the
 
number is increased the line style cycles through solid line, dashed 
line, dot-dashed line and dotted line.  
- main(self)
  
- make_plot(self)
  
- parse_log(self, temp_log)
 - Parses a temperature log file, and returns a tuple containing a list
 
of datetime.datetime objects and a one list of temperatures per 
channel.  
- updateDisplay(self)
 - Callback function that gets the current temperatures from the tc08
 
objects in self.tc08s and updates the temperature display.  
 
Data and other attributes defined here: 
- colours = ('b', 'r', 'c', 'm', 'y', 'k')
  
- styles = ('-', '--', '-.', ':')
  
 |    |