bemobil_mne.preproc.compute_mi_reduction#
- bemobil_mne.preproc.compute_mi_reduction(raw_before, raw_after, picks='eeg')[source]#
Total pairwise MI reduction under the Gaussian approximation.
MI_total = −½ · logdet(R), where R is the channel correlation matrix. Independent channels → R = I → MI = 0. A good denoiser reduces MI by removing shared artifact variance.
- Parameters:
- raw_before, raw_after
mne.io.Raw Recordings before and after denoising.
- picks
str Channel type to include (default
"eeg").
- raw_before, raw_after
- Returns:
dictmi_before,mi_after,mi_reduction(before − after),mi_reduction_pct.