Giter Site home page Giter Site logo

jqiamo / lyse Goto Github PK

View Code? Open in Web Editor NEW

This project forked from labscript-suite/lyse

0.0 1.0 0.0 3.62 MB

lyse is an analysis framework. It coordinates the running of python analysis scripts on experiment data as it becomes availiable, updating plots in real time.

License: Other

Python 100.00%

lyse's Introduction

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.

lyse's People

Contributors

chrisjbillington avatar dihm avatar dsbarker avatar ispielma avatar michwill avatar philipstarkey avatar phynerd avatar rpanderson avatar shjohnst avatar th0mam avatar zakv avatar

Watchers

 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.