get_sep_ids#

abstract SetSeparationSystemBase.get_sep_ids(seps: ndarray) tuple[ndarray, ndarray]#

If the separations are already contained inside of the separation system then return the id and orientation of the sep. Otherwise -1 is returned.

Parameters#

sepsnp.ndarray

A matrix of shape (number of datapoints, number of separations) encoding the separations.

Returns#

tuple (np.ndarray, np.ndarray)

The separation ids and orientations.