pyavs.plot_sensor_space_overview

pyavs.plot_sensor_space_overview(epochs: mne.Epochs, event_types: List[str] | None = None, ch_type: str = 'mag', figsize: Tuple[int, int] = (12, 8), show: bool = True) Figure[source]

Create an overview plot of sensor space MEG data.

This function creates a comprehensive overview showing ERF plots for different event types in a grid layout.

Parameters:
  • epochs (mne.Epochs) – The epochs data to plot

  • event_types (list of str, optional) – List of event types to plot. If None, plots all available event types

  • ch_type (str, optional) – Channel type to plot (‘mag’, ‘grad’, or ‘meg’) (default: ‘mag’)

  • figsize (tuple, optional) – Figure size (width, height) (default: (12, 8))

  • show (bool, optional) – Whether to show the plot (default: True)

Returns:

fig – The figure object

Return type:

matplotlib.figure.Figure