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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
vIn | PointsInput |
Returns
Section titled “Returns”number
Example
Section titled “Example”import { enclosingRadius, ripsH1 } from "@saehrimnir/sickle";
// The default threshold `ripsH1` builds its complex up to.enclosingRadius(projection); // 21.3697ripsH1(projection, { threshold: enclosingRadius(projection) / 2 });