ENH: Add interpolation code and example

cc / FYI @agramfort @wmvanvliet @MadsJensen @t3on @christianbrodbeck 
Yes, the latter was my vision of this thing

> On 12 Dec 2014, at 19:09, Alexandre Gramfort <notifications@github.com> wrote:
> 
> In examples/plot_interpolate_bad_channels.py:
> 
> > +picks = mne.pick_types(raw.info, meg=False, eeg=True, eog=True,
> > +                       exclude=[])
> > +
> > +# Read epochs
> > +epochs = mne.Epochs(raw, events, event_id, tmin, tmax, picks=picks,
> > +                    baseline=(None, 0),
> > +                    reject=dict(eog=150e-6, eeg=80e-6),
> > +                    preload=True)
> > +
> > +# plot with bads
> > +evoked_before = epochs.average()
> > +evoked_before.plot(exclude=[])
> > +
> > +# compute interpolation
> > +evoked_after = evoked_before.copy()
> > +interpolate_bads_eeg(evoked_after)  # also works with Raw and Epochs objects
> +1 on this if we don't go for the method. If we go for the method I would make this function private to have only 1 way to do it.
> 
> —
> Reply to this email directly or view it on GitHub.
>