Skip to main content

run_qsmnetme

Function run_qsmnetme 

Source
fn run_qsmnetme(
    local_field_ppm: &[f64],
    mask: &[u8],
    grid: &Grid,
    bdir: (f64, f64, f64),
    tile: Option<(usize, usize)>,
) -> Result<Vec<f64>, PipelineError>
Expand description

Source the QSMnetME weights and run it by the authors’ route (requires the onnx feature). tile (the deep-learning inversions’ (core, halo)) turns the toolbox’s whole-volume pass into a sliding window of core + 2·halo rounded up to a multiple of 16, for memory-limited hosts.