pub fn get_sample_weight(cached_samples: &[f32], coc: f32) -> f32
Get the interpolated sample weight based on Circle of Confusion (CoC)