pyeeg.io
.load_ica_matrices
- pyeeg.io.load_ica_matrices(fname)
Load ICA matrices from EEGLAB structure .set file
- Parameters:
fname (str) – File path to .set EEGLAB file containing ICA matrices
- Returns:
weights (ndarray (ncomp x nchan)) – Unmixing matrix (form _whitened_ observed data to sources)
weights (ndarray (nchan x ncomp)) – Mixing matrix (form sources to _whitened_ observed data)
sphere (ndarray (nchan x nchan)) – Sphering matrix
- Raises:
IOError – If ICA matrices are not present in the given .set file