Skip to content

Best way to store arbitrary table-like data #15

Answered by jonahpearl
jonahpearl asked this question in Q&A
Discussion options

You must be logged in to vote

Answer from Ben D:

If your data is trials-like, you should use the trials table. The trials table has a type TimeIntervals, which is a sub-class of DynamicTable. TimeIntervals tables require you to input start_time and stop_time for each row, and you can add any other custom columns you want to each row, including floats, ints, strings, or arrays of those types.
If your data is intervals, but not trials-like (e.g. frames of a video), or if you have a need for multiple tables, you can create multiple TimeIntervals objects and add them to NWBFile.intervals.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jonahpearl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant