What is the difference between EpochsArray and Epochs?

I’m struggling to understand the difference between EpochsArray and Epochs. It seems to me that their only difference is that EpochsArray is created from a numpy array, while Epochs is created from a Raw object. Except for this, are there any other notable differences between them?

Critically, for the functions shared by the two classes (i.e. the names of the functions are present in both classes, such as get_data()), if they receive the exact same input arguments, would any of their return values differ between the two classes?

I think that’s pretty much the difference, yes.

to the extent that we support Annotations on Epochs objects, we do not support them on EpochsArray objects. That is one other difference.

2 Likes