magpie.pixels.get_arc
- magpie.pixels.get_arc(radius, phimin=0.0, phimax=2.0 * np.pi, center=[0.0, 0.0], steps=10)
Returns the coordinates of the arc of a circle, default settings will return the coordinates along a complete circle.
- Parameters
- radiusfloat
Radius of the circle.
- phiminfloat, optional
Minimum phi value, default=0.
- phimaxfloat, optional
Maximum phi value, default=2pi.
- centerlist, optional
Central x and y coordinates for the arc.
- stepsint, optional
The number of points along the arc curve.
- Returns
- x, yarray
Coordinates along the arc of a circle.