json-schema¶
The following json-schemas are used as the format definition of the input for this task. They are the result of the Pydantic` models defined in src/aind_behavior_vr_foraging, and are also used to generate src/Extensions/AindBehaviorVrForaging.cs via Bonsai.Sgen.
Task Logic Schema¶
AindVrForagingTaskLogic¶
Main task logic model for the AIND VR Foraging task. This is the top-level class that encapsulates the complete task logic specification for the virtual reality foraging behavioral experiment. It includes all task parameters, environment specifications, and control settings. |
|||
type |
object |
||
properties |
|||
|
Name |
||
Name of the task logic |
|||
type |
string |
||
default |
AindVrForaging |
||
const |
AindVrForaging |
||
|
Description |
||
Description of the task. |
|||
type |
string |
||
default |
|||
|
Parameters of the task logic |
||
#/$defs/AindVrForagingTaskParameters |
|||
|
Version |
||
type |
string |
||
default |
0.6.0-rc1 |
||
const |
0.6.0-rc1 |
||
|
Stage Name |
||
Optional stage name the Task object instance represents. |
|||
default |
null |
||
oneOf |
type |
string |
|
type |
null |
||
additionalProperties |
False |
Rig Schema¶
AindVrForagingRig¶
type |
object |
||||||
properties |
|||||||
|
aind_behavior_services package version |
||||||
type |
string |
||||||
pattern |
^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$ |
||||||
default |
0.12.0 |
||||||
|
Version |
||||||
type |
string |
||||||
default |
0.6.0-rc1 |
||||||
const |
0.6.0-rc1 |
||||||
|
Computer Name |
||||||
Computer name |
|||||||
type |
string |
||||||
|
Rig Name |
||||||
Rig name |
|||||||
type |
string |
||||||
|
Required camera controller to triggered cameras. |
||||||
|
Optional camera controller for monitoring cameras. |
||||||
default |
null |
||||||
oneOf |
#/$defs/CameraController_WebCamera_ |
||||||
type |
null |
||||||
|
Harp behavior |
||||||
#/$defs/HarpBehavior |
|||||||
|
Harp olfactometer |
||||||
#/$defs/Olfactometer |
|||||||
|
Harp lickometer |
||||||
#/$defs/HarpLicketySplit |
|||||||
|
Harp clock generator |
||||||
#/$defs/HarpWhiteRabbit |
|||||||
|
Harp analog input |
||||||
default |
null |
||||||
oneOf |
#/$defs/HarpAnalogInput |
||||||
type |
null |
||||||
|
Harp treadmill |
||||||
#/$defs/Treadmill |
|||||||
|
Sniff detector settings |
||||||
default |
null |
||||||
oneOf |
#/$defs/HarpSniffDetector |
||||||
type |
null |
||||||
|
Environment sensor |
||||||
default |
null |
||||||
oneOf |
#/$defs/HarpEnvironmentSensor |
||||||
type |
null |
||||||
|
Manipulator |
||||||
#/$defs/AindManipulatorDevice |
|||||||
|
Screen settings |
||||||
default |
device_type |
Screen |
|||||
device_name |
Screen |
||||||
additional_settings |
null |
||||||
calibration |
center |
extrinsics |
rotation |
x |
0.0 |
||
y |
0.0 |
||||||
z |
0.0 |
||||||
translation |
x |
0.0 |
|||||
y |
1.309016 |
||||||
z |
-13.27 |
||||||
intrinsics |
display_height |
15.0 |
|||||
display_width |
20.0 |
||||||
frame_height |
1080 |
||||||
frame_width |
1920 |
||||||
left |
extrinsics |
rotation |
x |
0.0 |
|||
y |
1.0472 |
||||||
z |
0.0 |
||||||
translation |
x |
-16.6917756 |
|||||
y |
1.309016 |
||||||
z |
-3.575264 |
||||||
intrinsics |
display_height |
15.0 |
|||||
display_width |
20.0 |
||||||
frame_height |
1080 |
||||||
frame_width |
1920 |
||||||
right |
extrinsics |
rotation |
x |
0.0 |
|||
y |
-1.0472 |
||||||
z |
0.0 |
||||||
translation |
x |
16.6917756 |
|||||
y |
1.309016 |
||||||
z |
-3.575264 |
||||||
intrinsics |
display_height |
15.0 |
|||||
display_width |
20.0 |
||||||
frame_height |
1080 |
||||||
frame_width |
1920 |
||||||
display_index |
1 |
||||||
target_render_frequency |
60.0 |
||||||
target_update_frequency |
120.0 |
||||||
texture_assets_directory |
Textures |
||||||
brightness |
0.0 |
||||||
contrast |
1.0 |
||||||
#/$defs/Screen |
|||||||
|
Calibration models |
||||||
#/$defs/RigCalibration |