lead_from_tof

Function lead_from_tof 

Source
pub fn lead_from_tof(
    speed_mps: f64,
    angle_deg: f64,
    tof_s: f64,
    range_m: f64,
) -> LeadComponents
Expand description

Pure lead math from a known time of flight — shared by calculate_lead and the PDF dope-card path (which already has per-row TOF from its sampled trajectory). Uses the small-angle linear ratio lead/range, matching every other hold table.