fibonacciS2Grid edit page

The class fibonacciS2Grid creates equispaced grids on the sphere by placing points around a spiral around the sphere. The class also provides a method to find grid points around a given center with specified radius.

Syntax

fibgrid = fibonacciS2Grid(N)
fibgrid = fibonacciS2Grid('points', N)
fibgrid = fibonacciS2Grid('resolution', res*degree)
% saves the precise rho angles in the options
fibgrid = fibonacciS2Grid('points', N, 'saverho')

Input

N number of points
res resolution of the grid

Options

points number of points to be generated
res desired resolution of the grid