stereo.algorithm.spa_track.SpaTrack.least_action

SpaTrack.least_action(n_points=25, n_neighbors=100, **kwags)[source]

Calculate the optimal paths between any two cell states.

Parameters:
  • n_points (int) – The number of points on the least action path, defaults to 25

  • n_neighbors (int) – The number of neighbors, defaults to 100

Returns:

A trajectory class containing the least action paths information.