make_phase_encoding

make_phase_encoding#

pulserver.blocks.make_phase_encoding(channel, system, fov, npix)[source]#

Prepare phase encoding gradient for a given resolution.

Parameters:
  • channel (str) – Phase encoding axis. Must be one between x, y and z`.

  • system (pypulseq.Opts) – System limits.

  • fov (float) – Field of view in the phase encoding direction in [mm].

  • npix (int) – Matrix size in the phase encoding direction,

Returns:

Phase encoding event on the specified axes.

Return type:

SimpleNamespace