Skip to content

Location export

Location export turns a tracking run into per-frame spatial features for each subject: where it is, how long and wide its body is, and where it is relative to the recording's regions and points of interest. It writes CSV files keyed by time, so you can join them with your event streams, and a finished run draws them as plots of the animal's path, occupancy, speed and body shape.

Parameters

Recordings

source_recording_ids · array

Recordings whose tracks to export (the analysis run's selection).

Tracking run

tracking_run_id · string

Completed tracking run to read tracks from, common to every selected recording (e.g. track_01).

Keypoint track run

keypoint_run_id · string

A completed keypoint track run to export beside the tracks (keypoints.csv: where each skeleton point was, on the rows tracks.csv has), common to every selected recording (e.g. kt_01). Its poses must have been assigned to the tracking run this export reads. Unset: no keypoints.

Rows per second

sample_fps · number · range > 0

Rows to write per second for each subject. Leave unset to write every tracked frame. When set, the tracked frame nearest each tick of a clock at this rate is kept and nothing is interpolated, so a stretch with no tracking has no rows. A few per second is enough for distance, speed and body shape, and is many times faster than every frame.