mne-tools/mne-python — pull request #149 by mluessi (2012-10-17 21:53:52+00:00)
Title: ENH: Improved SSP operator handling for Raw

This improves and simplifies the SSP operator handling for Raw and fixes some problems that were recently introduced:

* Correct handling of active/inactive projectors: active means that the projection vector has been applied to the data and it can no longer be removed. Previously, it was possible to remove projs if the data had not been preloaded, but this doesn't work if the proj. had already been applied to the data elsewhere (e.g. using mne_process_raw). The active/inactive flag is now correctly read/written from the fif file.
* When concatenating Raw objects, require that they all have the same SSP projectors (if the resulting Raw is used for epoching/inverse solution having different proj doesn't make sense).
* Add the method del_proj to remove individual projectors.
* Improve the method save s.t. the projectors can be activated when saving the file without modifying the raw object itself.