Skip to content

hibtc/madgui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

50d5903 · Dec 10, 2020
Mar 4, 2020
Nov 19, 2020
Feb 12, 2020
Apr 9, 2020
Oct 15, 2020
Nov 19, 2020
Sep 28, 2016
Jan 19, 2019
Jun 4, 2019
Apr 9, 2020
Dec 10, 2020
Nov 21, 2020
Apr 1, 2019

Repository files navigation

madgui

madgui is a Qt5 python GUI for interactive accelerator simulations using MAD-X via cpymad. It currently runs on python 3.4 and above, but higher python versions may be required in the near future.

Installation

pip install madgui

Usage

Now, you should be able to start madgui with the command:

madgui

Optionally, madgui can take a filename for a madx/model file:

madgui /path/to/model.madx

Note that madgui is currently only suited for relatively small sequences, on the scale of few hundred elements at the most.

Configuration

The application loads a YAML config file madgui.yml in the current directory or the user's home directory.

Example file:

model_path: ../hit_models
session_file: madgui.session.yml
online_control:
  connect: true
  backend: 'hit_acs.plugin:TestACS'
onload: |
  code to execute on startup

Development guidelines

See Developer's Guide.