Expand description
The smoother held to the synthetic flights’ truth (M7.2d): each flight’s own log smoothed, its height and vertical speed compared with the truth’s at four moments, and the share of flights whose truth falls outside the smoother’s 90% interval on each side counted.
The moments, on the truth’s clock: burnout, the top vertical speed, apogee, and one moment
drawn per flight, uniformly between liftoff and landing, on a stream of its own
(moment_drawn). Each flight gives one comparison a moment, so the flights’ comparisons are
independent. The truth is the center of mass’s height above where it stood at launch and its
vertical speed (truth’s module).
Holding (ADR-300): a 90% interval misses about 5% of the time on each side. For each state and moment, each side’s misses are counted over a set’s smoothed flights, and the smoother holds there when that count’s two-sided 99.9% Clopper–Pearson interval reaches down to 5%: the flights don’t show it misses more often than it says. An interval wider than it needs to be holds; one that misses too often doesn’t.
Structs§
- Cell
- One state at one moment over a set’s flights.
- Checked
- One flight’s check.
- Compared
- One comparison: the smoothed value less the truth, and the smoother’s standard error.
- Health
Tally - A set’s health cards, summed.
- Sensor
Tally - One sensor’s health over a set’s smoothed flights.
- SetCheck
- A set’s check.
Enums§
Constants§
- BAND_
CONFIDENCE - The confidence of the band on a miss share.
- MISS_
SHARE - The miss share each side of a 90% interval allows.
Functions§
- check
- Checks one flight’s smoothed log against its truth.
- check_
log - Checks a log of
flight, its own or one written from it, against the flight’s truth. - clopper_
pearson_ lower - The lower edge of the two-sided Clopper–Pearson interval on a binomial share, at
confidence: thepat whichP(X ≥ x) = (1 − confidence)/2, by bisection; 0 whenxis 0 (C. J. Clopper and E. S. Pearson, Biometrika 26(4), 404–413, 1934). NaN, which no cell holds on, whenxexceedsnorconfidenceisn’t strictly between 0 and 1. - clopper_
pearson_ upper - The upper edge of the two-sided Clopper–Pearson interval on a binomial share at
confidence,1 −the lower edge of the share of the other outcome; 1 whenxisn. NaN whereclopper_pearson_loweris. - launch_
started - The flight’s own log as a logger that writes only from launch would have written it (#982): every sample of every sensor before the truth’s liftoff is gone, the clock and the logger’s zero as they were. A track of pressures has no zero without its pad and is withheld, as a real one is.
- moment_
drawn - The moment drawn for flight
indexofset, s on the truth’s clock, uniformly betweenliftoff_sandlanding_s, on a stream keyed by the set’s seed, the index and the smoother’s own key, so no other draw moves. - tally
- A set’s check from its flights’ checks.