Skip to content

enclosingRadius

function enclosingRadius(vIn): number;

Defined in: passes/rips.ts:53

The smallest radius at which some point covers all others.

Beyond it the Rips complex is a cone, so all homology above degree 0 vanishes and nothing is lost by truncating there.

ParameterType
vInPointsInput

number

import { enclosingRadius, ripsH1 } from "@saehrimnir/sickle";
// The default threshold `ripsH1` builds its complex up to.
enclosingRadius(projection); // 21.3697
ripsH1(projection, { threshold: enclosingRadius(projection) / 2 });