pub fn swi_magnitude<M: AsRef<[f64]>>(
mags: &[M],
grid: &Grid,
params: &SwiParams,
) -> Result<Vec<f64>, InputError>Expand description
The SWI magnitude: combined echoes, sensitivity-corrected, softplus-scaled.
As CLEARSWI.jl’s getswimag. The sensitivity is estimated from the first echo.