compute_infimum#

AdvancedFeatureSystem.compute_infimum(feat_ids: ndarray | list, specifications: ndarray | list) ndarray#

Calculate the infimum of a list of separation ids and orientations. Used not to get separations but to see what lies in the intersection of a list of oriented separations. Hence the result is also not added into the separation system.

Parameters#

sep_idsnp.ndarray

The ids of the separations to calculate the infimum from.

orientationsnp.ndarray

The orientations of the separations.

Returns#

np.ndarray

A -1/1-indicator vector for whether a datapoint lies inside the infimum.