calc_tiny_golden_angles

calc_tiny_golden_angles#

pypulseqpp.calc_tiny_golden_angles()[source]#

Return tiny-golden rotations with increment pi / (phi + index - 1).

index=1 gives the radial golden-angle increment; larger indices reduce the angular step.

Parameters:
  • n (int) – Number of angles.

  • index (int, default=2) – Tiny-golden index N >= 1 (default 2).

Returns:

Angles (rad), length n, accumulated modulo 2 pi.

Return type:

numpy.ndarray

Raises:

ValueError – If index is smaller than 1.

Examples

>>> import numpy as np
>>> import pypulseqpp as pp
>>> np.rad2deg(pp.calc_tiny_golden_angles(3, index=2)).round(2)
array([  0.  ,  68.75, 137.51])

References

Wundrak et al., tiny golden angles, DOI 10.1002/mrm.25831.

See also

calc_golden_angles

the index=1 case.