siriushla.si_ap_fofb

Code Documentation

siriushla.si_ap_fofb.base module

Base module.

class siriushla.si_ap_fofb.base.BaseObject(device, prefix='')[source]

Bases: BaseObject

Base object.

UM2M = 1e-06
UM2NM = 1000.0
URAD2RAD = 1e-06
property acc

Accelerator.

property acc_idx

Accelerator index.

property isring

Whether accelerator is a ring.

class siriushla.si_ap_fofb.base.BaseWidget(parent, device, prefix='')[source]

Bases: BaseWidget, BaseObject

Base widget.

siriushla.si_ap_fofb.base.get_fofb_icon(color=True)[source]

Return default icon.

siriushla.si_ap_fofb.custom_widgets module

Custom widgets.

class siriushla.si_ap_fofb.custom_widgets.BPMSwModeWidget(parent, device, prefix='')[source]

Bases: BaseObject, QWidget

Auxiliary BPM switching control widget.

class siriushla.si_ap_fofb.custom_widgets.ControllersDetailDialog(parent, device, prefix='', tab_selected=0)[source]

Bases: BaseObject, _SiriusWindow

Controllers detail dialog.

class siriushla.si_ap_fofb.custom_widgets.PSConfigWidget(parent, device, prefix='')[source]

Bases: BaseObject, QWidget

Basic widget to set and get a configuration from ServConf.

class siriushla.si_ap_fofb.custom_widgets.RefOrbWidget(parent, device, prefix='')[source]

Bases: BaseObject, QWidget

Reference Orbit widget.

class siriushla.si_ap_fofb.custom_widgets.StatusDialog(parent, pvname, labels, cmds, title='', detail_button=None)[source]

Bases: _SiriusWindow

Status Detail Dialog.

siriushla.si_ap_fofb.graphics module

Graphics module.

class siriushla.si_ap_fofb.graphics.CorrGainWidget(parent, device, prefix='')[source]

Bases: BaseObject, QWidget

Corrector gain widget.

class siriushla.si_ap_fofb.graphics.KickWidget(parent, device, prefix='')[source]

Bases: BaseObject, QWidget

Corrector kicks widget.

class siriushla.si_ap_fofb.graphics.MatrixWidget(parent, device, propty, prefix='')[source]

Bases: BaseObject, QWidget

Matrix widget.

class siriushla.si_ap_fofb.graphics.RefOrbViewWidget(parent, device, prefix='')[source]

Bases: BaseObject, _SiriusWindow

RefOrb View widget.

siriushla.si_ap_fofb.main module

High level FOFB main module.

class siriushla.si_ap_fofb.main.MainWindow(parent=None, prefix='', device='')[source]

Bases: BaseObject, _SiriusWindow

FOFB Main Window.

siriushla.si_ap_fofb.respmat module

RespMat.

class siriushla.si_ap_fofb.respmat.RespMatWidget(parent, device, prefix='')[source]

Bases: RespMatWidget, BaseWidget

FOFB RespMat widget.

get_main_widget(parent)[source]
get_selection_lists_widget(parent)[source]

Selection lists.

class siriushla.si_ap_fofb.respmat.SelectionMatrix(parent, device, prefix='', rules=None)[source]

Bases: BaseWidget

class siriushla.si_ap_fofb.respmat.SingleSelMatrix(parent, dev, device, prefix='', rules=None)[source]

Bases: SingleSelMatrix, BaseObject

Create the Selection Matrices for BPMs and Correctors.

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.si_ap_fofb.trig_acq_config module

System identification module.

class siriushla.si_ap_fofb.trig_acq_config.FOFBAcqBaseWindow(parent=None, prefix='', device='')[source]

Bases: AcqBaseWindow

FOFB acquisition base window

CONV_IDX2BPM = {0: 'M1', 1: 'M2', 2: 'C1-1', 3: 'C1-2', 4: 'C2', 5: 'C3-1', 6: 'C3-2', 7: 'C4'}
class siriushla.si_ap_fofb.trig_acq_config.FOFBAcqLAMPWindow(parent=None, prefix='', device='')[source]

Bases: FOFBAcqBaseWindow

FOFB lamp acquisition window.

ACQCORE = 'LAMP'
class siriushla.si_ap_fofb.trig_acq_config.FOFBAcqSYSIDWindow(parent=None, prefix='', device='')[source]

Bases: FOFBAcqBaseWindow

FOFB system identification acquisition window.

ACQCORE = 'SYSID'

Module contents