fn unwrap_template<P: AsRef<[f64]>, M: AsRef<[f64]>>(
phases: &[P],
mags: &[M],
tes: &[f64],
mask: &[u8],
params: &RomeoParams,
nx: usize,
ny: usize,
nz: usize,
) -> Vec<Vec<f64>>Expand description
Template-based multi-echo unwrapping.
- Spatially unwrap the template echo using ROMEO weights
- Temporally unwrap all other echoes outward from the template
- Optionally re-unwrap uncertain voxels spatially