chan_grid

chan_grid(inst: BaseRaw | BaseEpochs | Evoked, n_cols: int = 10, n_rows: int = 6, plot_func: callable = None, picks: list[str | int] = None, size: tuple[int, int] = (12, 18), show: bool = True, **kwargs) list[Figure][source][source]

Plot a grid of the channels of a Signal object

Parameters:
  • size (tuple[int, int], optional)

  • inst (Signal) – The Signal object to plot

  • n_cols (int, optional) – Number of columns in the grid, by default 10

  • n_rows (int, optional) – Number of rows in the grid, by default the minimum number of rows

  • plot_func (callable, optional) – The function to use to plot the channels, by default inst.plot()

  • picks (list[Union[str, int]], optional) – The channels to plot, by default all

  • size – The size of the figure, by default (8, 12)

  • show (bool, optional) – Whether to show the figure, by default True

Returns:

The figures containing the grid

Return type:

list[plt.Figure]

Examples using ieeg.viz.ensemble.chan_grid

Multitaper spectrogram plot

Multitaper spectrogram plot

Morlet Wavelet spectrogram plot

Morlet Wavelet spectrogram plot

Morlet Wavelet spectrogram plot

Morlet Wavelet spectrogram plot