module documentation

OpenFlexure Microscope API extension for stage calibration.

This file contains the HTTP API for camera/stage calibration. It includes calibration functions that measure the relationship between stage coordinates and camera coordinates, as well as functions that move by a specified displacement in pixels, perform closed-loop moves, and return the calibration data.

This module is only intended to be called from the OpenFlexure Microscope server, and depends on that server and its underlying LabThings library.

Class CameraStageMapper A Thing to manage mapping between image and stage coordinates.
Class CSMUncalibratedError An HTTP Exception raised if camera stage mapping data is needed but unavailable.
Class MoveHistory A named tuple containing the position over time for a single move.
Class RecordedMove Call stage movement and maintain a record of position and time.
Type Alias CoordinateType Undocumented
Type Alias XYCoordinateType Undocumented
CoordinateType = (source)

Undocumented

Value
tuple[float, float, float]
XYCoordinateType = (source)

Undocumented

Value
tuple[float, float]