make_half_passages

make_half_passages#

pypulseqpp.make_half_passages()[source]#

Make a pair of adiabatic half passages, tipping magnetisation into the transverse plane and back.

down is the first half of a full adiabatic sweep (far off-resonance to on-resonance), taking +z to the transverse plane independently of B1 above the adiabatic threshold. up is down time-reversed and conjugated, which returns the magnetisation to +z. Both play at their designed amplitude.

Parameters:
  • duration (float) – Duration of each half passage, in s.

  • adiabaticity (float, default=8) – Sweep-rate margin over the adiabatic condition. The default is twice an inversion’s, because a half passage has only half a sweep to converge in.

  • dwell (float, default=1e-05) – RF raster, in s.

  • pulse_type (str, default='hypsec') – Sweep family, as make_adiabatic_pulse() names them.

  • beta (float, default=None) – "hypsec" envelope parameter of the full sweep (1/s); 800 by default.

  • mu (float, default=4.9) – "hypsec" sweep amplitude, in units of beta.

  • use (str, default='preparation') – Pulseq use tag.

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

Returns:

down, up – The first and the second half passage.

Return type:

RfEvent

Examples

>>> import numpy as np
>>> import pypulseqpp as pp
>>> down, up = pp.make_half_passages(4e-3)
>>> bool(np.allclose(np.asarray(down.signal), np.conj(np.asarray(up.signal))[::-1]))
True