pub(crate) fn echo_magnitudes<'a>(
method: &str,
magnitude: Option<&'a [f64]>,
echo_times: &[f64],
n_voxels: usize,
) -> Result<EchoMagnitudes<'a>, PipelineError>Expand description
The echo magnitudes a MEDI-toolbox method requires (MEDI’s edge mask, and the
Fit_ppm_complex noise map that MEDI and PDF weight the data by): one volume per echo, echo
slowest, for evenly spaced echoes (as Fit_ppm_complex.m assumes). method names the
method in the error messages.