utilities.lattice_generators
A file to contain different kinds of lattice generation algorithms.
Module Contents
Functions
|
Generate a very even lattice of points on a 3d sphere using the fibonacci sphere |
- utilities.lattice_generators.fibonacci_sphere(samples: int = 1000) numpy.ndarray [source]
Generate a very even lattice of points on a 3d sphere using the fibonacci sphere or fibonacci spiral algorithm.
- Parameters:
samples (int, optional) – Number of points to be generated. Defaults to 1000.
- Returns:
The lattice of points as a 2-D (samples, 3) numpy array.
- Return type:
np.ndarray