Skip to main content

fit_log

Function fit_log 

Source
pub fn fit_log(
    log: &FlightLog,
    flight: &Flight,
    set: Set,
    bayesian: bool,
    files: &DesignFiles,
    tables: &mut BTreeMap<usize, Simulation>,
) -> Result<FlightFit, SyntheticError>
Expand description

A log’s fit, log being the flight’s own or one in place of it, against the flight’s truth. A flight of another model whose log said nothing has none: it isn’t counted.

§Errors

SyntheticError::Flight if a flight of another model can’t be fitted noise-free: a truth is needed for the count.