DIY Auto-Correlator 1.0
Auto-Correlator Card implementation using Teensy 4.x microcontrollers.
Public Member Functions | Public Attributes | List of all members
live_graph.PStatLiveGraph Class Reference

Public Member Functions

def __init__ (self, port=None)
 
def init_plots (config)
 
def screen_size_calc (final_row, final_col)
 
def grid_allocator (halfcol=False)
 
def update_dashboard (self, update_id=0, update_time=0, current_time=0)
 
def add_canvas_plot (self, ref_name, title=None, half_plot=False, xRange=None, yRange=None, xLabel=None, yLabel=None, xLog=False, yLog=False)
 

Public Attributes

 app
 
 window
 
 dashboard
 

Constructor & Destructor Documentation

◆ __init__()

def live_graph.PStatLiveGraph.__init__ (   self,
  port = None 
)
        Constructor : takes optional parameter "port" which adds the port-address to the window title

Member Function Documentation

◆ add_canvas_plot()

def live_graph.PStatLiveGraph.add_canvas_plot (   self,
  ref_name,
  title = None,
  half_plot = False,
  xRange = None,
  yRange = None,
  xLabel = None,
  yLabel = None,
  xLog = False,
  yLog = False 
)
        Adds a canvas to the canvas list with the set attributes.

◆ grid_allocator()

def live_graph.PStatLiveGraph.grid_allocator (   halfcol = False)
        Allocates a row and column number based on the size of the plot (full-row plot or half-row plot)

◆ init_plots()

def live_graph.PStatLiveGraph.init_plots (   config)
        Sets plots based on the `config` dictionary.

◆ screen_size_calc()

def live_graph.PStatLiveGraph.screen_size_calc (   final_row,
  final_col 
)
        Returns screen resolution based on number of plots.

◆ update_dashboard()

def live_graph.PStatLiveGraph.update_dashboard (   self,
  update_id = 0,
  update_time = 0,
  current_time = 0 
)
        Updates the plot dashboard with the passed values.

Member Data Documentation

◆ app

live_graph.PStatLiveGraph.app

◆ dashboard

live_graph.PStatLiveGraph.dashboard

◆ window

live_graph.PStatLiveGraph.window

The documentation for this class was generated from the following file: