reweight

Function reweight 

Source
pub fn reweight(
    input_path: &Path,
    output_path: &Path,
    f: &dyn Fn(f32) -> f32,
    number_bins: usize,
    max_radius: f32,
) -> EGSResult<()>