fn run_xqsm(
local_field_ppm: &[f64],
mask: &[u8],
grid: &Grid,
tile: Option<(usize, usize)>,
progress: &mut dyn FnMut(usize, usize),
) -> Result<Vec<f64>, PipelineError>Expand description
Source the xQSM weights and run inference. Requires the onnx feature;
weights resolve through crate::models (bytes supplied with
crate::models::provide_weights, then $QSM_MODEL_DIR/cache/download on native).