pub fn project_mobility_gaussian(
grid_ascending: &[f64],
mean: f64,
sigma: f64,
target_p: f64,
step_size: f64,
) -> Vec<(i32, f64)>Expand description
Accurate mobility projection core: a Gaussian (mean, sigma) in 1/K0 onto
an ascending mobility grid, returning (ascending_scan_index, abundance)
where each occupied scan’s abundance is the CDF over that scan’s own
midpoint-bounded bin (correct on non-uniform grids). σ ≤ 0 is a point mass at
the nearest scan; empty/singleton grids are handled.