microscope.lasers.deepstar module

class microscope.lasers.deepstar.DeepstarLaser(com, baud=9600, timeout=2.0, **kwargs)[source]

Bases: microscope.devices.SerialDeviceMixIn, microscope.devices.LaserDevice

_write(command)[source]

Send a command.

get_is_on()[source]

Return True if the laser is currently able to produce light.

get_max_power_mw()[source]

Return the max. power in mW.

get_min_power_mw()[source]

Return the min power in mW.

get_power_mw()[source]

Current laser power.

Omicron LDM lasers can be bought with and without the LDM.APC power monitoring option (light pick-off). If this option is not available, it returns the set power instead.

get_set_power_mw()[source]

Return the power set point.

get_status()[source]

Query and return the laser status.

initialize()[source]

Initialize the device.

is_alive()[source]

Query if device is alive and we can send messages.