Skip to main content

run_chi_sepnet

Function run_chi_sepnet 

Source
fn run_chi_sepnet(
    local_field_ppm: &[f64],
    qsm: &[f64],
    r2prime: &[f64],
    mask: &[u8],
    grid: &Grid,
) -> Result<(Vec<f64>, Vec<f64>, Vec<f64>), PipelineError>
Expand description

Source the χ-sepnet weights and run inference (requires the onnx feature).