generate_fibonacci_lattice

generate_fibonacci_lattice#

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

Generate 2D Cartesian coordinates using the Fibonacci lattice.

Place 2D points over a 1x1 square following the Fibonacci lattice.

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 1x1 square.

Return type:

np.ndarray