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), column-major(nx,ny,nz).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.