Skip to main content

nlScript microscope language

A natural language for configuring complex microscope timelapse experiments, based on nlScript.

Even on modern microscopes, time-lapse experiments are often limited to data acquisition at fixed intervals. At each time point, images are acquired at a fixed number of planes, at fixed stage positions, possibly repeated for a fixed set of channels. The dynamic nature of biological processes often requires a more flexible imaging pipeline to be observed optimally, e.g., with the imaging interval adapted to the rate of change, with different channels imaged at varying intervals, or with different positions imaged with varying magnification. The hardware of modern microscope allows for such a flexibility, the limiting factor is the software. The reasons for this is the effort needed to design and develop a user interface that is intuitive and yet allows to configure such a flexible imaging experiment.

To address this gap, we have developed a language for describing flexible time-lapse imaging experiments on microscopes. While our language has been developed for the Zeiss Celldiscoverer 7, it is easily adaptable to other microscope modalities. Remarkably, only a few sentence templates are sufficient to configure time-lapse experiments that (i) provide flexible intervals, (ii) select positions and channels at each time point, (iii) adopt magnification, (iv) adopt channel settings such as laser power, (v) provide adjustable environmental settings (temperature and CO2 concentration).

More information about how to use nlScript to develop custom natural language interfaces can be found here:

You can interactively try the language at https://nlScript.github.io/nlScript-microscope-language-js.

Installation

  • Install Python >=3.10 (including pip and venv)

  • Optional: create a virtual environment:

    cd path/to/this/repository-folder
    python -m venv env
    
  • If you created a virtual environment, activate it. On Windows, using Git Bash, e.g.

    source env/Scripts/activate
    
  • Install nlScript-microscope-language:

    pip install nlScript-microscope-language
    
  • Run it:

    nlScript-microscope-language 
    

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

Metadata

Release files for nlScript-microscope-language 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for nlScript-microscope-language 0.3.0
File Interpreter ABI Platform
nlScript_microscope_language-0.3.0-py3-none-any.whl Python 3 none any Details

Release files / nlScript_microscope_language-0.3.0-py3-none-any.whl

Download URL nlScript_microscope_language-0.3.0-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31b031fa627b701c831f19dd876e32688fdf2dae9b0051c885003217c28552b7
BLAKE2b-256 checksum
How to use checksums
7947c6de202c8b9647a586e19ecf5c7befcb42683bc5a99a1f9af37e0b9bcb9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.5

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page