Git Product home page Git Product logo

mesospim-control's Introduction

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, we recommend Anaconda

Device drivers

Cameras

Stages

Installation steps

  1. Clone this repository either by via GitHub Desktop (recommended) or by downloading and unpacking the ZIP file into folder C:/Users/Public/mesoSPIM-control

image

  1. Open Anaconda prompt, create and activate a new environment mesoSPIM-py37:
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-specific libraries:
cd C:/Users/Public/mesoSPIM-control
pip install -r requirements-anaconda.txt

Launching

Anaconda prompt

  1. cd C:/Users/Public/mesoSPIM-control/mesoSPIM
  2. python mesoSPIM_Control.py (with argument -D for demo mode)

Desktop shortcut (fast launch)

From Anaconda prompt, type where conda, and enter the result (e.g. C:\Users\Nikita\anaconda3\Scripts\activate.bat) into line 10 of mesoSPIM.bat file:

"%windir%\System32\cmd.exe" /k ""C:\Users\Nikita\anaconda3\Scripts\activate.bat" "C:\Users\Public\conda\envs\mesoSPIM-py37" && python "mesoSPIM_Control.py""

Save changes and double-click the mesoSPIM.bat file - this should launch the control software. If this does ot happen, check the Anaconda path. Once this works, create a shortcut and place it on your desktop for quick launching.

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

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.

Updating existing installation

To ensure safe transition to a new version, we recommend fresh installation of each new version into a separate folder (e.g. mesoSPIM-control-Nov2022) using the steps above. In order to unlock all new features, please review and add new sections from the demo config file to your old configuration file.

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

mesospim-control's People

Contributors

advancedimagingutsw avatar cyanial avatar drchrisch avatar ffvoigt avatar ntfrex avatar nvladimus avatar raacampbell avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.