pswamp.gui.alarms.views.default

Attributes

config

Classes

TimeWindowAppMod

Modified TimeWindowApp, for customizing how often updating happens.

BaseAlarmView

DefaultAlarmView

Module Contents

class pswamp.gui.alarms.views.default.TimeWindowAppMod(*args, store_dataframes=True, **kwargs)

Bases: pswamp.app_templates.time_window_app.TimeWindowApp

Modified TimeWindowApp, for customizing how often updating happens. TODO: Generalize original TimeWindowApp so that this subclass is not needed.

store_dataframes = True
update_funs = []
k = 0
data_frame_storage = []
run_analysis(time_stamp, measurements)
update_storage(next_data_frame)

Update internal storage with data frames

class pswamp.gui.alarms.views.default.BaseAlarmView(config, alarm_uuid, alarm_data, update_freq=50, grid_view=None, channel_selection=None)

Bases: PySide6.QtWidgets.QWidget

update_requested
alarm_topic
grid_view = None
alarm_uuid
alarm_data
t_end_seconds
simplified_alarm_views
tw_app
freq_tw_thread
check_for_alarm_not_critical()
alarm_not_critical_detected_callback()
class pswamp.gui.alarms.views.default.DefaultAlarmView(*args, **kwargs)

Bases: BaseAlarmView

col_idx_freq
freq_ax
draw_alarm_timeline_entry(plotWidget, time_stamp, entry)
alarm_not_critical_detected_callback()
define_layout()
update_function()
update_plots(value)
close_view()
pswamp.gui.alarms.views.default.config