best way to add sparse behavioral annotations of timeseries data #75
Replies: 1 comment 5 replies
-
Hi there,
What was the exact error you saw for this? For behavioral events such as this, the NWB Extension https://github.com/rly/ndx-events is usually the best way to encode such information (though it is done in PyNWB, not MatNWB). If you wanted, you could write all your information except for the annotated behaviors in MatNWB and then append the file using the extension data types. Otherwise, the core NWB schema would have you do what you are doing now with a TimeSeries: generally follow the structure of this behavior tutorial, but using the MatNWB version of the container. Best, |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'd like to add annotations of behaviors that occur at specific times in my data. I tried using a timeseries, but because there are often 0 or 1 annotations per file .nwb file, an error was thrown (when the timeseries only had one data point). Please let me know what the best option is for very sparse behavioral annotations. I'm using MatNWB to create these files.
Beta Was this translation helpful? Give feedback.
All reactions