calc_raga_angles#
- pypulseqpp.calc_raga_angles()[source]#
Return rational approximate golden-angle (RAGA) rotations.
The finite support contains
fib(approximation_order, tiny_index)equidistant angles. Angles repeat whennexceeds the support size.- Parameters:
- Returns:
Angles (rad), length
n, drawn from a finite equidistant support.- Return type:
- Raises:
ValueError – If
nis below one, or the approximation index is out of range.
Examples
>>> import numpy as np >>> import pypulseqpp as pp >>> angles = pp.calc_raga_angles(1000, approximation_order=8) >>> len(np.unique(angles.round(9))) 21
References
Scholand et al., RAGA sampling, DOI
10.1002/mrm.30254.See also
calc_golden_anglesthe irrational increment RAGA approximates.