unepify#
- mrinufft.trajectories.tools.unepify(trajectory: ndarray[tuple[int, ...], dtype[_ScalarType_co]], Ns_readouts: int, Ns_transitions: int) ndarray[tuple[int, ...], dtype[_ScalarType_co]][source]#
Recover single-readout shots from multi-readout trajectory.
Reformat an EPI-like trajectory with multiple readouts and transitions to more single-readout shots by discarding the transition parts.
Note that it can also be applied to any array of shape (Nc, Ns_readouts + Ns_transitions, …) such as acquired samples for example.
- Parameters:
- Returns:
Trajectory with more but shorter single shots.
- Return type:
NDArray