mne-tools/mne-python — pull request #165 by dengemann (2012-10-27 15:49:21+00:00)
Title: ENH: Improving ICA

- automated source selection
- ica.find_sources_raw and ica.find_sources_epochs allow users to flexibly compare sources to different kinds of targets EEG, EOG, arbitrary signals
- plot_sources_raw and plot_sources_epochs as wrappers around plot_ica_panel allow users to skip unnecessary reconstruction of sources
- the latter allows to select a epoch
- the ica.get_sources_epochs now allows to to get collapsed 2D sources
- added ignore-list for epochs pick selection. Now users can leave EEG / EOG channels in for later source finding without corrupting the ICA
- Added wrapper-functions around event finders from ecg.py and eog.py (not part of ICA). If desired, reconstructed sources can now be passed to those peak-detection functions.

I think all this should make doing ICA in mne-python more fun.
Feedback is desired.

@agramfort and @maluessi : I would like to allow for exporting sources in a raw and epochs format so that sources can be saved in a fiff and opened with mne_browse_raw or so that time_frequency functions taking epochs as arguments can be applied in the ica space. What would be the smartest way for doing this with regard to the fiff info. Sould I specify a certain coil-type? Would there be a way of saving additional data, i.e., the unmixing matrix?
Also I was thinking I just could change channel names like ICA 001, ..., ICA 305. But maybe this ICA to fiff idea is a bit crazy. Wdyt?