microscope.mirror.alpao module
-
class
microscope.mirror.alpao.
AlpaoDeformableMirror
(serial_number: str, **kwargs)[source] Bases:
microscope.abc.DeformableMirror
Alpao deformable mirror.
The Alpao mirrors support hardware triggers modes TriggerMode.ONCE and TriggerMode.START. By default, they will be set for software triggering, and trigger once.
- Parameters
serial_number – the serial number of the deformable mirror, something like “BIL103”.
-
property
n_actuators
-
queue_patterns
(patterns: numpy.ndarray) → None[source] Send values to the mirror.
- Parameters
patterns – An KxN elements array of values in the range [0 1], where N equals the number of actuators, and K is the number of patterns.
A convenience fallback is provided for software triggering is provided.
-
set_trigger
(ttype, tmode)[source] Set device for a specific trigger.
-
property
trigger_mode
-
property
trigger_type