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.2.3.tar.gz (465.7 kB view details)

Uploaded Source

Built Distribution

lyse-3.2.3-py3-none-any.whl (147.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lyse-3.2.3.tar.gz
  • Upload date:
  • Size: 465.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for lyse-3.2.3.tar.gz
Algorithm Hash digest
SHA256 c8722beabfec44674a532eb8b05e6d95cb392b631b25c5749bcd2efd2d558531
MD5 e7822015c61cb7b69c02de88c5e1bdcb
BLAKE2b-256 2328183b7416762359f80f7c7a71b6aee3733c230f40b91a670ea5b61c991ea3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lyse-3.2.3-py3-none-any.whl
  • Upload date:
  • Size: 147.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for lyse-3.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c1a74a57eb475e3601a2d821b5d856d1c7eb024a58a95e6e2e9a5693af5c5e6b
MD5 b65275364b3d53ae3fb0ad7134960fea
BLAKE2b-256 3731db8d73fec34c106aa5c8b4db02a5587c438166e7648186562f4ec86fa17a

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