organoid_tracker.connection_analysis.cluster_finder module
Used to find groups of positions that are connected to each other using connections.
- class organoid_tracker.connection_analysis.cluster_finder.Cluster(*positions: Position)
Bases:
object
Represents a cluster of positions.
- organoid_tracker.connection_analysis.cluster_finder.find_clusters(positions: PositionCollection, connections: Connections, time_point: TimePoint) List[Cluster]
Returns all clusters - positions that are connected via one or more connections. If position X and position Y are in the same cluster, it means that if you follow one or multiple connections, you can get from X to Y.