Metrics derivation

From healthonrails/annolid · View interactive version

Metrics derivation is an AI agent skill from the GitHub repository healthonrails/annolid. Derive assay metrics from typed artifacts and segments, including bout counts, durations, rates, occupancy, proximity, and investigation time.

How to use this skill

Skill file

Metrics Derivation

Use this skill when a user asks for quantitative kinematics, spatial zone, or behavioral ethogram endpoints rather than raw frame labels.

Canonical Annolid Tools & CLI Entrypoints

  1. Trajectory Kinematics & Freezing:
  1. Spatial Zones & Place Preference:
  1. Behavior Time Budgets & Binned Summaries:
  1. Anatomical Body-Part Ethograms:

Method

  1. Always verify spatial (px_per_cm) and temporal (fps, session_duration) calibration before comparing across recordings.
  2. State exact numerators, denominators, and censoring rules (e.g. animals that never enter a zone have censored latency rather than 0 s).
  3. Keep physical units (cm, cm/s, s, %) vs image-plane units (px, px/frame) explicit in every table.
  4. Surface Track QC or Ethogram QC caveats whenever missing frames or unpaired state events exist.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.