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.

property n_actuators
queue_patterns(patterns: numpy.ndarray)None[source]

Send values to the mirror.

Parameters
  • patterns (numpy.array) – 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.

  • convenience fallback is provided for software triggering is (A) –

  • provided.

set_trigger(ttype, tmode)[source]

Set device for a specific trigger.

property trigger_mode
property trigger_type