Package tacval :: Package managers :: Module laser_manager :: Class LaserManager
[hide private]
[frames] | no frames]

Class LaserManager

source code

                    enthought.traits.api.HasTraits --+    
                                                     |    
base_extraction_line_manager.BaseExtractionLineManager --+
                                                         |
                                                        LaserManager

Manager for interfacing with a laser heating device

Class Hierarchy for LaserManager
Class Hierarchy for LaserManager

Instance Methods [hide private]
 
__init__(self, *args, **kw) source code
 
fire_laser(self, power, duration, ramp, cond)
two the laser on for specified time and power
source code
 
update_graph(self, power)
update the ScanGraph with the power and pyrometer temperature
source code
 
set_power(self, power, onoff='off')
set the lasers power
source code
 
_lase_fired(self)
handler for lase button
source code
ScanGraph
_graph_default(self)
default ScanGraph instance
source code
View
traits_view(self)
default view for this object
source code
    Inherited from base_extraction_line_manager.BaseExtractionLineManager
boolean
kill(self)
Returns: True to confirm kill, False to cancel
source code
Class Variables [hide private]
  extraction_line = Any
  hole = Int
  power = Range(0, 30)
  lase = Button
  fire_label = String('fire')
  laser_state = False
  graph = Instance(ScanGraph)
Method Details [hide private]

__init__(self, *args, **kw)
(Constructor)

source code 
Overrides: base_extraction_line_manager.BaseExtractionLineManager.__init__

fire_laser(self, power, duration, ramp, cond)

source code 

two the laser on for specified time and power

Parameters:
  • power (float) - laser power in watts
  • duration (float) - duration of heating in secs
  • ramp (float) - ramp rate
  • cond (Condition) - Condition for synchonization passed to heatingscript

update_graph(self, power)

source code 

update the ScanGraph with the power and pyrometer temperature

Parameters:
  • power (float) - laser power in watts

set_power(self, power, onoff='off')

source code 

set the lasers power

Parameters:
  • power (float) - laser power in watts
  • onoff (str off) - on or off

_graph_default(self)

source code 

default ScanGraph instance

Returns: ScanGraph
a new ScanGraph instance

traits_view(self)

source code 

default view for this object

Returns: View
Traits View