rewind#

mrinufft.trajectories.tools.rewind(trajectory: ndarray[tuple[int, ...], dtype[_ScalarType_co]], Ns_transitions: int) ndarray[tuple[int, ...], dtype[_ScalarType_co]][source]#

Add rewinding to the trajectory.

The trajectory is extended to come back to the k-space center after the readouts with null gradients.

Parameters:
  • trajectory (NDArray) – Trajectory to extend with rewind gradients.

  • Ns_transitions (int) – Number of rewinding steps used to come back to the k-space center.

Returns:

Extended trajectory with rewinding.

Return type:

NDArray

Example using rewind:#

Trajectory tools

Trajectory tools