pswamp.visualization.time_window_plot
Attributes
Classes
Basic time series plot. Adds date axis, background color, legend, etc. |
|
Time window plot with automatic updating from most recent values in time window. |
|
Time window plot with automatic updating from most recent values in time window. |
Functions
|
|
|
Module Contents
- class pswamp.visualization.time_window_plot.TimeSeriesPlot(title='', datetime_xaxis=True, background_color=(30, 63, 64))
Bases:
pyqtgraph.GraphicsLayoutWidgetBasic time series plot. Adds date axis, background color, legend, etc.
- plotWidget
- plots = []
- add_plot(color='lightgray', width=2, **kwargs)
- class pswamp.visualization.time_window_plot.TimeWindowPlot(tw, update_freq=10, title='', datetime_xaxis=True, background_color=(30, 63, 64), col_idx=None, col_sel=None, *args, **kwargs)
Bases:
PySide6.QtWidgets.QWidgetTime window plot with automatic updating from most recent values in time window.
- tw
- channel_names = []
- graphWidget
- colors
- plotWidget
- pl = []
- update()
- request_update()
- class pswamp.visualization.time_window_plot.AnglePlot(*args, subtract_mean=True, **kwargs)
Bases:
TimeWindowPlotTime window plot with automatic updating from most recent values in time window.
- subtract_mean = True
- update()
- pswamp.visualization.time_window_plot.plot_time_window(kafka_kwargs, update_freq=25, **kwargs)
- pswamp.visualization.time_window_plot.run_time_window_plot(*config_args, update_freq=25, channel_selection_idx=None, **kwargs)
- pswamp.visualization.time_window_plot.config