slmsuite.hardware.cameras.thorlabs#

Hardware control for modern Thorlabs cameras via TLCameraSDK. The thorlabs_tsi_sdk module must be installed (See ThorCam -> Programming Interfaces). Consider also installing ThorCam for testing cameras outside of Python (See ThorCam -> Software). After installing the SDK, extract the files in: ~\Program Files\Thorlabs\Scientific Imaging\Scientific Camera Support\Scientific_Camera_Interfaces.zip. Follow the instructions in the extracted file Python_README.txt to install into your python environment via pip.

Important

Legacy Thorlabs cameras (e.g. UC480) are not supported by the modern Thorlabs SDK. For these cameras, consider using the slmsuite.hardware.cameras.instrumental.Instrumental or slmsuite.hardware.cameras.pylablib.PyLabLib interfaces which support UC480 drivers.

Note

Color camera functionality is not currently implemented, and will lead to undefined behavior.

Classes

ThorCam

Thorlabs camera.