steps_to_indices#

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

Get indices of the hupercubes sharing m-faces on the central n-cube. These are sorted by the connectivity (by center, face, edge, vertex, ...). I.e., the central point index is first, followed by cardinal directions, ordinals, and so on.