generate_fibonacci_circle

generate_fibonacci_circle#

mrinufft.trajectories.maths.generate_fibonacci_circle(nb_points, epsilon=0.25)[source]#

Generate 2D Cartesian coordinates shaped as Fibonacci spirals.

Place 2D points structured as Fibonacci spirals by distorting a square Fibonacci lattice into a circle of radius 1.

Parameters:
  • nb_points (int) – Number of 2D points to generate.

  • epsilon (float) – Continuous offset used to reduce initially wrong lattice behavior.

Returns:

Array of 2D Cartesian coordinates covering a circle of radius 1.

Return type:

np.ndarray