rapids_singlecell.gr.neighbors.DistanceIntervalPostprocessor#

class rapids_singlecell.gr.neighbors.DistanceIntervalPostprocessor(interval)[source]#

Prune distances outside an inclusive interval, keeping the adjacency diagonal.

Parameters:
interval tuple[float, float]

Inclusive pair of nonnegative Euclidean distance bounds. Bounds are sorted before use. The connectivity diagonal is preserved.

Attributes table#

Attributes#

interval: tuple[float, float]#