Skip to main content

iqsm_plus_with

Function iqsm_plus_with 

Source
fn iqsm_plus_with(
    net: &'_ (dyn Fn(&[Tensor]) -> Result<Vec<Tensor>, OnnxError> + Sync),
    phase_rad: &[f64],
    mask: &[u8],
    grid: &Grid,
    te: f64,
    b0: f64,
    b0_dir: (f64, f64, f64),
    phase_sign: f64,
    eroded_rad: i32,
    crop: bool,
) -> Result<Vec<f64>, OnnxError>
Expand description

One pass of the network. With crop, on the eroded mask’s bounding box plus 16 voxels, centre-padded to a multiple of 16; without, on the whole input, which must already be one.