colour.index_stress#
- colour.index_stress(d_E: ArrayLike, d_V: ArrayLike, method: Literal['Garcia 2007'] | str = 'Garcia 2007') NDArrayFloat[source]#
Compute Kruskal’s Standardized Residual Sum of Squares (\(STRESS\)) index using the specified method
- Parameters:
- Returns:
\(STRESS\) index.
- Return type:
References
Examples
>>> d_E = np.array([2.0425, 2.8615, 3.4412]) >>> d_V = np.array([1.2644, 1.2630, 1.8731]) >>> index_stress(d_E, d_V) 0.1211709...