voronoi_unique

Contents

voronoi_unique#

mrinufft.density.geometry_based.voronoi_unique(traj, *args, **kwargs)[source]#

Estimate density compensation weight using voronoi parcellation.

This assume unicity of the point in the kspace.

Parameters:
  • kspace (array_like) – array of shape (M, 2) or (M, 3) containing the coordinates of the points.

  • *args – Dummy arguments to be compatible with other methods.

  • **kwargs – Dummy arguments to be compatible with other methods.

Returns:

wi – array of shape (M,) containing the density compensation weights.

Return type:

array_like