Skip to main content

Crate hpr_forensics

Crate hpr_forensics 

Source
Expand description

Flight against simulation: residuals, parameter identification and fault diagnosis.

Start here says what works today and what is planned.

This is the only crate where a reading taken from a flight log meets a number the simulator produced. Reading a log and working out what it says is hpr_flightdata. That crate doesn’t depend on the simulator, so that analyzing a flight stands on its own.

synthetic makes the flights whose truth is known, on which a log’s readings and fits are tested (the synthetic flights first). residuals sets a log against a simulation of it, and fit fits one to the other. boost predicts apogee from a log cut after burnout. Fault diagnosis is planned (the roadmap).

Modules§

boost
Apogee predicted from the boost: a log cut after burnout, fitted, and flown on to apogee (ADR-257 §3; ADR-321, amended 2026-11-06).
fit
Fitting a simulation to a flight’s log by least squares (M7.3b, ADR-257 §1, ADR-316).
posterior
The Bayesian option’s sampler: a posterior’s quantiles by importance sampling.
residuals
A flight log against its simulation: how far the logged height and speed lie from the simulated ones, sample by sample, and each of the log’s readings beside the simulation’s.
synthetic
Synthetic flights: HPR Sim’s flight of a drawn rocket, its truth, and the log a drawn logger would write of it, for testing what a log’s readings and fits claim against a known answer.