Skip to main content

iqfm

Function iqfm 

Source
pub fn iqfm(
    phase_rad: &[f64],
    mask: &[u8],
    grid: &Grid,
    te: f64,
    b0: f64,
    phase_sign: f64,
    eroded_rad: i32,
    model_onnx: &[u8],
) -> Result<Vec<f64>, OnnxError>
Expand description

Run iQFM on a single echo of wrapped phase; returns the local field (ppm), masked, column-major (nx,ny,nz). See super::iqsm::iqsm for the argument semantics — they are shared verbatim (only the network and its output differ).