estimate_bc_fit_with_station_presence

Function estimate_bc_fit_with_station_presence 

Source
pub fn estimate_bc_fit_with_station_presence(
    velocity: f64,
    mass: f64,
    diameter: f64,
    points: &[(f64, f64)],
    drag_model: DragModel,
    mode: BcFitMode,
    atmosphere: AtmosphericConditions,
    zero_range: Option<f64>,
    sight_height: f64,
    station_presence: StationAtmospherePresence,
) -> Result<BcEstimate, BallisticsError>
Expand description

estimate_bc_fit knowing which of atmosphere’s temperature and pressure the caller supplied (0.49.0): a supplied value is the air the data was shot in, whatever its value. StationAtmospherePresence::NEITHER is bit-identical to estimate_bc_fit.

An out-of-range humidity, or air that cannot exist, is refused before the search with the solver’s own field-named error (0.50.0), not reported as data no BC fits.