GithubHelp home page GithubHelp logo

mamba-ose's Introduction

Mamba

Mamba is the experimental control framework-to-be of HEPS. It aims to provide

  • A GUI frontend with a variety of widgets available to (but not limited to)

    • Control the parameters of devices on the beamline;
    • Design experiment patterns and run experiments routines;
    • Do data analysis and visualisation, online or off-line, using HPC or not.
  • All of these are supported by a backend running inside an IPython shell, and communicates with the frontend using ZeroMQ; the backend is the part of Mamba which actually interacts with the Bluesky objects inside the shell.

  • Both the frontend and the backend run on the Linux-based beamline-control server, and both are Python 3 only; the xpra GUI forwarding system allows for comfortable remote access from popular operating systems.

Usage

  • Building and (optionally) installation:

    $ pip3 install -r requirements.txt
    $ ./prepare.sh
    $ python3 ./setup.py install  # For real installation; maybe with `--user`.
  • Before first use (customise the config after this):

    $ mkdir -p ~/.mamba
    $ cp docs/example_config.yaml ~/.mamba/config.yaml
    $ cp docs/example_init.py ~/.mamba/init.py
  • Routine use, starting the backend first:

    $ mamba-cli  # After real installation; otherwise see below.
    $ cd /path/to/mamba
    $ python3 -m mamba.backend.mamba_cli
  • Routine use, starting the frontend in another terminal:

    $ mamba-gui  # After real installation; otherwise see below.
    $ cd /path/to/mamba
    $ python3 -m mamba.frontend.mamba_gui

mamba-ose's People

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.