nwb-schema icon indicating copy to clipboard operation
nwb-schema copied to clipboard

AnnotationSeries should optionally contain a target

Open bendichter opened this issue 1 year ago • 1 comments

https://github.com/NeurodataWithoutBorders/nwb-schema/blob/63ac845b2e1afdf6fc79466c1feafdd34538bb10/core/nwb.misc.yaml#L48-L72

I am looking into creating a tutorial for AnnotationSeries. I think this is a useful type to keep around, and different enough from Event structures. However, I think it would be more useful if it was able to point to a TimeSeries. What do you all think about adding an optional link to a TimeSeries object?

bendichter avatar Aug 01 '24 02:08 bendichter

What would be the meaning/relevance of the linked TimeSeries? Can you give an example where neither the EventsTable nor the TimeIntervals table would be appropriate?

Maybe if the camera was moved starting at time A and was reset to its original position at time B, then you would want to say just the SpatialSeries from time A to time B is invalid. That's more of a time interval than an event. And in TimeIntervals, we can already link to specific TimeSeries.

rly avatar Aug 01 '24 20:08 rly