Equalize Event Counts Error

Hi,

Whenever I try to use the epochs.equalize_event_counts, I get this same error:

Hi,

Can you share a code to replicate this on the sample data?

thanks
Alex

Hey Alex,

The attached bit of code causes the error on the sample data for me.

Cheers,
Cody

Hi,

equalize_event_counts takes a list of indices. So you should do
epochs.equalize_event_counts(['1',
'2']) instead.

-Jaakko

Aha, that did it. Thanks Jaako! I also just realized I had been looking at documentation for equalize_epochs_counts, but using equalize_event_counts in my code. So, that was my bad from the start.

Cheers,
Cody