mne-tools/mne-python — pull request #35 by agramfort (2012-04-11 08:59:40+00:00)
Title: refactor proj/SSP/PCA computation

refactor proj/SSP/PCA computation and adding support for computation on evoked data.
I've observed an improvement when using averaged artifacts.

we can now do :

>>> projs = mne.compute_proj_epochs(epochs, n_grad=2, n_mag=2, n_eeg=2)

>>> projs = mne.compute_proj_evoked(evoked, n_grad=2, n_mag=2, n_eeg=2)

and use the script mne_compute_proj_ecg.py to automatically compute the projections for ECG.

eg with the sample dataset:

$mne_compute_proj_ecg.py -i sample_audvis_raw.fif -c "MEG 1531" --l-freq 1 --h-freq 100

feedback welcome !