Parameters¶
Every run parameter, generated from each module's config model. This is the one home for a parameter's bounds and help; the GUI tooltips and CLI --help read the same source.
Detection¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Model (model_id) |
string | required | — | Detection model to run: a built-in, experiment-trained, or imported model id. |
Size / variant (model_variant) |
string | — | — | Model size/variant, if the model has size options; omit for the default. |
Confidence threshold (conf_threshold) |
number | 0.5 |
0–1 | Minimum detection confidence to keep (0–1). |
Batch size (batch_size) |
integer | — | ≥ 1 | Frames per GPU forward pass. Omit to use the model's default (4 for batch-capable YOLO models, 1 for SAM3); bounded by GPU memory. |
Use every (every_n_frames) |
integer | 1 |
≥ 1 | Use every Nth frame of the video: 1 detects every frame, 4 detects frames 0, 4, 8, … Cost falls roughly in proportion. Tracking and embedding count the same source frames, so they can only go coarser by a multiple of this. |
Embedding¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Tracking run (tracking_run_id) |
string | required | — | Tracking run whose tracks to embed (e.g. track_01). |
All tracks (all_tracks) |
boolean | False |
— | Embed every track in the run instead of a specific track list. |
Model (model_id) |
string | dinov3_vit |
— | Embedding model to run (a registered model id). The default is DINOv3 ViT (dinov3_vit). |
Size / variant (model_variant) |
string | — | — | Model size/variant (e.g. vit_base); omit for the model's default size (ViT-L for DINOv3 ViT). |
Read-out (readout) |
string | — | — | Feature read-out: how the backbone output becomes one vector (model-dependent, e.g. pooler / cls_patch / gap / gmp / gap_gmp). Omit for the model's default. |
Input image (constructor) |
string | masked_color_centered_contrast |
— | Named input-image constructor. The centered ones crop each mask and center it at true scale in a shared canvas. Ignored when a renderer_spec is given directly. |
Input size (input_size) |
integer | — | ≥ 1 | Model input resolution (px), the square the model actually sees. Sets the backbone's image-processor size and the renderer's emitted size together. Omit for the model's own input size (e.g. 224 for DINOv3). Not every model is resizable. |
Resize (resize) |
integer | — | ≥ 1 | Final square size the renderer emits (px), independent of the model input size. Omit to follow input_size or the model's own input size. The renderer then hands the model exactly that, instead of a larger canvas it re-downscales every frame. |
Canvas scope (canvas_scope) |
string | per_recording |
— | How the centered constructors size their shared canvas across a multi-recording run: per_recording sizes it to each recording's own largest mask (normalizes away body-size differences between subjects); shared sizes it once to the largest mask over the whole selection (keeps true relative size, but a smaller subject then fills less of the model input). No effect on a single recording. |
Use every (every_n_frames) |
integer | — | ≥ 1 | Use every Nth frame of the video. Omit to embed every frame the tracking run produced. Counted in source frames, so it must be a multiple of what tracking used: after tracking at 2, 4 embeds half of what it produced. |
Batch size (batch_size) |
integer | 32 |
1–1024 | Images per forward pass. |
Egocentric alignment (align) |
string | none |
— | Egocentric alignment: make every animal face the same way before embedding. 'rotate' (overhead camera) turns each image so the head points right; 'mirror' (side camera) flips an animal facing left so it faces right; 'none' embeds the image as cropped. Needs a keypoint track run and a heading definition. A frame with no heading within the gap is not embedded, so an aligned run never mixes turned and unturned pictures. |
Keypoint track run (keypoint_run_id) |
string | — | — | The keypoint track run (kt_NN) the heading is read from; it must come from this embedding's own tracking run. |
Heading (heading) |
string | — | — | A saved heading definition: the skeleton points whose mean is the front and the points whose mean is the back. The heading is the direction from back to front, in pixels; the resolved definition is copied onto the run. |
Fill heading gaps up to (max_gap_s) |
number | 0.5 |
0–30 | A frame without its own heading takes one interpolated across the gap to the nearest defined frames, when that gap is no longer than this, in seconds; in a longer gap the frame is not embedded and is counted as lost to heading. (s) |
Mirror hold (mirror_hold_s) |
number | 1.0 |
0–30 | mirror only: the animal must face the new way for this long, in seconds, before the image flips, so a heading hovering near straight-on does not flicker. (s) |
Facing-camera ratio (facing_camera_ratio) |
number | 0.5 |
0–1 | A heading axis shorter than this fraction of the track's typical axis length (its 95th percentile over the run) is undefined: an animal facing the camera foreshortens its axis to noise, which is where headings flip. |
Keypoint detect¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Detection run (detection_run_id) |
string | required | — | Detection run to place keypoints on (e.g. det_01). A method that works per detection crops each of its detections (and reads their masks if it uses them); a whole-frame method uses its frames. Keypoints are stored per frame with no subject: keypoint track gives each pose to a tracked animal. |
Method (model_id) |
string | required | — | The keypoint method, by registered id (dinov3_match). No default: which method fits is a fact about the animal and the camera, and a default is where a wrong one hides. |
Size / variant (model_variant) |
string | — | — | The method's size variant; omit for its default (dinov3_match: vit_large). For a method on a shared backbone this is the backbone's size. |
Example set (example_set_id) |
string | — | — | The example set the method learns from (ex_NN): the marked frames of the skeleton to place. Required by a method that needs examples; refused by one that does not. |
Minimum pose confidence (min_pose_confidence) |
number | — | 0–1 | Keep a pose only if the method's confidence in the whole animal is at least this. Only for a method that reports one (a trained pose model); omit for 0.25. Lower keeps more faint or partly hidden animals and more false ones. Poses below it are not stored, so changing it means running again. |
Decode (decode) |
string | — | — | How a frame's candidates become points. 'skeleton' chooses jointly: the midline as a tree with edge lengths learned from the examples, left/right pairs as two distinct places (the default when the skeleton has edges). 'per_point' takes each point's best candidate on its own. |
Left/right rule (side_rule) |
string | — | — | How a left/right pair is kept apart under the skeleton decode. 'auto' decides per pair from the example clicks (the default when the skeleton has a pair): 'midline' puts each member on its own side of the midline (right from above), 'hard' keeps their relative order across the body (right from the side). 'soft' only penalises a swap; 'off' ignores sides (the default without pairs). |
Crop size (px) (crop_px) |
integer | — | 64–1792 | Side of the square crop around each detection's box the method matches in, in pixels; a multiple of the backbone's patch size (16). Omit for 448. Every animal is resized to this crop, so a patch is a fixed fraction of body size whatever the rig. |
Use every (every_n_frames) |
integer | — | ≥ 1 | Use every Nth frame of the video. Omit to use every frame the detection run holds. Counted in source frames, so it must be a multiple of what detection used. |
Batch size (batch_size) |
integer | 16 |
1–256 | Frames per forward pass. Lower it if the method runs out of GPU memory; it never changes a result. |
Keypoint track¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Keypoint detect run (detect_run_id) |
string | required | — | Keypoint detect run to settle over time (e.g. kd_01); its candidates, scores and skeleton are what the method reads. |
Tracking run (tracking_run_id) |
string | — | — | Tracking run whose subjects the poses are given to (e.g. track_01); it must be on the detect run's detection run. Omit when exactly one such run is complete; with several, name one. |
Match: share inside mask (match_min_inside) |
number | 0.5 |
>0–1 | The least share of a pose's placed points that must fall inside a subject's (grown) mask for the pose to be given to that subject. A policy default, not a measured one. |
Match: mask grow (body fraction) (match_mask_grow) |
number | 0.05 |
≥ 0 | How far each subject's mask is grown before the match, as a fraction of its body scale, so a nose or tail tip the segmentation clipped still counts as inside. A policy default, not a measured one. |
Method (method) |
string | — | — | The track method: temporal_decode (a path through the stored candidates, then the filters) or despike_smooth (the filters on the best point). Omit for the detect run's method's own default. |
Tracking¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Detection run (detection_run_id) |
string | required | — | Detection run to track: its per-frame detections are linked into tracks (e.g. det_01). |
Tracker (tracker_id) |
string | anchor_tracker |
— | Tracking algorithm to run, by registered tracker id. The default keeps one subject per frame: it takes the highest-confidence detection and attaches overlapping fragments of the same animal to it, which is the shape of every single-animal recording. Recordings with more than one subject are not supported yet. |
Field of view (arena_name) |
string | — | — | Restrict tracking to inside the field of view with this name. A name rather than an id, because an arena id is only unique within one recording: ids are minted per recording, so the same id is a different polygon on the recording next to it. validate() resolves this to each recording's own arena_ids. |
Field of view (resolved) (arena_ids) |
array | — | — | The resolved field of view: this recording's own arena id (at most one). Normally derived from arena_name; set it directly to name one particular recording's arena. Stored under the kind arena, which is what the on-disk paths still call it. |
Use every (every_n_frames) |
integer | — | ≥ 1 | Use every Nth frame of the video. Omit to link every frame detection produced. Counted in source frames, so it must be a multiple of what detection used. Going coarser here also thins what embedding can read, and makes linking harder: the subject moves further between the frames being compared. |
Hyperparameters (hyperparams) |
object | — | — | Tracker-specific hyperparameters; each tracker defines and validates its own set. |
Location export¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
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 | — | > 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. |
Query¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Embed run (embed_run_id) |
string | required | — | Embedding run id shared by the searched recordings (e.g. emb_01). |
Subject (track_id) |
integer | 0 |
≥ 0 | Subject track id to search (single-subject default 0). |
Method (method) |
string | soft_knn |
— | Search method, by id. The default is chosen on measured cost, not on accuracy: soft_knn is fast. Which method retrieves better has never been measured, so each method's page says what is and is not known about it (§20). |
Trajectory split gap (trajectory_split_gap_s) |
number | — | ≥ 0 | A break in tracking longer than this (seconds) splits the trajectory into separate stretches to search, and an example clip must sit inside one. 0 = never split. Default: ~4x the subject's frame period. (s) |
Min match length (min_match_s) |
number | 0.0 |
≥ 0 | Shortest match to return, in seconds. A match is never formed shorter than this, so a brief spike cannot crowd out a longer match beside it. A match of n frames lasts n frame periods. Applied during the search, so changing it means searching again. 0 = no minimum. (s) |
Background seed (background_seed) |
integer | 0 |
≥ 0 | Seed for the background sample, when the chosen method needs one. The module draws the background, never the method, so the draw is recorded and a run reproduces; change this to check how much a result depends on which background frames were drawn. Ignored by a method that needs no background. |
Temporal clustering¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Recordings (source_recording_ids) |
array | — | — | Recordings to fit the vocabulary on. Every recording's bouts are pooled into one vocabulary, so a cluster common in one treatment and absent in another is directly comparable. |
Embedding run (embed_run_id) |
string | — | — | Embedding run to read pose trajectories from, by id (e.g. emb_02): that id in every selected recording. Left unset, each recording's own run with the one set of embedding settings they all have is used, whatever its id, and the choice is refused when they share several: a vocabulary silently fitted on whichever sorted first would score differently tomorrow. |
Track (track_id) |
integer | 0 |
≥ 0 | Track (subject) to cluster, in each recording. |
Method (method) |
string | codebook_viterbi |
— | Clustering method. codebook_viterbi builds a codebook of poses from a sample of each recording and decodes the whole trajectory against it; its cost grows in proportion to the video pooled. dtw_finch cuts each trajectory into bouts, compares every pair with banded DTW and groups them with FINCH; it draws slightly better boundaries, but its cost grows with the square of the bout count. The two tie on vocabulary quality. A registry key rather than a hardcoded call, so a further method needs no change here. |
Labeling¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Teacher model (model_id) |
string | sam3 |
— | The teacher: a prompt-capable model that labels the frames (e.g. sam3). |
Teacher size (model_variant) |
string | — | — | Teacher size/variant, if the model has size options; omit for the default. |
Frames to label (n_frames) |
integer | required | ≥ 1 | Total frames to sample and label, allocated proportionally to recording length. |
Frame sampling (sampling) |
string | stratified |
— | Within each video: 'stratified' spreads picks evenly across time (one draw per equal-width bin); 'uniform' is fully random. |
Confidence threshold (logit_threshold) |
number | 0.5 |
0–1 | Confidence threshold for keeping a detection. |
Min contour area (min_contour_area) |
integer | 100 |
≥ 0 | Drop mask contours smaller than this many pixels. (px) |
Validation split (val_split) |
number | 0.15 |
0–<1 | Fraction of labeled frames held out for validation (stratified per recording). |
Background share (background_share) |
number | 0.1 |
0–0.5 | Largest share of the dataset that may be empty background. A background image is one where the teacher found none of the classes; it is kept with an empty label so the trained detector learns what nothing there looks like. 0 keeps none. |
Negative prompt (negative_prompt) |
string | — | — | Something in the video that touches the animal but is not it, such as a tether, cable or patch cord. The teacher labels it as a class of its own, so the trained detector learns to tell it apart from your classes and never reports it. Leave empty for none. For a tethered animal, cable works with SAM 3 where tether finds nothing. Check it with Test prompts: it must not take part of the animal, such as a tail. |
Keypoint dataset¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Frames to label (n_frames) |
integer | required | ≥ 1 | Frames to label across the chosen recordings, shared out by each recording's tracked rows, one draw per equal time slice. |
Validation split (val_split) |
number | 0.15 |
0–<1 | Fraction of labeled frames held out for validation, per recording. |
Score cut-off (score_cutoff) |
number | — | ≥ 0 | A point placed with a score below this is taught as not visible (v = 0); the box is still taught. Omit for the teacher method's own default cut-off, recorded on the dataset. |
Keep clear of audit frames (exclude_audit_s) |
number | 1.0 |
≥ 0 | Never use an audit frame, nor any frame within this many seconds of one, so the labels that score a method are never what builds it. (s) |
Candidate stride (every_n_frames) |
integer | 1 |
≥ 1 | Consider only every n-th teacher row as a candidate, so neighbouring frames of one posture are not drawn together. |
Comparison¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Source run (source_run_id) |
string | required | — | The analysis run whose behavior output is compared (§19). |
Source snapshot (source_snapshot) |
string | — | — | Which pinned copy of that run's artifact to compare (§21). Left unset, the comparison pins the run's current artifact and records the id it got, so its numbers stay reproducible after the run is reopened and re-cut. The node source reads the run's current node cache and takes no snapshot. |
Measure (source) |
string | labels |
— | What is measured: the run's labelled behaviors (its §19 artifact); every candidate node of a clustering run's node cache, labelled or not: the difference screen over clusters nobody has named yet; or locations: distance travelled, time moving, speed and body shape, read from a location-export run. Nodes need a clustering run with a current node cache. Locations need a location-export run that measured the body, on calibrated recordings. |
Group by (group_by) |
array | required | — | Columns to compare across: any metadata.csv column, plus subject or window_id. |
Aggregate to (aggregate_to) |
array | required | — | Columns to average through before grouping: the unit of analysis. Empty means each recording is an observation; ['animal'] means each animal is. Both are legitimate and they answer different questions, so there is no default. |
Contrast levels (levels) |
array | — | — | Two values of the one group_by column to contrast, read as the second against the first. Unset, a column with two values contrasts them, a numeric column with more is a trend, and a column with more non-numeric values is a profile over all of them: the largest difference between any two. |
Recordings (recordings) |
array | — | — | Restrict to these recordings; unset compares every recording in the artifact. |
Measures (measures) |
array | — | — | Which §23 measures to compute; unset computes every registered measure. The node source always measures share of time, rate, total time and mean duration, and refuses a subset. |
Windows (windows) |
— | — | — | How to slice each recording in time: the whole span, fixed durations, equal fractions, or a sliding window. window_id then becomes a column to compare across, which is how early-versus-late becomes the same operation as drug-versus-vehicle. The node source measures the whole recording. |
Floor draws (draws) |
integer | 200 |
≥ 1 | Permutation draws behind the difference ranking's floor. A paired contrast over ten or fewer units enumerates every sign flip instead, and ignores this. |
Seed (seed) |
integer | 0 |
≥ 0 | Seed for the permutation floor, so a ranking reproduces. |
Presence (s) (presence_s) |
number | 5.0 |
≥ 0 | Seconds of total time at a level for a unit to count as having the behavior present there. Within-unit designs count present units toward the minimum, and a paired contrast reports how many units are present at each level. (s) |
Pseudo-count (s) (pseudo_count_s) |
number | 1.0 |
≥ 0 | Seconds of time added to both sides of a within-unit ratio, in the measure's own unit, so a node absent at one level has a finite ratio rather than an infinite one that would own the floor. (s) |
Minimum units (share) (min_units_fraction) |
number | 0.5 |
>0–1 | The share of the cohort's units a behavior must be present in for its within-unit effect to be defined. Below it the effect is undefined, never large: a node three of eight animals ever showed cannot clear a floor on their behalf. |
Candidate floor (s) (candidate_floor_s) |
number | 30.0 |
≥ 0 | Seconds of member time a cluster needs, over the whole run, to be a candidate of the node source. Below it a cluster is too small to be judged from its clips, and every candidate widens the family the floor is taken over. (s) |
Suppress nested nodes (suppress_nesting) |
boolean | True |
— | Over a hierarchical source, keep the best clearing node and drop its ancestors and descendants, repeating down the ranking, so one behavior is reported once rather than as every slice of itself. Ignored for a flat source. |
Rank on (statistic) |
string | moderated_t |
— | What a within-unit ranking scores each behavior by, and the floor is taken over. The moderated t is the mean per-unit effect over its spread across units (plus the family's median spread, so exact agreement cannot own the floor): a behavior ranks by how far the units agree, not by how large its numbers are, and the floor stops belonging to the sparsest behaviors. The effect ranks by the mean per-unit effect itself, as comparisons run before this choice existed did. The effect is shown either way. A between design has no per-unit effects and ranks on the effect. |
Rows per second read (location_sample_fps) |
number | 5.0 |
> 0 | Locations source: rows per second read for each animal. The run's rows are thinned to at most this many a second before anything is measured, so runs exported at different rates are measured alike. A run exported at a lower rate is read as it is. Unset reads every row. |
Path smoothing (s) (location_smooth_s) |
number | 1.0 |
> 0 | Locations source: seconds the body's position is averaged over before distance and speed are measured. Without it, frame-to-frame jitter adds distance for an animal standing still. (s) |
Moving above (cm/s) (location_moving_threshold) |
number | 2.0 |
≥ 0 | Locations source: speed on the smoothed path, in centimetres per second, above which an animal counts as moving. |
Jump above (body lengths/s) (location_jump_speed) |
number | 7.5 |
> 0 | Locations source: a raw step faster than this many of the animal's own body lengths per second is a tracking jump, not movement. The path is broken there rather than joined, so the jump adds no distance. 7.5 is one and a half body lengths in a fifth of a second. |
Temporal decode¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Despike (despike) |
boolean | True |
— | Replace a point that jumps away from its neighbours' median position by that median (a Hampel filter per point across rows). Steady motion moves the median with it and is left alone; a jump shorter than half the window is removed. |
Despike window (s) (despike_window_s) |
number | 0.1 |
>0–5 | How far either side of a row the despike's median reaches, in seconds; resolved to rows at the recording's cadence. (s) |
Despike threshold (MADs) (despike_k) |
number | 3.0 |
>0–20 | How many scaled median deviations from the window's median a point may sit before it counts as a spike. |
Despike floor (body fraction) (despike_floor) |
number | 0.03 |
0–1 | The deviation's lower bound, as a fraction of body scale, so a still animal's sub-pixel jitter is never read as a spike. |
Smooth (smooth) |
boolean | True |
— | Replace each point by a local quadratic fitted to its neighbours in time, Gaussian-weighted. It removes frame-to-frame jitter and keeps turning points a plain average would flatten; an absent point stays absent. |
Smooth window (s) (smooth_window_s) |
number | 0.133 |
>0–5 | The smoothing weights' standard deviation, in seconds, measured in time so a gap or an every-n run is weighted by real distance. (s) |
Smooth kernel (smooth_kernel) |
string | local_quadratic |
— | The local fit: a quadratic, the only kernel offered. |
Smooth reach (windows) (smooth_truncate) |
number | 3.0 |
>0–10 | How many smooth windows either side the weights reach. |
Smooth minimum neighbours (smooth_min_points) |
integer | 5 |
3–50 | How many weighted neighbours (the point itself included) a quadratic needs; with fewer, the point takes the weighted mean. |
Transition scale (body fraction) (transition_sigma_body) |
number | 0.15 |
>0–5 | Expected per-row move of a point, as a fraction of the subject's body scale; the transition cost is a Gaussian on the move at that scale, widened by the square root of the time elapsed, so a gap costs what its duration earns. |
Missing penalty (missing_penalty) |
number | 2.0 |
0–100 | What the path pays, in score units, to call a point missing on a row rather than take a candidate; higher keeps weak candidates, lower drops them. |
Mirror switch cost (mirror_weight) |
number | 1.0 |
0–100 | What a left/right pair pays to switch between its normal and swapped reading; the mirrored-minus-unmirrored score the detect run stored is the evidence, so a swap must hold over frames to win and never flickers. |
Decode cut-off (decode_cutoff) |
number | — | — | The score below which a candidate is not offered to the path. Omit for the method's default cut-off (none for dinov3_match). This is the decode cut-off and part of the run's identity; what the viewer shows is a separate display cut-off. |
Despike smooth¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Despike (despike) |
boolean | True |
— | Replace a point that jumps away from its neighbours' median position by that median (a Hampel filter per point across rows). Steady motion moves the median with it and is left alone; a jump shorter than half the window is removed. |
Despike window (s) (despike_window_s) |
number | 0.1 |
>0–5 | How far either side of a row the despike's median reaches, in seconds; resolved to rows at the recording's cadence. (s) |
Despike threshold (MADs) (despike_k) |
number | 3.0 |
>0–20 | How many scaled median deviations from the window's median a point may sit before it counts as a spike. |
Despike floor (body fraction) (despike_floor) |
number | 0.03 |
0–1 | The deviation's lower bound, as a fraction of body scale, so a still animal's sub-pixel jitter is never read as a spike. |
Smooth (smooth) |
boolean | True |
— | Replace each point by a local quadratic fitted to its neighbours in time, Gaussian-weighted. It removes frame-to-frame jitter and keeps turning points a plain average would flatten; an absent point stays absent. |
Smooth window (s) (smooth_window_s) |
number | 0.133 |
>0–5 | The smoothing weights' standard deviation, in seconds, measured in time so a gap or an every-n run is weighted by real distance. (s) |
Smooth kernel (smooth_kernel) |
string | local_quadratic |
— | The local fit: a quadratic, the only kernel offered. |
Smooth reach (windows) (smooth_truncate) |
number | 3.0 |
>0–10 | How many smooth windows either side the weights reach. |
Smooth minimum neighbours (smooth_min_points) |
integer | 5 |
3–50 | How many weighted neighbours (the point itself included) a quadratic needs; with fewer, the point takes the weighted mean. |
Quick segment¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Frames (mode) |
string | sample |
— | sample: spread the frames evenly across each clip, and compare several prompts side by side. The default, because a still animal or an empty opening makes the first N frames show nothing. consecutive: read one clip straight through from frame 0 with one prompt, which is what an overlay video needs and the only mode one can be exported from. |
Frame count (n_frames) |
integer | 50 |
≥ 1 | How many frames to segment per clip. Ignored when 'whole video' is set. Every frame is run through the model, so this is what the run costs. |
Whole video (whole_video) |
boolean | False |
— | Segment every frame of each clip (consecutive mode only). No cap, so a long recording can run for hours; the run is stoppable. |
Soft knn¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Smoothing (smoothing_mult) |
number | 0.35 |
>0–2 | Smoothing window, as a multiple of the example clip's length. The raw per-frame score flickers, so it is smoothed before instances are formed. Smaller keeps brief instances separate; larger merges them. |
Extent fraction (extent_fraction) |
number | 0.5 |
>0–<1 | Where an instance ends, as a fraction of its own peak score. Each match grows outwards from its peak while the score stays above this fraction of it, so the extent follows the behavior instead of the example's length. Lower returns longer instances. At 0.5 the median match came out 2.51 s against a 2.75 s ground truth. |
Max duration (duration_max_mult) |
number | 4.0 |
≥ 1 | Longest match to return, as a multiple of the example clip's length. A hard cap on the growth above, so a long flat stretch of moderate score cannot become one enormous instance. It also sets how much context a split search needs, so a very large value makes chunking a long recording more expensive. |
Neighbours (k) (k) |
integer | 20 |
≥ 1 | Neighbours voting on each frame. Each frame's score is a weighted vote over its k nearest labelled frames: the example frames plus the drawn background. |
Temperature (tau) |
number | 0.07 |
>0–1 | Vote temperature. Lower weights the closest neighbours more sharply, making the score more decisive and more sensitive to a single close match; higher averages over the k more evenly. |
Codebook viterbi¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Window (window_s) |
number | 0.53 |
≥ 0 | Sliding-window length (seconds) the trajectory is pooled over before the codebook is built, which smooths per-frame jitter. About 0.53 s is the tuned 8-frame window at a 15 fps embed rate; the rows it resolves to depend on your cadence. (s) |
Share of each recording (fit_share) |
number | 5.0 |
0.5–100 | Percent of each recording's frames the codebook is built from, evenly spaced. Every recording is sampled at the same density, so a behavior one animal shows briefly is as findable in a large study as in a small one; every frame is labelled afterwards whatever this is. It does not set how many codewords there are, so raising it costs the codebook fit, not the decode. (%) |
Codewords (codewords) |
integer | 700 |
2–5000 | How many codewords the sample is grouped into: the finest setting the vocabulary offers, and the decode's states. Every pooled frame is decoded at a cost roughly the square of this, so it is the cost knob: halving it roughly quarters the decode. Lower it first if a fit is taking too long. A sample with fewer distinct rows than this uses one codeword per row. |
Minimum run (min_run_s) |
number | 0.27 |
≥ 0 | Runs shorter than this are dropped: they do not become instances, and their frames stay unassigned (they are not merged into a neighbour). A frame labeling flickers even after the decode, and without a floor every flicker becomes a one-frame behavior in the output. About 0.27 s is the tuned 4-frame minimum at a 15 fps embed rate. (s) |
Max tracking gap (max_gap_s) |
number | — | > 0 | Break the trajectory into continuous runs wherever tracking is missing for longer than this; the decode restarts at each. Omit to derive it from the embed cadence. A gap is an absence of evidence, not a transition between behaviors, and a decode that ran across one would invent a transition where the animal was simply not seen. (s) |
Seed (seed) |
integer | 0 |
≥ 0 | Seed for the k-means grouping. The same seed on the same recordings gives the same vocabulary; the decode is deterministic. |
Dtw finch¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Window (window_s) |
number | 0.53 |
≥ 0 | Sliding-window length (seconds) the pose trajectory is pooled over before segmentation, which smooths per-frame jitter. About 0.53 s is the tuned 8-frame window at a 15 fps embed rate; the rows it resolves to depend on your embed cadence. (s) |
Window pooling (pool) |
string | mean |
— | How each window is pooled into one feature: mean (average pose), max (per-dimension peak, so a brief distinctive pose is not averaged away) or flatten (concatenate the frames). |
Window stride (feat_stride) |
integer | 1 |
≥ 1 | Step (embedded frames) between successive window positions. Raise it to subsample windows, which is coarser and faster. |
Detector (detector) |
string | binseg |
— | Transition detector that cuts the trajectory into bouts. binseg is the default on measurement: it cuts better than novelty at the same rule and vocabulary size. novelty is a windowed cosine discrepancy, speed takes cosine-step peaks, and abd deliberately over-cuts for a rule that merges the pieces back. |
binseg penalty (penalty) |
number | 40.0 |
≥ 0 | binseg stop threshold. Lower cuts more, giving more and shorter bouts. |
Peak percentile (percentile) |
number | 96.0 |
0–100 | novelty/speed peak threshold percentile. Lower cuts more. |
Novelty window (novelty_half_s) |
number | 0.14 |
> 0 | novelty comparison window half-width, in seconds. (s) |
abd smoothing (abd_smooth_half_s) |
number | 0.034 |
≥ 0 | abd: how long either side is averaged before looking for a change. Keep it small, because smoothing wider than the pose's own correlation length blurs away the transitions it is meant to sharpen. (s) |
abd spacing (abd_nms_window_s) |
number | 0.085 |
> 0 | abd: how far apart in time two cuts must be. A cut survives only if it is the strongest change within this long either side. (s) |
Min cut spacing (min_size_s) |
number | 0.1 |
> 0 | Minimum time between successive cuts, in seconds, for every detector. (s) |
Max tracking gap (max_gap_s) |
number | — | > 0 | Break the trajectory into continuous runs wherever tracking is missing for longer than this. Omit to derive it from the embed cadence, which is what makes a tracking gap a boundary rather than a bout that spans one. (s) |
Min bout length (min_len_s) |
number | 0.27 |
≥ 0 | Drop bouts shorter than this (seconds) before clustering. This is why the method needs no separate minimum-run floor the way a frame-labeling method does: a bout is already an extent, and one too short to be a behavior never reaches the comparison. About 0.27 s is the tuned 4-frame minimum at a 15 fps embed rate. (s) |
DTW band (band_s) |
number | 0.27 |
≥ 0 | DTW warp tolerance when comparing bouts (seconds; 0 = rigid). This is what lets a slow and a fast performance of the same behavior match. Larger merges more bouts into fewer, coarser clusters. (s) |
Max bouts (max_segments) |
integer | — | ≥ 2 | Cap the bouts compared against each other, evenly subsampled. The DTW comparison is O(bouts²) and is the whole cost of a fit, so this is the only bound on it. A capped fit is stated on the interpretation screen, because it is identical to a full one in every other respect. Omit to compare every bout. |
Ultralytics yolo¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Epochs (epochs) |
integer | 100 |
≥ 1 | Maximum training epochs. |
Batch size (batch_size) |
integer | 32 |
≥ 1 | Images per training batch. |
Image size (imgsz) |
integer | 640 |
≥ 32 | Training image size (square). (px) |
Patience (patience) |
integer | 100 |
≥ 0 | Early stopping: stop if no improvement for this many epochs (0 disables). |
Boris¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Observation (observation) |
string | — | — | Import the rows whose 'Observation id' is this. Leave unset when the export holds one observation. |
Subject (subject) |
string | — | — | Import the rows whose 'Subject' is this. Leave unset when the export scores one subject. Rows with no subject are selected by an empty value. |
Medpc¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Subject (subject) |
string | — | — | Import the session whose 'Subject:' header is this. Leave unset when the file holds one session. |
Box (box) |
string | — | — | Import the session whose 'Box:' header is this. Combine with subject when one subject ran in several boxes. |
Session number (session) |
integer | — | ≥ 1 | Import the session at this position in the file, counting from 1. For a file where subject and box do not tell two sessions apart. |
Timeseries csv¶
| Parameter | Type | Default | Range | Description |
|---|---|---|---|---|
Time column (time_column) |
string | — | — | Header name of the column carrying time. Leave unset to auto-detect a column named seconds, frame or t_ns, which is what this importer did before a mapping could be given. |
Time is (time_kind) |
string | auto |
— | What the time column holds: a video frame index, seconds since the stream's own start, integer nanoseconds since that start, or a UTC timestamp (ISO 8601 or Unix epoch seconds, with the first data row taken as t=0). 'auto' reads it from the time column's name. |
Channels (channels) |
array | — | — | Which columns to bring in, each as a named channel of the one stream. Leave empty to take every column except the time column. |