Skip to main content

modl_qsm

Function modl_qsm 

Source
pub fn modl_qsm(
    local_field_ppm: &[f64],
    mask: &[u8],
    grid: &Grid,
    bdir: (f64, f64, f64),
    prior_onnx: &[u8],
) -> Result<Vec<f64>, OnnxError>
Expand description

Run MoDL-QSM on a background-removed local field (ppm), column-major (nx,ny,nz). bdir is the B0 direction (for the dipole kernel). Returns χ33 (ppm), masked.