Different size in trial row for single column #71
-
I am adding trials and one of the columns can have a different length at each row. This seems to be causing a problem when I try to write the file because if I replace each row with the same data for that specific column, then I do not get the error when writing. Any thoughts on how to address this? I am also curious about creating a timestamp. My data start time is 2 and end time is 1742172. I looked at tutorials that showed creating a list from the start time to the end time was needed. I don't understand the difference between data and timestamp so I am populating them with the same information. When writing the file, using the commented out portion my computer runs out of memory and I have to restart it. The uncommented portion works, but I don't believe it's correct. Am I setting up my time series wrong? I have 1341 trials of varying lengths of time. My understanding is that I am supposed to put all of the times of the trials in a single timestamp based on the feedback I got here: #69. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 10 replies
-
This sounds like you want that column to be what's called a ragged array; this is accomplished using the
For trials, you are better off using the More generally, a |
Beta Was this translation helpful? Give feedback.
This sounds like the best option!
That part of the tutorial is just there to show that it 'can' be done - I don't often see it used in practice. Or if I do it's usually a
TimeSeriesReference
object that also includes pre-calculated frame ranges of the series that fall within the trial