unepify

Contents

unepify#

mrinufft.trajectories.tools.unepify(trajectory, Ns_readouts, Ns_transitions)[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:
  • trajectory (array_like) – Trajectory to reduce by discarding transitions between readouts.

  • Ns_readouts (int) – Number of samples within a single readout.

  • Ns_transitions (int) – Number of samples/steps between the readouts.

Returns:

Trajectory with more but shorter single shots.

Return type:

array_like