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:
icamne.preprocessing.ICA

Fitted ICA object to visualize.

rawmne.io.Raw or None, default None

Raw data used for ICA fitting. Required for time series and spectra.

pickslist or None, default None

Component indices to plot. If None, plots all components.

output_pathstr, Path, or None, default None

Path to save the plot. If None, plot is not saved.

titlestr, default “ICA Components”

Title for the plot.

verbosebool or None, default None

Control verbosity of output.

Returns:
figmatplotlib.figure.Figure

The created figure object.

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])