pub fn autoqsm(
field_ppm: &[f64],
mask: &[u8],
grid: &Grid,
model_onnx: &[u8],
) -> Result<Vec<f64>, OnnxError>Expand description
Run AutoQSM on a total field map.
field_ppm— total field (ppm) in this crate’s sign convention, column-major(nx,ny,nz). It is negated internally to match the network’s training convention (see the module docs).mask— binary brain mask; applied to the output (AutoQSM has no brain extraction, so the raw output is whole-head).model_onnx— bytes of the exportedautoqsm.onnx(fixed 64³→32³).
Returns susceptibility (ppm), masked, in the same layout.