make_half_passages#
- pypulseqpp.make_half_passages()[source]#
Make a pair of adiabatic half passages, tipping magnetisation into the transverse plane and back.
downis the first half of a full adiabatic sweep (far off-resonance to on-resonance), taking+zto the transverse plane independently of B1 above the adiabatic threshold.upisdowntime-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 ofbeta.use (str, default='preparation') – Pulseq
usetag.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