organoid_tracker.connecting.connector_by_distance module

class organoid_tracker.connecting.connector_by_distance.ConnectorByDistance(max_distance_um: float, max_number: Optional[int] = None)

Bases: object

Used to create connections between positions if they are close enough.

create_connections(experiment: Experiment) Connections

Adds connections for all time points in the experiment. Doesn’t modify the experiment; instead this method returns the new connections. (This is useful for implementing Undo functionality.)