Skip to main content

combine_magnitude

Function combine_magnitude 

Source
pub fn combine_magnitude<M: AsRef<[f64]>>(
    mags: &[M],
    combine: MagCombine,
) -> Result<Vec<f64>, InputError>
Expand description

Combine the magnitude echoes for SWI.

mags holds one volume per echo.

§Errors

If there are no echoes, or MagCombine::Echo names an echo that does not exist.