#[non_exhaustive]pub enum Reason {
Show 13 variants
TooShort,
NoClimb,
StartsOffThePad,
EndsBeforeLanding,
FasterThanFreeFall,
NoSpeedColumn,
ImplausibleSpeed,
NoisySpeed,
SpeedPeakAtLiftoff,
NoAccelerometer,
Needs,
BadRecord,
SampledTooFast,
}Expand description
The reason a reading was withheld.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
TooShort
The log has fewer than three samples.
NoClimb
The altitude never climbs LIFTOFF_HEIGHT_M above where the log starts.
StartsOffThePad
The pad, the median altitude before the first PAD_RISE_M of rise, is more than
LIFTOFF_HEIGHT_M from the logger’s zero: the log didn’t start on the pad.
EndsBeforeLanding
The log ends before the rocket is seen to land.
FasterThanFreeFall
The altitude reaches the ground sooner than a fall from rest at apogee in vacuum could.
NoSpeedColumn
The log has no speed column.
ImplausibleSpeed
The top speed is above IMPLAUSIBLE_SPEED_M_S.
NoisySpeed
The climb’s speed swings negative by more than ASCENT_NOISE_FRACTION of its top.
SpeedPeakAtLiftoff
The top speed falls on the liftoff sample itself: a spike, not a climb.
NoAccelerometer
The log has no accelerometer.
Needs
The reading needs another, which was withheld.
BadRecord
The record breaks what every reader guarantees: channels as long as the clock, and finite times that increase. Only a record built by hand can.
SampledTooFast
The samples come so often that the MEDIAN_WINDOW_S window would hold more than
MAX_MEDIAN_HALF_WINDOW either side.