eelbrain.pipeline.MneExperiment.make_ica

MneExperiment.make_ica(**state)

Compute ICA decomposition for a pipeline.RawICA preprocessing step

If a corresponding file exists, a basic check is done as to whether the bad channels have changed, and if so the ICA is recomputed.

Parameters:

... – State parameters.

Returns:

path – Path to the ICA file.

Return type:

str

Notes

ICA decomposition can take some time. This function can be used to precompute ICA decompositions for all subjects after trial pre-rejection has been completed:

>>> for subject in e:
...     e.make_ica()