microscope.lights.obis module

class microscope.lights.obis.ObisLaser(com, baud=115200, timeout=0.5, **kwargs)[source]

Bases: microscope.abc.SerialDeviceMixin, microscope.abc.LightSource

get_is_on()[source]

Return True if the laser 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.

set_trigger(ttype: microscope.TriggerType, tmode: microscope.TriggerMode)None[source]

Set device for a specific trigger.

property trigger_mode
property trigger_type