When I’m trying to create epochs, all of them are dropped, and I’m not sure why.
I tried to debug it, and it fails in the epochs._get_data function.
The _get_epoch_from_raw function returns None.
This code reproduces this problem:
Hey Noam, could it be that your events are outside the data range, perhaps by not accounting for raw.first_samp properly? You might be able to solve by just adding raw.first_samp to the first column of your events.
Nice, that looks like it should be compatible with MNE BIDS for sure. @pelednoam, this tutorial code will almost surely work and will fill extra fields in the raw object that will probably be useful 01. Read BIDS datasets — MNE-BIDS 0.10 documentation.