slmsuite.hardware.cameras.instrumental#
Light wrapper for the instrumental-lib package.
The instrumental module must be
installed.
pip install instrumental-lib.
For example, the following code loads a UC480 camera:
# Load a legacy Thorlabs camera using the UC480 driver.
from instrumental.drivers.cameras.uc480 import UC480Camera
i_cam = UC480Camera()
# Wrap the camera with the slmsuite-compatible class.
from slmsuite.hardware.cameras.instrumental import Instrumental
cam = Instrumental(i_cam)
Note
Color camera functionality is not currently implemented, and will lead to undefined behavior.
Classes
A wrapped |