add_seps#

SetSeparationSystem.add_seps(new_seps: ndarray, metadata=None) tuple[ndarray, ndarray]#

Add separations to the separation system.

Parameters#

new_sepsnp.ndarray

A matrix of shape (number of points, number of separations) representing the separations.

metadataarraylike, optional

An optional piece of metadata. Should be an arraylike of length (number of separations).

Returns#

tuple (np.ndarray, np.ndarray)

The ids of the added separations in the separation system in its first entry and the orientations of the added separations in the separation system in the second entry.