jamica.get_model_ica#
- jamica.get_model_ica(ica, model)[source]#
Return an
mne.preprocessing.ICAfor one model of a multi-model AMICA fit.fit_ica(num_models>1)returns the highest-weight model as the primary ICA. This materialises any model’s decomposition, sharing the same pre-whitening and PCA soapply/get_sources/plot_*work unchanged.- Parameters:
- ica
mne.preprocessing.ICA An ICA returned by
fit_ica()for a multi-model fit (hasamica_result_with a 3-Dunmixing_matrix_white_).- model
int Model index in
[0, num_models).
- ica
- Returns:
mne.preprocessing.ICAA copy of
icawhose unmixing/mixing matrices are modelmodel’s.