Skip to main content

Automated analysis queue for labscript suite experiments

Project description

the labscript suite – lyse

the labscript suite » lyse

Online analysis of live experiment data

Actions Status License Python Version PyPI Conda Version Google Group

lyse is a data analysis framework for experiments controlled by the labscript suite. It coordinates online analysis of live experiment data, by automatically running Python analysis scripts.

Analysis routines are Python scripts that can be run on a labscript experiment (HDF5) file. We break analysis into two distinct groups:

  1. single-shot analysis routines analyze a single HDF5 file corresponding to one realization of an experimental sequence, or shot; and
  2. multi-shot analysis routines perform higher-order analysis on data from many shots.

A set of Python scripts can be loaded for each analysis category, which will run (when appropriate) on new shot files as they are sent to lyse from blacs. Acquired data, global variables from runmanager and analysis results generated in lyse, for all loaded shots, are stored in a table (a pandas DataFrame. This is a powerful analysis schema that takes advantage of the self-documenting nature of labscript experiment shot files.

The DataFrame is displayed in the lyse GUI and can also be accessed remotely from another PC as follows:

import lyse
df = lyse.data(host='127.0.0.1', port=42519)

Moreover, the lyse DataFrame can be serialized so that an analysis session can be restored in lyse or in a headless environment.

lyse interface – screenshot

The lyse interface, comprising:

  • Single- and multi-shot analysis routines (Python scripts);
  • A graphical representation of the Pandas DataFrame;
  • Figures generated by the analysis scripts.†
  • The output log from lyse and the analysis routines.

† In this example, these are publication quality figures generated for the manuscript Science 364, pp. 1267 (2019) doi:10.1126/science.aat5793.

Installation

lyse is distributed as a Python package on PyPI and Anaconda Cloud, and should be installed with other components of the labscript suite. Please see the installation guide for details.

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

lyse-3.3.0.tar.gz (496.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lyse-3.3.0-py3-none-any.whl (155.2 kB view details)

Uploaded Python 3

File details

Details for the file lyse-3.3.0.tar.gz.

File metadata

  • Download URL: lyse-3.3.0.tar.gz
  • Upload date:
  • Size: 496.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lyse-3.3.0.tar.gz
Algorithm Hash digest
SHA256 bccb63ddc707f7eaf31fd7cd24da3f537d4357603975061eeef198ab1768a628
MD5 3f76e1dae5e5627c1671564786d6f3aa
BLAKE2b-256 9f9bc782cdcc2ba5ed739c6f56b7aacb68a9ad2acac81f310835b8c35b3c4882

See more details on using hashes here.

Provenance

The following attestation bundles were made for lyse-3.3.0.tar.gz:

Publisher: release.yml on labscript-suite/lyse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lyse-3.3.0-py3-none-any.whl.

File metadata

  • Download URL: lyse-3.3.0-py3-none-any.whl
  • Upload date:
  • Size: 155.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lyse-3.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c0cba14b9b06ae55caf84aa780fdbb8e2656e98748802f23d9aa5bbd40b9412e
MD5 5c8ce8978e5cd50357778e1ffe14794e
BLAKE2b-256 d08367c97a0c2db3210fde51abc2ef14ffb37717d13d1edbd48bfdab3a24b654

See more details on using hashes here.

Provenance

The following attestation bundles were made for lyse-3.3.0-py3-none-any.whl:

Publisher: release.yml on labscript-suite/lyse

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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