gigablochs.rf.sinc_pulse

Contents

gigablochs.rf.sinc_pulse#

gigablochs.rf.sinc_pulse(flip_angle, duration, bandwidth, dt, phase_angle=0, window='hann')[source]#

Generate a sinc pulse with a given flip angle and duration.

Parameters:
  • flip_angle (float) – Desired flip angle in degrees.

  • duration (float) – Pulse duration in seconds.

  • bandwidth (float) – Pulse bandwidth in Hz.

  • dt (float) – Time step in seconds.

  • phase_angle (float, optional) – Desired phase angle in degrees. Default is 0.

  • window (str, optional) – Window function to apply to the sinc pulse. Default is Hann.

Returns:

Sinc pulse waveform.

Return type:

ndarray

Notes

The flip angle of an RF pulse is given by the integral of the pulse B1 field:

\[\theta = \gamma \int_0^T B_1 dt\]

where \(\theta\) is the flip angle in rads, \(\gamma\) is the gyromagnetic ratio in rads/s/T, \(T\) is the pulse duration is s, and \(B_1\) is the pulse amplitude in T. The sinc pulse is normalized to achieve the desired flip angle.