siriushla.as_ap_sofb.ioc_control
Code Documentation
siriushla.as_ap_sofb.ioc_control.base module
Define Controllers for the orbits displayed in the graphic.
- class siriushla.as_ap_sofb.ioc_control.base.BaseCombo(parent, ctrls, setpoint=None, readback=None, acc='SI')[source]
Bases:
QComboBox
,PyDMPrimitiveWidget
.
- property acc
.
- property acc_idx
.
- configname
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- property isring
.
- class siriushla.as_ap_sofb.ioc_control.base.BaseObject(device, prefix='', acc='SI')[source]
Bases:
object
Base object.
- property acc
Accelerator.
- property acc_idx
Accelerator index.
- property isring
Whether accelerator is a ring.
- class siriushla.as_ap_sofb.ioc_control.base.BaseWidget(parent, device, prefix='', acc='SI')[source]
Bases:
BaseObject
,QWidget
Base widget.
siriushla.as_ap_sofb.ioc_control.drive_window module
Define Controllers for the orbits displayed in the graphic.
- class siriushla.as_ap_sofb.ioc_control.drive_window.DriveControl(parent, device, prefix='', acc='SI')[source]
Bases:
BaseWidget
.
siriushla.as_ap_sofb.ioc_control.kicks_config module
Define Controllers for the orbits displayed in the graphic.
siriushla.as_ap_sofb.ioc_control.main module
Define Controllers for the orbits displayed in the graphic.
- class siriushla.as_ap_sofb.ioc_control.main.PerformanceWidget(parent, device, prefix='')[source]
Bases:
QWidget
.
- class siriushla.as_ap_sofb.ioc_control.main.RefControl(parent, device, ctrls, prefix='', acc='SI')[source]
Bases:
BaseCombo
.
- class siriushla.as_ap_sofb.ioc_control.main.SOFBControl(parent, device, ctrls, prefix='', acc='SI')[source]
Bases:
BaseWidget
.
siriushla.as_ap_sofb.ioc_control.orbit_acquisition module
Define Controllers for the orbits displayed in the graphic.
- class siriushla.as_ap_sofb.ioc_control.orbit_acquisition.AcqControlWidget(parent, device, prefix='', acc='SI')[source]
Bases:
BaseWidget
siriushla.as_ap_sofb.ioc_control.respmat module
Define Controllers for the orbits displayed in the graphic.
- class siriushla.as_ap_sofb.ioc_control.respmat.RespMatWidget(parent, device, prefix='', acc='SI')[source]
Bases:
BaseWidget
- DEFAULT_DIR = '/home/runner'
siriushla.as_ap_sofb.ioc_control.respmat_enbllist module
Create the Selection Matrices for BPMs and Correctors.
- class siriushla.as_ap_sofb.ioc_control.respmat_enbllist.SelectionMatrix(parent, device, prefix='', acc='SI', rules=None)[source]
Bases:
BaseWidget
- class siriushla.as_ap_sofb.ioc_control.respmat_enbllist.SingleSelMatrix(parent, dev, device, prefix='', acc='SI', rules=None)[source]
Bases:
BaseObject
,SelectionMatrixWidget
,PyDMWidget
Create the Selection Matrices for BPMs and Correctors.
- connection_changed(new_conn)[source]
Callback invoked when the connection state of the Channel is changed. This callback acts on the connection state to enable/disable the widget and also trigger the change on alarm severity to ALARM_DISCONNECTED.
- Parameters:
connected (int) – When this value is 0 the channel is disconnected, 1 otherwise.
- get_headers()[source]
Should be implemented in class derivation.
- Returns:
top_headers (tuple or list) – A list of strings for top headers of the selection matrix widget.
side_headers (tuple or list) – A list of strings for side headers of the selection matrix widget.
- get_positions()[source]
Should be implemented in class derivation.
- Returns:
positions – A tuple or list of layout positions for each widget returned by get_widgets.
- Return type:
tuple or list
siriushla.as_ap_sofb.ioc_control.status module
Define Controllers for the orbits displayed in the graphic.