gastropy.plot_egg_overview

gastropy.plot_egg_overview#

gastropy.plot_egg_overview(signals_df, sfreq, title=None)[source]#

Plot a 4-panel EGG overview: raw, filtered, phase, amplitude.

Parameters:
  • signals_df (pd.DataFrame) – DataFrame with columns raw, filtered, phase, amplitude (as returned by egg_process).

  • sfreq (float) – Sampling frequency in Hz.

  • title (str, optional) – Overall figure title.

Returns:

  • fig (matplotlib.figure.Figure)

  • axes (np.ndarray of matplotlib.axes.Axes) – Array of 4 axes.