plotting.plot_psd_topography#
- autoclean.functions.visualization.plotting.plot_psd_topography(raw, freq_bands=None, output_path=None, title='Power Spectral Density Topography', verbose=None)[source]#
Plot power spectral density topographical maps for frequency bands.
This function creates topographical maps showing the distribution of power across the scalp for different frequency bands.
- Parameters:
- raw
mne.io.Raw
Raw EEG data to analyze.
- freq_bands
dict
orNone
,default
None
Dictionary of frequency bands with format {‘band_name’: (low_freq, high_freq)}. If None, uses standard EEG bands.
- output_path
str
,Path
,or
None
,default
None
Path to save the plot. If None, plot is not saved.
- title
str
,default
“PowerSpectral
Density
Topography” Title for the plot.
- verbosebool or
None
,default
None
Control verbosity of output.
- raw
- Returns:
- fig
matplotlib.figure.Figure
The created figure object.
- fig
See also
plot_raw_comparison
Plot before/after data comparison
mne.io.Raw.compute_psd
Compute power spectral density
Examples
>>> fig = plot_psd_topography(raw) >>> fig = plot_psd_topography(raw, freq_bands={'alpha': (8, 12)})