Python-Microscope: A new open source Python library for the control of microscopes
D. M. M. S. Susano Pinto, M. A. Phillips, N. Hall, J. Mateos-Langerak, D. Stoychev, T. S. Pinto, M. J. Booth, I. Davis, I. M. Dobbie
Abstract
Custom built microscopes often require control of multiple hardware devices and precise hardware coordination. It is also desirable to have a solution that is scalable to complex systems and translatable between components from different manufacturers. Here we report Python-Microscope, a free and open source Python library for high performance control of arbitrarily complex and scalable custom microscope systems. Python-Microscope offers simple to use Python-based tools, abstracting differences between physical devices by providing a defined interface for different device types. Concrete implementations are provided for a range of specific hardware and a framework exists for further expansion. Python-Microscope supports the distribution of devices over multiple computers while maintaining synchronisation via highly precise hardware triggers. We discuss the architecture choices of Python-Microscope that overcome the performance problems often raised against Python and demonstrate the different use cases that drove its design: its integration in user facing projects, namely in the Microscope-Cockpit project; in controlling complex microscopes at high speed while using the Python programming language; and as a microscope simulation tool for software development.
02 /Specification & Classification
Click any tag to browse matching papers- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Microscope-Cockpit: Python-based bespoke microscopy for bio-medical science
M. A. Phillips, D. M. Susano Pinto, … I. M. Dobbie·bioRxiv·Jan 18, 2021
- MicroFPGA: an affordable FPGA platform for microscope control
J. Deschamps, C. Kieser, … J. Ries·bioRxiv·Jun 7, 2022
- Utilizing Social Media and Video Games to Control #DIY Microscopes
Maxime Leblanc-Latour, Craig Bryan, Andrew Pelling·bioRxiv·May 15, 2016
- An Accessible Python Framework for Real-Time Magnetic Tweezers Microscope Control and Image Processing
James A. London, Abhishek K. Singh, … Richard A. Fishel·bioRxiv·Oct 31, 2025
- Democratising "Microscopi": a 3D printed automated XYZT fluorescence imaging system for teaching, outreach and fieldwork
M. B. Wincott, A. Jefferson, … R. M. Parton·bioRxiv·May 21, 2020
- High-speed device synchronization in optical microscopy with an open-source hardware control platform
M. J. Colville, S. Park, … M. J. Paszek·bioRxiv·Jan 29, 2019