@welldot/utils

PurgeStabilizationCriteria

Purge stabilization tolerances keyed by parameterKey. A step between two consecutive readings is within tolerance when |Δ| ≤ abs or |Δ| / |previous| × 100 ≤ relpct (either one, when both are given).

PurgeStabilizationCriteria = Record<string, { abs?: number; rel_pct?: number; }>

Purge stabilization tolerances keyed by parameterKey. A step between two consecutive readings is within tolerance when |Δ| ≤ abs or |Δ| / |previous| × 100 ≤ rel_pct (either one, when both are given).