control.phaseplot.circlegrid

control.phaseplot.circlegrid(centers, radius, num)[source]

Generate list of points around a circle.

points = circlegrid(centers, radius, num) generates a list of points that form a circle around a list of centers.

Parameters
centers2D array_like

Array of points with shape (p, 2) defining centers of the circles.

radiusfloat

Radius of the points to be generated around each center.

numint

Number of points to generate around the circle.

Returns
grid2D array

Array of points with shape (p * num, 2) defining the circles.