Skip to content

Commit 9342d01

Browse files
authored
added arena (#1000)
* added arena * typo
1 parent 50ad955 commit 9342d01

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/aind_data_schema/components/devices.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,14 @@ class Treadmill(MousePlatform):
772772
width_unit: SizeUnit = Field(default=SizeUnit.CM, title="Width unit")
773773

774774

775+
class Arena(MousePlatform):
776+
"""Description of a rectangular arena"""
777+
778+
device_type: Literal["Arena"] = "Arena"
779+
size: Size3d = Field(..., title="3D Size")
780+
objects_in_arena: List[Device] = Field(default=[], title="Objects in arena")
781+
782+
775783
class Monitor(Device):
776784
"""Description of visual display for visual stimuli"""
777785

0 commit comments

Comments
 (0)