calc_golden_angles#
- pypulseqpp.calc_golden_angles()[source]#
Return golden-angle rotations in radians, accumulated modulo 2*pi.
For diametric spokes the increment is
pi / phi; for full-circle arms it is2*pi / phi**2, where phi is the golden ratio.- Parameters:
- Returns:
Angles (rad), length
n, accumulated modulo2 pi.- Return type:
Examples
>>> import numpy as np >>> import pypulseqpp as pp >>> np.rad2deg(pp.calc_golden_angles(4)).round(2) array([ 0. , 111.25, 222.49, 333.74])
>>> np.rad2deg(pp.calc_golden_angles(3, full_circle=True)).round(2) array([ 0. , 137.51, 275.02])
References
Winkelmann et al., golden-ratio profile order, DOI
10.1109/TMI.2006.885337.See also
calc_tiny_golden_anglessmaller increments with the same uniformity.
calc_raga_anglesrational, exactly repeatable approximation.