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.
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: