We recommend using the OpenFlexure Connect client software for controlling the microscope, both on the microscope itself, and on other devices. OpenFlexure Connect is currently available for Windows and Linux.
There is no need to download OpenFlexure Connect onto your Raspberry Pi. It’s already included with Raspbian-OpenFlexure.
Full source code is available at openflexure-connect on GitLab.
If you want to write your own scripts to perform particular experiments or protocols, it’s useful not to have to package them up as extensions. Our Python library makes it easy to control your microscope from a simple Python script that can run either on the Raspberry Pi, or over the network.
This can be particularly useful running from a Jupyter notebook on a laptop, allowing you to plot graphs and display images as you go.
The library can be installed with
pip install openflexure-microscope-client.
Documentation can be found on the GitLab project.