Skip to main content

mesoSPIM microscope control

Project description

DOI Python 3.7 License: GPL v3

mesoSPIM-control

Image acquisition software for mesoSPIM light-sheet microscopes. A mesoSPIM (mesoscale selective plane illumination microscope) is optimized for fast imaging of large (many cm³) cleared tissue samples at near-isotropic resolution. Currently, more than 15 mesoSPIM setups are operational around the world.

Parts lists, drawings, and instructions for building a mesoSPIM can be found in the mesoSPIM wiki.

Overview

The mesoSPIM is a versatile light-sheet microscope for imaging cleared tissue samples. It is compatible with all major clearing approaches and optimized for quickly creating large-field-of-view overview datasets.

Installation

Prerequisites

  • Windows 7 or Windows 10, 64-bit
  • Python >=3.7

Device drivers

Cameras

Stages

Anaconda

mesoSPIM-control is usually installed from Anaconda.

  1. Create and activate a new environment mesoSPIM-py37 from Anaconda prompt:
conda create -p C:/Users/Public/conda/envs/mesoSPIM-py37 python=3.7
conda activate C:/Users/Public/conda/envs/mesoSPIM-py37
  1. Install mesoSPIM-control from PyPi:
pip install mesospim-control 

The code will be installed in C:\Users\Public\conda\envs\mesoSPIM-py37\Lib\site-packages\mesoSPIM directory.

Launching

Desktop shortcut

For the end users we recommend this method. Find files mesoSPIM.bat and mesoSPIM-shortcut.lnk in the ..\mesoSPIM\ directory defined above. Copy the mesoSPIM-shortcut (one with blue-orange icon) to your desktop. Double-clicking the shortcut will launch the mesoSPIM-control.

Anaconda prompt (alternative)

Activate the environment

conda activate C:\Users\Public\conda\envs\mesoSPIM-py37

Launch the mesospim-control from any directory:

mesospim-control

Or, navigate to folder C:\Users\Public\conda\envs\mesoSPIM-py37\Lib\site-packages\mesoSPIM and run

python mesoSPIM_Control.py

These methods are recommended for developers - they require more steps but allow more control, since you can move the mesoSPIM folder to where you like in your file system.

Prepare a configuration file and wire the hardware

The config files are stored in the mesoSPIM/config directory. The newly installed software will launch with the demo_config.py, which has all external hardware replaced with Demo simulated devices, to make sure installation is successful in "dry run".

Tip: another quick way to start in demo mode from command line (for developers): python mesoSPIM_Control.py -D

If you have multiple config files you will be prompted to choose one that corresponds to your hardware.

Once your hardware is connected and turned on, change the Demo devices to hardware-specific names, set their parameters, and test each device. See Wiki for details.

Troubleshooting

If there are problems with PyQt5 such as ModuleNotFoundError: No module named 'PyQt5.QtWinExtras after starting mesoSPIM-control, try reinstalling PyQt5 by: python -m pip install --user -I PyQt5 and python -m pip install --user -I PyQt5-sip)

Updating

conda activate C:\Users\Public\conda\envs\mesoSPIM-py37
pip install --upgrade mesospim-control 

:warning: If you are updating mesoSPIM-control from a previous version, please add new sections from the demo config file to your old configuration file in order to unlock all new features.

Documentation for users

For instructions on how to use mesoSPIM-control, please check out the documentation:

If you have questions, contact the current core developer Nikita Vladimirov.

How to cite this software

Fabian F. Voigt, Nikita Vladimirov, Christian Schulze, Rob Campbell, & Fritjof Helmchen. (2022). MesoSPIM control: An open-source acquisition software for light-sheet microscopy written in Python and Qt. Zenodo. https://doi.org/10.5281/zenodo.6109315

DOI

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mesospim-control-1.8.0.tar.gz (534.0 kB view hashes)

Uploaded Source

Built Distribution

mesospim_control-1.8.0-py3-none-any.whl (588.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page