Skip to content

Read epochs info from nwb2 files #518

@sgratiy

Description

@sgratiy

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions