Skip to main content

lpcnn

Function lpcnn 

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

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