A library that defines AIND data schema for the Aind Behavior VR Foraging experiment.
Project description
aind-vr-foraging
A repository for the VR Foraging task.
📋 General instructions
This repository follows the project structure laid out in the Aind.Behavior.Services repository.
⚙️ Generating settings files
The VR Foraging tasks is instantiated by a set of three settings files that strictly follow a DSL schema. These files are:
task.jsonrig.jsonsession.json
Examples on how to generate these files can be found in the ./Examples directory of the repository. Once generated, these are the the only required inputs to run the Bonsai workflow in ./src/main.bonsai.
The workflow can thus be executed using the Bonsai CLI:
"./.bonsai/bonsai.exe" "./src/main.bonsai" -p SessionPath=<path-to-session.json> -p RigPath=<path-to-rig.json> -p TaskPath=<path-to-task.json>
[> ] CLI tools
The platform exposes a few CLI tools to facilitate various tasks. Tools are available via:
uv run vr-foraging <subcommand>
for a list of all sub commands available:
uv run vr-foraging -h
You may need to install optional dependencies depending on the sub-commands you run.
🔍 Primary data quality-control
Once an experiment is collected, the primary data quality-control script can be run to check the data for issues. This script can be launcher using:
uv run vr-foraging data-qc <path-to-data-dir>
🌉 Mapping to aind-data-schema
Once an experiment is collected, data can be mapped to aind-data-schema using the data-mapper sub-command:
uv run vr-foraging data-mapper
🔄 Regenerating schemas
DSL schemas can be modified in ./src/aind_behavior_vr_foraging/rig.py (or (...)/task_logic.py`).
Once modified, changes to the DSL must be propagated to json-schema and csharp API. This can be done by running:
uv run vr-foraging regenerate
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aind_behavior_vr_foraging-1.0.0rc4.tar.gz.
File metadata
- Download URL: aind_behavior_vr_foraging-1.0.0rc4.tar.gz
- Upload date:
- Size: 35.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a5fb8630b9001cefa4e50e6a28eb64d92e97e5f8c3c788256aab5556ded61c3
|
|
| MD5 |
e6318f278709f251dc21be80f5a84549
|
|
| BLAKE2b-256 |
4b298084b7512639634f37422738edf20f89bd2c99dc4cda6b1e01f6415d03f4
|
File details
Details for the file aind_behavior_vr_foraging-1.0.0rc4-py3-none-any.whl.
File metadata
- Download URL: aind_behavior_vr_foraging-1.0.0rc4-py3-none-any.whl
- Upload date:
- Size: 49.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abf4e5a767569b21c62ffd965a8e76f90e27f252546d2016739a1d0a1286f594
|
|
| MD5 |
155ab35d4ab74f57ebc2fa6dd4860e53
|
|
| BLAKE2b-256 |
a0c87c349e0aa85dffbf7897eab3bca75628c194b0e0e3faf67b411e67339f81
|