-
Notifications
You must be signed in to change notification settings - Fork 3
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
[Feature]: Adding stimulus timeseries to NWB file from spikeGLX conversion #714
Comments
Unfortunately, this is not supported yet and is planned for a patch following the official release this summer What you can do however (and would probably have to do anyway since most behavior streams don't use common proprietary formats) is use NWB GUIDE to convert proprietary formats, then append the same file after that to include additional data streams We recommend checking out NeuroConv to see if that framework can help in any way (it often helps to break up data streams by |
@zhiwen10 To append stimulus timeseries to a file created by GUIDE, you can use PyNWB (or MatNWB). You can browse the PyNWB tutorials here: https://pynwb.readthedocs.io/en/stable/tutorials/index.html. This one is probably useful if you are working with image stimuli: This one is useful for adding data to an NWB file in general: The differences between writing a file from scratch and appending are that:
Instead of step 4, you could also export your in-memory NWB file to a new file - this would copy the dataset from the original file into a new file that also contains your stimulus timeseries. See the second tutorial listed above for more details on that. Feel free to ask any questions about this process on the PyNWB repo: https://github.com/NeurodataWithoutBorders/pynwb |
We'd also be curious what your source data for these data streams looks like to help inspire some generic interfaces to try to meet your use case |
Thank you for the links. Very helpful. I have 2 types of external data to be added to the NWB file: I'm adding the drift motion signal in the acquisition field as Attached are code with |
Solved Indexseries problem here. |
What would you like to see added to the NWB GUIDE?
What's the best way to add stimulus or other timeseries to the NWB file generated from NWB GUIDE?
I see a solution here. Is this what you would recommend?
Do you have any interest in helping implement the feature?
No.
Code of Conduct
Yes
Did you confirm this feature was not already reported?
Yes
The text was updated successfully, but these errors were encountered: