plotting.plot_ica_components#
- autoclean.functions.visualization.plotting.plot_ica_components(ica, raw=None, picks=None, output_path=None, title='ICA Components', verbose=None)[source]#
Plot ICA component topographies and properties.
This function creates a comprehensive visualization of ICA components including topographical maps, time series, and power spectra.
- Parameters:
- ica
mne.preprocessing.ICA
Fitted ICA object to visualize.
- raw
mne.io.Raw
orNone
,default
None
Raw data used for ICA fitting. Required for time series and spectra.
- picks
list
orNone
,default
None
Component indices to plot. If None, plots all components.
- output_path
str
,Path
,or
None
,default
None
Path to save the plot. If None, plot is not saved.
- title
str
,default
“ICA Components” Title for the plot.
- verbosebool or
None
,default
None
Control verbosity of output.
- ica
- Returns:
- fig
matplotlib.figure.Figure
The created figure object.
- fig
See also
plot_raw_comparison
Plot before/after data comparison
mne.preprocessing.ICA.plot_components
MNE ICA component plotting
Examples
>>> fig = plot_ica_components(ica, raw) >>> fig = plot_ica_components(ica, raw, picks=[0, 1, 2, 3])