pulpy.rf.slr.dz_recursive_rf

pulpy.rf.slr.dz_recursive_rf(n_seg, tb, n, se_seq=False, tb_ref=8, z_pad_fact=4, win_fact=1.75, cancel_alpha_phs=True, t1=inf, tr_seg=60, use_mz=True, d1=0.01, d2=0.01, d1se=0.01, d2se=0.01)[source]

Recursive SLR pulse design.

Parameters:
  • n_seg (int) – number of segments designed by recursion.

  • tb (int) – time bandwidth product.

  • n (int) – pulse length.

  • se_seq (bool) – spin echo sequence.

  • tb_ref (int) – time bandwidth product of refocusing pulse.

  • z_pad_fact (float) – zero padding factor.

  • win_fact (float) – applied window factor.

  • cancel_alpha_phs (bool) – absorb the alpha phase profile from beta’s profile, so they cancel for a flatter total phase

  • t1 (float) – t1

  • tr_seg (int) – length of tr

  • use_mz (bool) – design the pulses accounting for the actual Mz profile

  • d1 (float) – passband ripple level in :math:’M_0^{-1}’.

  • d2 (float) – stopband ripple level in :math:’M_0^{-1}’.

  • d1se (float) – passband ripple level for se

  • d2se (float) – stopband ripple level for se

Returns:

If se_seq=True, 2-element tuple containing

  • rf (array): rf pulse out.

  • rf_ref (array): rf refocusing pulse out.