bemobil_mne.viz.plot_tfr_topomaps#

bemobil_mne.viz.plot_tfr_topomaps(inst_dict, *, times=None, bands=None, baseline=None, tfr_kwargs=None, plot_kwargs=None)[source]#

Plot topomaps for different frequency bands and time windows for TFRs.

Parameters:
inst_dictdict

Dictionary of EpochsTFR or TFR objects. grouped by conditionm such as: {"condition": mne.EpochsTFR} or {"condition": mne.AverageTFR}. If EpochsTFR are passed, they are averaged over epochs.

bandsdict

Dictionary of frequency bands, e.g., {‘theta’: (4, 8), …}. Frequencies must be included in the TFR object. If None, default bands are used: - Delta (0-4 Hz) - Theta (4-8 Hz) - Alpha (8-12 Hz) - Beta (12-30 Hz) - Gamma (30-45 Hz)

timeslist of tuples

List of (tmin, tmax) tuples to plot.

tfr_kwargsdict

Additional keyword arguments for the TFR computation function.

plot_kwargsdict

Additional keyword arguments for the TFR plotting function.

Returns:
figsdict

Dictionary of matplotlib figures, keyed by condition.