gastropy.plot_egg_comprehensive

gastropy.plot_egg_comprehensive#

gastropy.plot_egg_comprehensive(signals_df, sfreq, phase_per_vol=None, tr=None, artifact_info=None)[source]#

Create a comprehensive multi-panel EGG analysis figure.

Combines the overview panels (raw, filtered, phase, amplitude) with optional artifact overlay and per-volume phase panel.

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

  • sfreq (float) – Sampling frequency in Hz.

  • phase_per_vol (array_like, optional) – Per-volume mean phase (radians) for fMRI data.

  • tr (float, optional) – fMRI repetition time in seconds.

  • artifact_info (dict, optional) – Output of detect_phase_artifacts.

Returns:

  • fig (matplotlib.figure.Figure)

  • axes (np.ndarray of matplotlib.axes.Axes)