biosiglive.gui package
Submodules
biosiglive.gui.plot module
This file contains all the plot functions to plot the data in live or offline.
- class biosiglive.gui.plot.LivePlot(nb_subplots: int = 1, plot_type: PlotType | str = PlotType.Curve, name: str = None, channel_names: list = None, rate: int = None)[source]
Bases:
object
- class biosiglive.gui.plot.OfflinePlot[source]
Bases:
object
This class is used to plot data offline.
- static multi_plot(data: list | ndarray, x: list | ndarray = None, nb_column: int = None, y_label: str = None, x_label: str = None, legend: list | str = None, subplot_title: str | list = None, figure_name: str = None)[source]
This function is used to plot multiple data in one figure.
- Parameters:
data (list or np.ndarray) – The data to plot.
x (list or np.ndarray) – The x-axis data.
nb_column (int) – The number of columns in the figure.
y_label (str) – The y-axis label.
x_label (str) – The x-axis label.
legend (list or str) – The legend of the data.
subplot_title (str or list) – The title of the subplot.
figure_name (str) – The name of the figure.