SessionTKVars

class lib.gui.popup_session.SessionTKVars(buildgraph: BooleanVar, status: StringVar, display: StringVar, scale: StringVar, raw: BooleanVar, trend: BooleanVar, avg: BooleanVar, smoothed: BooleanVar, outliers: BooleanVar, avgiterations: IntVar, smoothamount: DoubleVar, loss_keys: dict[str, ~tkinter.BooleanVar]=<factory>)

Bases: object

Dataclass for holding the tk variables required for the session popup

Parameters:
  • buildgraph (tkinter.BooleanVar) – Trigger variable to indicate the graph should be rebuilt

  • status (tkinter.StringVar) – The variable holding the current status of the popup window

  • display (tkinter.StringVar) – Variable indicating the type of information to be displayed

  • scale (tkinter.StringVar) – Variable indicating whether to display as log or linear data

  • raw (tkinter.BooleanVar) – Variable to indicate raw data should be displayed

  • trend (tkinter.BooleanVar) – Variable to indicate that trend data should be displayed

  • avg (tkinter.BooleanVar) – Variable to indicate that rolling average data should be displayed

  • smoothed (tkinter.BooleanVar) – Variable to indicate that smoothed data should be displayed

  • outliers (tkinter.BooleanVar) – Variable to indicate that outliers should be displayed

  • loss_keys (dict) – Dictionary of names to tkinter.BooleanVar indicating whether specific loss items should be displayed

  • avgiterations (tkinter.IntVar) – The number of iterations to use for rolling average

  • smoothamount (tkinter.DoubleVar) – The amount of smoothing to apply for smoothed data