pub fn medi_l1_with_progress<F>(
local_field: &[f64],
n_std: &[f64],
magnitude: &[f64],
mask: &[u8],
nx: usize,
ny: usize,
nz: usize,
vsx: f64,
vsy: f64,
vsz: f64,
lambda: f64,
bdir: (f64, f64, f64),
merit: bool,
smv: bool,
smv_radius: f64,
data_weighting: i32,
percentage: f64,
cg_tol: f64,
cg_max_iter: usize,
max_iter: usize,
tol: f64,
progress_callback: F,
) -> Vec<f64>Expand description
MEDI L1 with progress callback (OPTIMIZED f32 VERSION)
Same as medi_l1 but calls progress_callback(iteration, max_iter) each iteration.