pipe#
- mrinufft.density.nufft_based.pipe(traj, shape, backend='gpunufft', **kwargs)[source]#
Compute the density compensation weights using the pipe method.
- Parameters:
traj (array_like) – array of shape (M, 2) or (M, 3) containing the coordinates of the points.
shape (array_like) – array of shape (2,) or (3,) containing the size of the grid.
backend (str) – backend to use for the computation. Either “cufinufft” or “tensorflow”.
**kwargs – Extra argument for the NUFFT operator.