Sequence.rf_flip_angles

Sequence.rf_flip_angles#

Sequence.rf_flip_angles()[source]#

Return the flip angle of each RF event of the library, in degrees.

Entry i is RF id i + 1, the row order of libraries(). The flip angle is the magnitude of the integral of the event’s complex envelope times its amplitude, in turns, times 360. A dynamic pTx pulse is integrated channel by channel on its shared time base and the channels summed: the flip angle where every channel has unit, in-phase sensitivity. test_report_dict() lists the distinct values.

Examples

>>> import numpy as np
>>> import pypulseqpp as pp
>>> seq = pp.Sequence(pp.Opts())
>>> for angle in (10, 20):
...     _ = seq.add_block(pp.make_sinc_pulse(np.deg2rad(angle), duration=2e-3))
>>> seq.rf_flip_angles().round(1)
array([10., 20.])