Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add epoch recreation export in NWB2 for mass processing #2076

Open
MichaelHuth opened this issue Mar 27, 2024 · 0 comments
Open

Add epoch recreation export in NWB2 for mass processing #2076

MichaelHuth opened this issue Mar 27, 2024 · 0 comments
Labels
NWB NeuroDataWithoutBorders file format

Comments

@MichaelHuth
Copy link
Collaborator

from #2041 (comment)

I've chatted with Tim about this and here is our conclusion:

Overwrite the existing epoch info in NWBv2 files, existing IPNWB functions: WriteSingleChannel, WriteEpochs, AppendEpochTable
Should be done only on request (i.e. just implement a function)
We will then do the epoch overwriting with an approach like MIES_MassExperimentProcessing.ipf

We can do that in another PR given that this PR is self-contained with tests.

Conceptionally it has to be solved that NWB2 export is threadsafe and epoch recreation is not.
An idea would be to iterate through all sweeps before and cache/buffer the recreated epochs such that NWB2 export can access the data threadsafe.

@MichaelHuth MichaelHuth added the NWB NeuroDataWithoutBorders file format label Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NWB NeuroDataWithoutBorders file format
Projects
None yet
Development

No branches or pull requests

1 participant