GUI

This module defines logic for plotting exg data in real-time.

olimex.gui.show_exg_for_file(file)

Create and display an exg figure.

This function will create a new matplotlib figure and make a call to FuncAnimation to begin plotting the exg.

Parameters:file (str) – File to stream EXG data from.
olimex.gui.show_exg_for_port(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:port (str) – Serial port being sent exg packets.
olimex.gui.update_generator(axes, reader, from_file=False)

Update exg figure.

This function will update the exg figure.

Parameters:
  • axes
  • reader

Previous topic

EXG

Next topic

Mock

This Page