shasta.utils
#
Module Contents#
Functions#
|
Initial position for actor in the form of a ring |
- get_initial_positions(cartesian_pos, r, n)[source]#
Initial position for actor in the form of a ring
- Parameters:
cartesian_pos (array) – Initial cartesian pos
r (float) – Radius of formation
n (int) – Number of points in the circle
- Returns:
An array of points in the form of a ring
- Return type:
array