fn chi_l2_seed(
phase: &[f64],
mask: &[f64],
kernel: &[f64],
beta: f64,
dims: (usize, usize, usize),
) -> Vec<f64>Expand description
Direct L2 (Tikhonov, gradient) QSM solver used only to seed distributions.
Matches chiL2.m: real(ifftn(conj(K) fftn(phase) / (|K|^2 + beta*E2 + eps))) * mask.