MneExperiment.make_ica(self, make=True, **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.

make : bool

If the file does not exist, compute it (default). Set make=False to raise a FileMissing error.

State parameters.

path : str

Path to the ICA file.


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