What "Configurations" belong in StimulusEpoch #1550
Replies: 2 comments 4 replies
-
Yes, stimulus information in general in the metadata needs improvement. I think convening a group to meet once or twice to discuss how we want to deal with this would be good. In the meantime, if we want any StimulusEpoch.configurations it's a non-breaking change to create new ones and add them in. We're doing this with OlfactometerConfig which will get added in the 2.1 release. You can also continue doing what we did in 1.0 and put stimulus information as parameters in the StimulusEpoch.code. If there's stimulus device metadata that is changing across epochs and meets our bar for inclusion (either "this metadata is needed to properly interpret the data asset for analysis" or "this metadata is needed to make the asset searchable") we should create appropriate configurations and add them to the union.. |
Beta Was this translation helpful? Give feedback.
-
Ok so maybe practical examples are more useful. Most of the tasks that I develop operate on top of an asynchronous structure where sensors and actuators can occupy a wide variety of states at any given point in time. The way that I look at it, the "configuration" is not metadata but instead data. For instance, for the treadmill, at any given point in time (well any "site" in our vr-foraging task) the friction can change. Sometimes it may even change in stochastic ways (if the value is drawn from a distribution). As a result, what we do is log the value as data that can be analyzed later. However, in our task, this is EXACTLY the same for sound, contrast changes, odor delivery, etc... So if everything is the same, why are some "worthy" of being elevated in the data schemas while others are not? Should I simply not define the speaker at all and rely on data to extract relevant stimulus information? Or, alternatively, should we model each site as a different epoch and end up with 1000s epochs in our metadata? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, StimulusEpoch accepts the following types:
I am a bit confused as to why some of these are elevated above other seemingly similar configurations (e.g. ScreenConfig, TreadmillConfig, OlfactometerConfig, ManipulatorConfig, ....)
This makes it somewhat confusing to know what to add to the schema since there are clearly additional active devices in the experiment, but their configuration cannot be added since the union is discriminated.
Beta Was this translation helpful? Give feedback.
All reactions