-
Notifications
You must be signed in to change notification settings - Fork 38
Description
Currently epochs are inferred from traces. Occasionally, inferring fails, failing the experiment. The more complex the stimulus the more issues we face with inferring the epochs. Thus, reading epoch data from the source file is highly desirable.
Epoch information actually is available in the notebooks:
dataset._data.notebook.get_value("Epochs", sweep_num, None)
but it is not part of NWB2 standard.
Describe the solution you'd like
Ephys pipeline is planning to start recording epochs into TimeIntervals table in NWB2. For such data we should certainly use existing epoch data instead of inferring it. We should still keep support for inferring epochs from traces in case NWB2 is missing epoch information.
Describe alternatives you've considered
Inferring epoch data from the notebook, but is not NWB2 standard
Additional context
The names of epochs provide in NWB file should be easily interpret able by IPFX