madgui.online.diagnostic module¶
Widgets for online beam diagnostic tasks, such as emittance estimation, adding monitor readouts to plot.
Classes
|
|
|
Dialog for selecting SD monitor values to be imported. |
|
|
|
|
|
|
|
Functions
|
Solve for S the linear system of equations: |
|
Compute 1D twiss parameters from 2x2 sigma matrix. |
-
class
madgui.online.diagnostic.
EmittanceDialog
(session)[source]¶ Bases:
madgui.online.diagnostic._FitWidget
Methods
apply
()export_to
(filename)showEvent
(self, QShowEvent)
-
class
madgui.online.diagnostic.
MonitorWidgetBase
(session)[source]¶ Bases:
PyQt5.QtWidgets.QWidget
Dialog for selecting SD monitor values to be imported.
Methods
accept
()deselect
(index)draw
()export
()get_monitor_row
(i, m)remove
()select
(index)selected
(monitor)set_monitor_show
(i, mon, show)update
(self)update(self, QRect)
Attributes
list() -> new empty list
str(object=’’) -> str
str(object=’’) -> str
-
exportFilters
= [('YAML file', '*.yml')]¶
-
folder
= None¶
-
headline
= 'Select for which monitors to plot measurements:'¶
-
title
= 'Set values in ACS from current sequence'¶
-
-
class
madgui.online.diagnostic.
OffsetsWidget
(*args)[source]¶ Bases:
madgui.online.diagnostic.MonitorWidgetBase
Methods
discard
()export_to
(filename)get_monitor_row
(i, m)load
()load_from
(filename)showEvent
(self, QShowEvent)Attributes
str(object=’’) -> str
-
ui_file
= 'offsetswidget.ui'¶
-
-
class
madgui.online.diagnostic.
OrbitWidget
(session)[source]¶ Bases:
madgui.online.diagnostic._FitWidget
Methods
apply
()export_to
(filename)showEvent
(self, QShowEvent)
-
class
madgui.online.diagnostic.
PlotMonitorWidget
(session)[source]¶ Bases:
madgui.online.diagnostic.MonitorWidgetBase
Attributes
list() -> new empty list
str(object=’’) -> str
Methods
export_to
(filename)showEvent
(self, QShowEvent)-
exportFilters
= [('YAML file', '*.yml'), ('TEXT file (numpy compatible)', '*.txt')]¶
-
ui_file
= 'monitorwidget.ui'¶
-