Skip to main content

unwrap_individual

Function unwrap_individual 

Source
fn unwrap_individual<P: AsRef<[f64]> + Sync, M: AsRef<[f64]> + Sync>(
    phases: &[P],
    mags: &[M],
    tes: &[f64],
    mask: &[u8],
    params: &RomeoParams,
    nx: usize,
    ny: usize,
    nz: usize,
) -> Vec<Vec<f64>>
Expand description

Individual multi-echo unwrapping.

Each echo is spatially unwrapped independently using its neighboring echo as a phase2 reference for weight calculation. Optionally corrects global 2π offsets between echoes using median wrap counting.