Skip to main content

Module analytics_api

Module analytics_api 

Source
Expand description

Physics analytics Python bindings.

Provides Python-friendly types for measuring and analysing simulation quality: energy tracking, momentum conservation, collision statistics, performance profiling, and full simulation reports.

Structsยง

PyAggregateMetrics
Aggregate metrics derived from snapshot history.
PyBenchmark
Benchmarks a physics simulation over N steps.
PyCollisionStats
Statistics about collisions over the simulation.
PyConstraintStats
Solver and constraint quality statistics.
PyDataExporter
Exports simulation state to CSV or JSON.
PyEnergyTracker
Tracks kinetic, potential, and total energy over time.
PyMomentumTracker
Tracks linear and angular momentum conservation.
PyPerformanceTracker
Tracks per-step performance timings.
PyPhysicsAnalytics
Master analytics object for a simulation.
PySimulationReport
A full simulation quality report.
PySleepStats
Statistics about body sleep/wake behaviour.
PySnapshot
A snapshot of global physics state at one time step.
PyStepTimings
Breakdown of time spent per pipeline phase (milliseconds).