Mixins (overview)
Much of SimBA’s analysis logic lives in mixin classes — reusable libraries of static/instance methods that the pipelines, GUI and CLI all draw on. Rather than call the pipelines, you can import a mixin directly and use its methods on your own arrays and DataFrames.
Each mixin is documented in the topical section that matches what it does. Use this page as the map; follow a link for the full method reference.
Mixin |
Documented in |
|---|---|
Geometry — convert body-parts into polygons/circles/lines and compute spatial relationships |
|
Statistics — sliding/static-window statistics, distances, drift and distribution tests |
|
Circular statistics — wraparound-aware angle/heading statistics |
|
Feature extraction — low-level feature primitives used by the extraction pipelines |
|
Time-series — time-series complexity and windowed descriptors |
|
Image — frame slicing and visual-feature extraction from tracking data |
|
Network — build and analyse graphs from pose time-series |
|
Plotting — shared plotting/visualization helpers |
|
Model / training — train, grid-search and run inference with classifiers |
|
Config reader — parse SimBA project config and metadata |
See also
GPU-accelerated versions of several of these (geometry, image, statistics, circular statistics, time-series) are collected under GPU acceleration.