Skip to main content

iqfm_multi_echo

Function iqfm_multi_echo 

Source
pub fn iqfm_multi_echo(
    phases: &[&[f64]],
    magnitudes: &[&[f64]],
    mask: &[u8],
    grid: &Grid,
    tes: &[f64],
    b0: f64,
    phase_sign: f64,
    eroded_rad: i32,
    model_onnx: &[u8],
    tile: Option<&TileConfig>,
    weighting: IqsmEchoWeighting,
) -> Result<Vec<f64>, OnnxError>
Expand description

Multi-echo iQFM: reconstruct each echo and combine them with weighting (default (magnitude·TE)², the inverse-variance weight; see IqsmEchoWeighting), exactly as super::iqsm::iqsm_multi_echo, whole-volume or tiled (tile).