agora.utils.indexing

Utilities based on association are used to efficiently acquire indices of tracklets with some kind of relationship. This can be:

  • Cells that are to be merged

  • Cells that have a linear relationship

Functions

compare_indices(x, y)

Fetch two 2-D indices and return a binary 2-D matrix where a True value links two cells where all cells are the same

validate_association(association, indices[, ...])

Select rows from the first array that are present in both.