paramagpy.fit.sphere_grid¶
- paramagpy.fit.sphere_grid(origin, radius, points)[source]¶
Make a grid of cartesian points within a sphere
- Parameters
origin (float) – the centre of the sphere
radius (float) – the radius of the sphere
points (int) – the number of points per radius
- Returns
array – the points within the sphere
- Return type
array of [x,y,z] coordinates