Skip to main content

unwrap_template

Function unwrap_template 

Source
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.

  1. Spatially unwrap the template echo using ROMEO weights
  2. Temporally unwrap all other echoes outward from the template
  3. Optionally re-unwrap uncertain voxels spatially