GUI¶
This module defines logic for plotting exg data in real-time.
-
olimex.gui.
axes_refresher_generator
(axes, reader)¶ Update exg figure.
This function will update the exg figure.
Parameters: - axes –
- reader –
-
olimex.gui.
show_exg
(source, source_type='port')¶ Create and display a real-time exg figure.
This function will create a new matplotlib figure and make a call to
FuncAnimation
to begin plotting the exg.Parameters: source (str) – Serial port being sent exg packets or file path to file containing saved exg data.