pub fn compare_traces(
log: &[(f64, f64)],
hpr: &[(f64, f64)],
hpr_apogee_s: f64,
) -> Result<TraceComparison, String>Expand description
The ascent of hpr (time since ignition, height) against the log’s, each aligned where it
first reaches ALIGN_HEIGHT_M, over the log’s rows from there to the first of the two
apogees.
hpr_apogee_s is hpr’s apogee time from its own event, since its grid may miss the top.
§Errors
A message when a trace never reaches the alignment height or no row falls in the window.