Skip to content

Reference

Look things up here: every column of every table, every raw stream, and the Python API.

Processed tables vs raw streams

There are two kinds of data, documented on separate pages. Make sure you are looking at the right one.

Processed tables Raw data contract
What Analysis-ready parquet tables (and NWB) The files the rig wrote to disk
Made by This package The task and rig software
Format Parquet, one column per variable Harp binaries, JSON, CSV, video, ...
Where The shared dataset, or your own export Each session's raw data asset
Read with Polars or pandas contraqctor

For analysis, start from the processed tables. Both pages are generated from the code, so they always match the installed versions.

Python API

For running this package yourself (Process raw sessions):

Page Covers
Session pipeline process_session, create_processors
Export pipeline process_sessions, aggregate
CLI The vr-foraging-packaging command
Processors One class per table, and how to write your own
NWB export NwbSession

For maintainers

Schema migrations explains how older sessions are brought up to the current schema, and its review notes record the decisions behind it.