microscope.lights.sapphire module
-
class
microscope.lights.sapphire.
SapphireLaser
(com=None, baud=19200, timeout=0.5, **kwargs)[source] Bases:
microscope._utils.OnlyTriggersBulbOnSoftwareMixin
,microscope.abc.SerialDeviceMixin
,microscope.abc.LightSource
Coherent Sapphire laser.
The Sapphire is a diode-pumped solid-state laser and only supports TriggerMode.SOFTWARE.
-
clearFault
()[source]
-
disable
()[source] Disable the device for a short period for inactivity.
-
flush_buffer
()[source]
-
get_is_on
()[source] Return True if the light source is currently able to produce light.
-
get_status
()[source] Query and return the light source status.
-
initialize
()[source] Initialize the device.
If devices have this method (not required, and many don’t), then they should call it as part of the initialisation, i.e., they should call it on their __init__ method.
-
laser_status
= {b'1': 'Start up', b'2': 'Warmup', b'3': 'Standby', b'4': 'Laser on', b'5': 'Laser ready', b'6': 'Error'}
-
send
(command)[source] Send command and retrieve response.
-