mne-tools/mne-python — pull request #27 by mluessi (2012-03-02 20:18:09+00:00)
Title: ENH: filtering and apply_function for Raw

Adds low-pass, high-pass, and band-pass filtering to Raw. The filtering operations use the new Raw.apply_function interface, which enables efficient parallel application of functions to a subset of channels.

@agramfort: Since the analytic signal is complex, I haven't added an "apply_hilbert" function so far. At the moment, Raw._data remains float32 regardless of the data type the function returns. We could convert the data type of Raw._data if necessary, but it may then no longer be possible to save the Raw object to a fiff file (does fiff support complex raw files?). If saving to .fiff is no longer possible we could issue a waring.