mne-hcp icon indicating copy to clipboard operation
mne-hcp copied to clipboard

Interpolate_missing type error

Open nfoti opened this issue 7 years ago • 2 comments

I am trying to use hcp.preprocessing.interpolate_missing on some epochs data that I have loaded from file. The resulting object is of type EpochsFIF which is not in the allowable types for interpolate_missing (see here).

I was not able to fine a way to convert an EpochsFIF object to an Epochs object in mne so I'm wondering if the code at the link above is supposed to include EpochsFIF somehow (maybe via EpochsBase)?

nfoti avatar Mar 15 '17 19:03 nfoti

yeah I think that should be changed to mne.BaseEpochs since the BaseEpochs class is now public

jasmainak avatar Mar 15 '17 21:03 jasmainak

Thanks. I just submitted a PR with this fix.

nfoti avatar Mar 15 '17 22:03 nfoti