Skip to content

Commit b6c7069

Browse files
committed
calculateKernelDensity rem
1 parent bc7bca4 commit b6c7069

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/model/modelhelper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ export function buildClusterTable(
139139
}
140140

141141
// calculate Kernel Density Function (Quartic) for all points
142+
// (1/ℎ^2)*Σ((3/𝜋)*(1−(𝑑𝑖𝑗^2/ℎ^2))^2)
142143
export function calculateKernelDensity(
143144
points: Accident[],
144145
radius: number = 100

0 commit comments

Comments
 (0)