Python-Microscope – a new open-source Python library for the control of microscopes
Open Access
- 6 October 2021
- journal article
- research article
- Published by The Company of Biologists in Journal of Cell Science
- Vol. 134 (19)
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 that is 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 architectural features of Python-Microscope that overcome the performance problems often raised against Python and demonstrate the different use cases that drove its design: integration with user-facing projects, namely the Microscope-Cockpit project; control of complex microscopes at high speed while using the Python programming language; and use as a microscope simulation tool for software development.Keywords
All Related Versions
Funding Information
- Wellcome Trust (091911/Z/10/Z, 091911/Z/10/A, 05605/Z/14/Z, 107457/Z/15/Z, 203141/Z/16/Z)
- Medical Research Council (MR/K01577X/1, EP/L016052/1)
- Engineering and Physical Sciences Research Council (MR/K01577X/1, EP/L016052/1)
- Biotechnology and Biological Sciences Research Council (MR/K01577X/1, BB/M011224/1)
- Infrastructures en Biologie Santé et Agronomie (2015-28)
- Centre National de la Recherche Scientifique (Défi Imag'In 2015)
- University of Oxford
This publication has 20 references indexed in Scilit:
- A MATLAB-based Instrument Control Package for Fluorescence ImagingBiophysical Journal, 2018
- Mapping molecules in scanning far-field fluorescence nanoscopyNature Communications, 2015
- ACQ4: an open-source software platform for data acquisition and analysis in neurophysiology researchFrontiers in Neuroinformatics, 2014
- Instant super-resolution imaging in live cells and embryos via analog image processingNature Methods, 2013
- Nanoscopy with more than 100,000 'doughnuts'Nature Methods, 2013
- NIH Image to ImageJ: 25 years of image analysisNature Methods, 2012
- Computer Control of Microscopes Using µManagerCurrent Protocols in Molecular Biology, 2010
- Fast live simultaneous multiwavelength four-dimensional optical microscopyProceedings of the National Academy of Sciences, 2010
- ScanImage: Flexible software for operating laser scanning microscopesBioMedical Engineering OnLine, 2003
- From wavelets to adaptive approximations: time-frequency parametrization of EEGBioMedical Engineering OnLine, 2003