Skip to content

Commit

Permalink
objects in arena (#1220)
Browse files Browse the repository at this point in the history
* objects in arena

* examples

* fixed goofs

* examples
  • Loading branch information
saskiad authored Jan 8, 2025
1 parent 1e5454e commit 0dfb05f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/bergamo_ophys_session.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
"stimulus_device_names": [],
"speaker_config": null,
"light_source_config": [],
"objects_in_arena": null,
"output_parameters": {},
"reward_consumed_during_epoch": null,
"reward_consumed_unit": "microliter",
Expand Down
2 changes: 2 additions & 0 deletions examples/ephys_session.json
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,7 @@
"stimulus_device_names": [],
"speaker_config": null,
"light_source_config": [],
"objects_in_arena": null,
"output_parameters": {},
"reward_consumed_during_epoch": null,
"reward_consumed_unit": "microliter",
Expand Down Expand Up @@ -368,6 +369,7 @@
"stimulus_device_names": [],
"speaker_config": null,
"light_source_config": [],
"objects_in_arena": null,
"output_parameters": {},
"reward_consumed_during_epoch": null,
"reward_consumed_unit": "microliter",
Expand Down
2 changes: 2 additions & 0 deletions src/aind_data_schema/core/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class StimulusModality(str, Enum):
"""Types of stimulus modalities"""

AUDITORY = "Auditory"
FREE_MOVING = "Free moving"
OLFACTORY = "Olfactory"
OPTOGENETICS = "Optogenetics"
NONE = "None"
Expand Down Expand Up @@ -523,6 +524,7 @@ class StimulusEpoch(AindModel):
light_source_config: Optional[List[LIGHT_SOURCE_CONFIGS]] = Field(
default=[], title="Light source config", description="Light sources for stimulation"
)
objects_in_arena: Optional[List[str]] = Field(default=None, title="Objects in arena")
output_parameters: AindGenericType = Field(default=AindGeneric(), title="Performance metrics")
reward_consumed_during_epoch: Optional[Decimal] = Field(default=None, title="Reward consumed during training (uL)")
reward_consumed_unit: VolumeUnit = Field(default=VolumeUnit.UL, title="Reward consumed unit")
Expand Down

0 comments on commit 0dfb05f

Please sign in to comment.