make_gslider_pulse#
- pypulseqpp.make_gslider_pulse()[source]#
Design a gSlider slab pulse with
subsliceatsubslice_phase.One pulse per sub-slice, combined across acquisitions, resolves the slab into
num_subslicessub-slices (Setsompop et al., Magn Reson Med 79:141, 2018). The SLR design is exact forflip_angle, so the pulse plays at its designed amplitude rather than being scaled by area.Parameters not listed below are as in
make_slr_pulse().- Parameters:
subslice (int) – Encoded sub-slice, in
[0, num_subslices), counted from the most negative position under a positive selection gradient.subslice_phase (float, default=np.pi) – Phase of the encoded sub-slice relative to the rest of the slab, in rad.
slice_thickness (float, default=0.0) – Whole slab, in m; required when
return_gz.
- Returns:
The pulse; under
return_gz,(rf, gz, gzr): the pulse, its selection gradient and its rephaser.- Return type:
RfEvent or tuple
- Raises:
ValueError – If
subsliceis out of range, or the time-bandwidth product does not fit the pulse’s samples.