get_supporting_inds#

omnipose.utils.get_supporting_inds(steps)[source]#

For each step 'v', find all pairs (i, j) such that steps[i] + steps[j] == steps[v], excluding the center index.

Steps shape: (S, d), with a 'center_index' = S//2 by default.