mne-tools/mne-python — pull request #24 by agramfort (2012-02-28 09:58:05+00:00)
Title: Algebra with Covariance

- support algebra of covariance matrices

You can now compute the covariance from different raw files and then merge them using the '+' e.g.

cov1 = mne.compute_covariance(epochs1)
cov2 = mne.compute_covariance(epochs2)
gcov = cov1 + cov2

- fix writing when cov is computed in python

the Covariance object needs some love especially it should support regularization. The issue is that it can change the true rank of the data.

- it's a bit unclear to me what to do with FIFF_MNE_COV_KIND. Is it always 1? If we want a diagonal noise covariance when should this be specified?