dynamo.pd.get_init_path¶
- dynamo.pd.get_init_path(G, start, end, coords, interpolation_num=20)[source]¶
Get the initial path for the least action path calculation.
- Parameters:
G (
Graph) – A networkx graph representing the cell state space.start (
ndarray) – The starting point of the path.end (
ndarray) – The end point of the path.coords (
ndarray) – The coordinates of the cell states.interpolation_num (
int(default:20)) – The number of points to use in the initial path.
- Return type:
- Returns:
The initial path for the least action path calculation.