traj3d2stacked

Contents

traj3d2stacked#

mrinufft.operators.stacked.traj3d2stacked(samples, dim_z, n_samples=0)[source]#

Convert a 3D trajectory into a trajectory and the z-stack index.

Parameters:
  • samples (array-like) – 3D trajectory

  • dim_z (int) – Size of the z dimension

  • n_samples (int, default=0) – Number of samples per shot. If 0, the shot length is determined by counting the unique z values.

Returns:

2D trajectory, z_index

Return type:

tuple