prewind#
- mrinufft.trajectories.tools.prewind(trajectory: ndarray[tuple[int, ...], dtype[_ScalarType_co]], Ns_transitions: int) ndarray[tuple[int, ...], dtype[_ScalarType_co]][source]#
Add pre-winding/positioning to the trajectory.
The trajectory is extended to start before the readout from the k-space center with null gradients and reach each shot position with the required gradient strength.
- Parameters:
trajectory (NDArray) – Trajectory to extend with rewind gradients.
Ns_transitions (int) – Number of pre-winding/positioning steps used to leave the k-space center and prepare for each shot to start.
- Returns:
Extended trajectory with pre-winding/positioning.
- Return type:
NDArray