madgui.online.control module

Plugin that integrates a beamoptikdll UI into MadGUI.

Classes

Control(session)

Plugin class for MadGUI.

BeamSampler(control[, monitors])

Beam surveillance utility.

MonitorReadout(name, values)

class madgui.online.control.BeamSampler(control, monitors=())[source]

Bases: object

Beam surveillance utility.

Keeps track of BPMs and broadcasts new readouts.

Methods

fetch(monitors)

Attributes

readouts

timestamp

updated

Signal<[<class ‘int’>, <class ‘dict’>]>

fetch(monitors)[source]
property readouts
property timestamp
updated

Signal<[<class ‘int’>, <class ‘dict’>]>

class madgui.online.control.Control(session)[source]

Bases: object

Plugin class for MadGUI.

When connected, the plugin can be used to access parameters in the online database. This works only if the corresponding parameters were named exactly as in the database and are assigned with the “:=” operator.

Methods

connect()

disconnect()

export_settings()

get_knobs()

Get dict of lowercase name → ParamInfo.

on_correct_measured_response_method()

on_correct_multi_grid_method()

on_correct_optic_variation_method()

on_read_all()

Read all parameters from the online database.

on_read_beam()

on_write_all()

Write all parameters to the online database.

read_all([knobs])

read_beam()

read_monitor(name)

read_param(name)

set_backend(qualname)

write_all([knobs])

write_params(params)

Attributes

monitor_widget

Read out SD values (beam position/envelope).

orm_measure_widget

Measure ORM for later analysis.

Classes

on_sync_model(parent, widget)

connect()[source]
disconnect()[source]
export_settings()[source]
get_knobs()[source]

Get dict of lowercase name → ParamInfo.

property monitor_widget

Read out SD values (beam position/envelope).

on_correct_measured_response_method()[source]
on_correct_multi_grid_method()[source]
on_correct_optic_variation_method()[source]
on_read_all()[source]

Read all parameters from the online database.

on_read_beam()[source]
class on_sync_model(parent, widget)[source]

Bases: object

onSyncModel()[source]
on_write_all()[source]

Write all parameters to the online database.

property orm_measure_widget

Measure ORM for later analysis.

read_all(knobs=None)[source]
read_beam()[source]
read_monitor(name)[source]
read_param(name)[source]
set_backend(qualname)[source]
write_all(knobs=None)[source]
write_params(params)[source]
class madgui.online.control.MonitorReadout(name, values)[source]

Bases: object