pub struct Fit {
pub parameters: Parameters,
pub standard_errors: [f64; 6],
pub clock_offset_s: f64,
pub height_offset_m: f64,
pub rms_m: Option<f64>,
pub height_noise_m: f64,
pub horizontal_noise_m: f64,
pub fitted: bool,
pub converged: bool,
pub misfit_share: Option<f64>,
pub read: Vec<bool>,
pub flown: u64,
}Expand description
A fit’s answer.
Fields§
§parameters: ParametersThe parameters at the solution.
standard_errors: [f64; 6]Each one’s standard error, in Parameters::to_array’s order.
clock_offset_s: f64The clock’s offset: the log’s clock at the simulation’s zero, s.
height_offset_m: f64What the log’s pad reads above the simulation’s, m.
rms_m: Option<f64>The heights’ residual’s RMS, m; None where the log said nothing.
height_noise_m: f64The noise a height’s residual was taken to have at the end, m.
horizontal_noise_m: f64The noise a horizontal position’s residual was taken to have at the end, m.
fitted: boolWhether the log was fitted at all. If not, each parameter is what was stated of it.
converged: boolWhether its last pass ended where no step lowered χ² further: not where it reached its limit of 60 steps, or where a flight for its slopes failed.
The heights’ residual’s RMS as a share of the spread of the heights read; past
MISFIT_SHARE the log said nothing. None where it never came to one.
read: Vec<bool>Whether each of the log’s height bins was read, in their order; empty where the log said
nothing. A barometer’s bins at or past readings::TRANSONIC_MACH on the flight found are
left out.
flown: u64Flights flown: the least-squares fit’s and, by the Bayesian option on a log with a track whose noise the fit takes from the log, its search for the posterior’s peak (21). The posterior’s draws are counted apart.