siriushla.as_ps_control

Subpackages

Code Documentation

siriushla.as_ps_control.PSControlWindow module

Defines a class to control a set of a device from a given class.

class siriushla.as_ps_control.PSControlWindow.PSControlWindow(section, device, subsection=None, parent=None)[source]

Bases: _SiriusWindow

Base window to show devices of a section in tabs.

siriushla.as_ps_control.PSDetailWindow module

Define a window with detailed controls for a given magnet.

class siriushla.as_ps_control.PSDetailWindow.PSDetailWindow(psname, parent=None, psmodel=None, pstype=None)[source]

Bases: _SiriusWindow

Window to control a detailed widget.

siriushla.as_ps_control.PSTabControlWindow module

Defines a class to control elements from a given class.

class siriushla.as_ps_control.PSTabControlWindow.PSTabControlWindow(section, parent=None)[source]

Bases: PSControlWindow

Base window to show devices of a section in tabs.

Devices = {'BO': ['dipole', 'quadrupole', 'sextupole', 'corrector-slow', 'skew-quadrupole'], 'IT': ['lens'], 'LI': ['lens', 'corrector-slow', 'solenoid', 'quadrupole', 'spectrometer'], 'SI': ['dipole', 'quadrupole', 'sextupole'], 'TB': ['dipole', 'quadrupole', 'corrector-slow'], 'TS': ['dipole', 'quadrupole', 'corrector-slow']}
TabName = {'corrector-fast': 'Fast Correctors', 'corrector-septff': 'Septa FF Correctors', 'corrector-slow': 'Slow Correctors', 'dipole': 'Dipoles', 'lens': 'Lens', 'quadrupole': 'Quadrupoles', 'sextupole': 'Sextupoles', 'skew-quadrupole': 'Quadrupoles Skew', 'solenoid': 'Solenoids', 'spectrometer': 'Spectrometer', 'trim-quadrupole': 'Trims'}
tabFilled

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

siriushla.as_ps_control.PSTrimWindow module

Defines window class to show trims of a magnet.

class siriushla.as_ps_control.PSTrimWindow.PSTrimWindow(device, parent=None)[source]

Bases: _SiriusWindow

Allow controlling the trims of a given magnet.

siriushla.as_ps_control.SummaryWidgets module

Widget with general functions of DCLink Widgets.

class siriushla.as_ps_control.SummaryWidgets.SummaryHeader(name, visible_props, parent=None)[source]

Bases: QWidget

update_visible_props(new_value)[source]
class siriushla.as_ps_control.SummaryWidgets.SummaryWidget(name, visible_props, parent=None)[source]

Bases: QWidget

General widget for controlling a power supply.

acc_clear()[source]

Reset power supply.

property bbbname

BBB name.

ctrlloop_close()[source]

Close control loop.

ctrlloop_open()[source]

Open control loop.

property devname

PS name.

fillWidget(name)[source]
get_detail_button()[source]

Return psname button.

get_trim_button()[source]

Return trim button.

idffmode_off()[source]

Turn IDFFMode off.

idffmode_on()[source]

Turn IDFFMode on.

pulse_off()[source]

Turn power supply off.

pulse_on()[source]

Turn power supply on.

reset()[source]

Reset power supply.

set_accfreeze_frozen()[source]

Set power supply AccFreeze to frozen.

set_accfreeze_unfrozen()[source]

Set power supply AccFreeze to unfrozen.

set_opmode_slowref()[source]

Set power supply OpMode to SlowRef.

turn_off()[source]

Turn power supply off.

turn_on()[source]

Turn power supply on.

property udcname

UDC name.

update_params()[source]

Update power supply parameters.

wfmupdate_off()[source]

Disable WfmUpdateAuto.

wfmupdate_on()[source]

Enable WfmUpdateAuto.

siriushla.as_ps_control.SummaryWidgets.get_analog_name(psname)[source]

.

siriushla.as_ps_control.SummaryWidgets.get_prop2label(psname)[source]
siriushla.as_ps_control.SummaryWidgets.get_prop2width(psname)[source]
siriushla.as_ps_control.SummaryWidgets.get_strength_name(psname)[source]

.

siriushla.as_ps_control.SummaryWidgets.sort_propties(labels)[source]

siriushla.as_ps_control.ps_wfmerror_mon module

class siriushla.as_ps_control.ps_wfmerror_mon.Graph(*args, **kwargs)[source]

Bases: SiriusWaveformPlot

doubleclick

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

mouseDoubleClickEvent(self, event: QMouseEvent | None)[source]
class siriushla.as_ps_control.ps_wfmerror_mon.GraphWidget(parent=None, pslist=[], name='', delta=0.0, idxini=0, idxfin=4000, legend=False)[source]

Bases: QWidget

setupui()[source]
class siriushla.as_ps_control.ps_wfmerror_mon.PlotWfmErrorWindow(parent=None)[source]

Bases: _SiriusWindow

setupui()[source]

Module contents

Package containing widgets and windows to control power supplies.