siriushla.li_di_scrns.main module
Diagnostic Interface of the LINAC’s Screen
-
class siriushla.li_di_scrns.main.GeneralFunctions[source]
Bases: object
Class with the functions used in both Screens Windows
-
getPvName(device, pv_name)[source]
Build PV name
-
setBasicInfo(device, label, pv_name)[source]
Build one basic information Component
-
setRBVObj(device, channel, label, pv_prefix)[source]
Build formatted RBV Component
-
setSingleScrn(device, screen)[source]
Build a single screen Component
-
setWidgetType(wid_type, device, pv_name, label='', value=0)[source]
Get widget type
-
class siriushla.li_di_scrns.main.LiBeamProfile(prefix='', parent=None)[source]
Bases: _SiriusWindow
, GeneralFunctions
Linac Profile Screen
-
buildStacks(stack_type)[source]
Build all the stack groups
-
getScrnSelBtns(device, label)[source]
Get the button label for the position of the screen
-
getStackItem(stack_type, device)[source]
Get one stack item
-
header()[source]
Build the header
-
imageViewer()[source]
Build the image
-
radioBtnClick(value)[source]
Action on radio button change
-
saveStack(stack, stack_type)[source]
Save the stack for future item changes
-
selectionItem(channel)[source]
Build a selection widget
-
setLight(device, pv_list, title)[source]
Build Light Component
-
setMotorsConfig()[source]
Build the Motor Control Buttons
-
setPanelInfo(device, layout, row)[source]
Build the information of one screen in screen panel
-
setScrnHeader(layout)[source]
Build the screen panel header
-
setScrnInfo(device)[source]
Build the screen information Component
-
setScrnPanel()[source]
Build the Screens Panel Component
-
setScrnSelection(selection_info, device)[source]
Build the screen position selection menu
-
setSingleScrnInfo(device)[source]
Build selected screen information
-
setZeroOpt(item, device)[source]
Build Zero Operation Component
-
class siriushla.li_di_scrns.main.ROIViewWindow(parent=None, prefix='')[source]
Bases: _SiriusWindow
, GeneralFunctions
Show the ROI View Window.
-
buildStacks(stack_type)[source]
Build all the stack groups
-
getStackItem(stack_type, device)[source]
Get one stack item
-
radioBtnClick(value)[source]
Action on radio button change
-
rotate_chart(x_array)[source]
Rotate X and Y Axis in the Chart
-
saveStack(stack, stack_type)[source]
Save the stack for future item changes
-
scrnAndProj(device)[source]
Display ROI Screen, the projection charts
and the projection information
-
setGraph(device, graph_data, orientation='V')[source]
Build a graph widget
-
setGraphInfo(device, graph_info)[source]
Build the basic graph information
-
setRoiInfo(device, roi_data, title)[source]
Build the ROI information