Litcius/Paper detail

Python-Microscope – a new open-source Python library for the control of microscopes

David Miguel Susano Pinto, Michael A. Phillips, Nicholas Hall, Julio Mateos‐Langerak, Danail Stoychev, Tiago Susano Pinto, Martin J. Booth, Ilan Davis, Ian M. Dobbie

2021Journal of Cell Science23 citationsDOIOpen Access PDF

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.

Topics & Concepts

Python (programming language)BiologyMicroscopeOpen sourceComputer scienceProgramming languageOpticsSoftwarePhysicsCell Image Analysis TechniquesImage Processing Techniques and ApplicationsAdvanced Fluorescence Microscopy Techniques