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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file mesospim-control-1.8.0.tar.gz.

File metadata

  • Download URL: mesospim-control-1.8.0.tar.gz
  • Upload date:
  • Size: 534.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.10

File hashes

Hashes for mesospim-control-1.8.0.tar.gz
Algorithm Hash digest
SHA256 e304b57515d01e3596a02ad276f1b54258b12d04d1eab1f12da4672e8028600e
MD5 1588afb4074eb2bed093a440755cd156
BLAKE2b-256 9d178a977be426e5c1e309ec995e2eb77863b4fcea9b8f468c9a4abef12094cf

See more details on using hashes here.

File details

Details for the file mesospim_control-1.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mesospim_control-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d50986c22e77a7ba569581633375c002e402a90b8eef8e684a55c8330e899a1a
MD5 aa29d7860fd3d8a9c1965da88d077057
BLAKE2b-256 c6a91c25341ebacb864be7d1c3436d994e9229805f53189c3cb21038a0cfec7e

See more details on using hashes here.

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