The OpenFlexure Stage module¶
This module exposes the functions of the OpenFlexure Nano Motor Controller (AKA the “Sangaboard”) in a friendly Python class. It allows the stage to be moved, as well as providing properties that allow it to be configured. Various context managers and generator functions are provided to simplify opening/closing the hardware, and common operations such as scanning through a list of points.
All of the functionality is accessed through the openflexure_stage.stage.OpenFlexureStage
class,
which optionally includes a openflexure_stage.stage.LightSensor
module if the firmware and
hardware are set up to include this and a openflexure_stage.stage.Endstops
module if the firmware
is compiled with endstop support