-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
It is unintuitive and surprising (at least to me and @jasmainak) that:
my_epochs = mne.read_epochs('my_data-epo.fif.gz')
isinstance(my_epochs, mne.Epochs) # returns False ?!!
It would be nice if mne.epochs.EpochsFIF
were a subclass of mne.Epochs
so that type checking were more straightforward. Similar argument applies to the various different types of Raw
objects. @Eric89GXL has suggested (on Gitter) making _baseEpochs
public as one solution, with a caveat in the docstring that it shouldn't be instantiated directly in user code.
Metadata
Metadata
Assignees
Labels
No labels