fn linearize(
dip: &mut DipoleOp,
x_curr: &[f64],
phase_image: &[f64],
weight_vect: &[f64],
mut_cst: f64,
) -> (Vec<f64>, Vec<Complex64>, Vec<Complex64>)Expand description
Build the linearized measurement for the current estimate.
Returns (A*x (masked, radians), der_1st = i*exp(i*Ax), y_upd).