diff --git a/src/spec/create_extension_spec.py b/src/spec/create_extension_spec.py index 32a5f60..1830422 100644 --- a/src/spec/create_extension_spec.py +++ b/src/spec/create_extension_spec.py @@ -125,6 +125,19 @@ def main(): doc="Optional column containing the duration of each event, in seconds.", quantity="?", ), + NWBDatasetSpec( + name="value", + neurodata_type_inc="VectorData", + doc=( + "Optional column containing a value/parameter associated with each event. " + "For example, if you have three levels of reward (e.g., 1 drop, 2 drops, " + "3 drops), instead of encoding each level of reward as its own event " + "type (e.g., 'reward_value_1', 'reward_value_2', 'reward_value_3', " + "you could encode 'reward' as the event type, and the value for each " + "event time could be 1, 2, or 3." + ), + quantity="?", + ), ], )