make_phase_blip

make_phase_blip#

pypulseqpp.make_phase_blip()[source]#

Create a phase-encode blip of area steps / fov for an echo train.

One k-space line is 1 / fov, so steps=R advances R lines, as an acceleration of R needs. Negative steps blip backwards.

Parameters:
  • channel (str) – Gradient channel ("x", "y" or "z").

  • fov (float) – Field of view along channel (m).

  • steps (float, default=1.0) – Cells to traverse; non-zero, may be negative.

  • system (pypulseqpp.Opts, default=None) – System limits.

  • duration (float, default=None) – Force a duration (s); the default is the shortest feasible.

Returns:

Trapezoid of area steps / fov.

Return type:

TrapEvent

Raises:

ValueError – If fov is not positive or steps is zero.

Examples

>>> import pypulseqpp as pp
>>> round(pp.make_phase_blip("y", 0.24, steps=2, system=pp.Opts()).area, 3)
8.333

See also

make_phase_encoding

the full-area encode played once per shot.