clustertracking.constraints.tetramer

clustertracking.constraints.tetramer(dist, ndim=2)[source]

Constrain clusters of 4 at given distance.

For 2D: features are in a perfect square (4 constraints) For 3D: features are constrained in a tetrahedron (6 constraints). Allows image anisotropy by providing a tuple to as distance.