Skip to content

TASK · ANXIETY & RISK ASSESSMENT

Light–dark box ​

Pose · one animalAlso: classic centroidDefault arena: 45 × 30 cm, light side 2/3

Light-compartment time, transitions and head pokes

The light–dark box has bright and dark compartments linked by a doorway, commonly tested for 5–10 min. Light-side time and transitions are measures of anxiety-like behaviour.

Simulated example ​

Simulated light–dark box session: tracks and measures

The mouse enters the dark side after 8.3 s and spends 22.4 % of the time on the light side, with 53 crossings and 28 head pokes from the dark side into the light. Simulated data, made to show how the measures are defined; not a result.

Why keypoints ​

A head poke—nose into the light compartment while the body remains in the dark—is a risk-assessment behaviour requiring separate nose and body landmarks.

What RodentFlow measures ​

MeasureDefinition
Light-side time (%)Fraction of time the body centre is in the light compartment.
TransitionsNumber of body-centre crossings between light and dark compartments.
LatencyTime to first entry into the light and dark compartments.
Head dipsNose enters the light compartment while body centre and tail base remain dark for ≥ 0.2 s.

Thresholds are defaults and can be changed in the analysis parameters; the values used are saved with each session and written into the Methods text.

Setting up ​

  1. Calibrate the full chamber, then set the light compartment side and fraction.

The general steps (choose the task, calibrate, track, review, export) are the same for every task: see Analysing a video.

Classic centroid version ​

This test can also be analysed with the classic centroid method, the tracker of RodentFlow 1.x: background subtraction and the body centroid at 10 Hz, with no model. It gives the zone, path and time measures; measures that need the nose or head (investigation, head dips, head direction) come from the pose version. See Classic centroid.

References ​

Open field · Elevated plus maze · Elevated zero maze · Novelty-suppressed feeding · Visual cliff · Marble burying