Function: normalizeCurvature()
ts
function normalizeCurvature(curvature, percentile?): Float32Array;Defined in: src/utils/curvature.ts:123
Normalize curvature values to a standard range for display. Maps curvature to roughly [-1, 1] based on percentiles to handle outliers.
Parameters
curvature
Float32Array
Raw curvature values
percentile?
number = 98
Percentile to use for normalization (default: 98)
Returns
Float32Array
Normalized curvature values