eelbrain.pipeline.MneExperiment.make_ica¶
-
MneExperiment.
make_ica
(self, make=True, **state)¶ Compute ICA decomposition for a
pipeline.RawICA
preprocessing stepIf 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: - make : bool
If the file does not exist, compute it (default). Set
make=False
to raise a FileMissing error.- …
State parameters.
Returns: - path : str
Path to the ICA file.
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()