Skip to main content

gibbs_unring

Function gibbs_unring 

Source
pub fn gibbs_unring(
    data: &[f64],
    dims: (usize, usize, usize),
    n_vols: usize,
) -> Vec<f64>
Expand description

Gibbs-unring multi-volume data (e.g. multi-echo magnitude).

§Arguments

  • data - Interleaved [voxel0_vol0, voxel0_vol1, ..., voxel1_vol0, ...] (row-major (n_voxels, n_vols)), same layout as [r2star_arlo].
  • dims - Volume dimensions (nx, ny, nz).
  • n_vols - Number of volumes.

§Returns

Unrung data in the same layout.