pybemobil.viz.plot_tfr_topomaps#
- pybemobil.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_dict
dict Dictionary of EpochsTFR or TFR objects, grouped by condition such as:
{"condition": mne.EpochsTFR}or{"condition": mne.AverageTFR}. If EpochsTFR are passed, they are averaged over epochs.- times
listoftuples List of (tmin, tmax) tuples to plot.
- bands
dict 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)
- baseline
tuple|None Baseline interval for a log-ratio baseline correction of the TFRs.
None(default) applies none.- tfr_kwargs
dict Additional keyword arguments for the TFR computation function.
- plot_kwargs
dict Additional keyword arguments for the TFR plotting function.
- inst_dict
- Returns:
- figs
dict Dictionary of matplotlib figures, keyed by condition.
- figs