Home
Overview
Fundamentals
Glossary
Cheatsheet
API Reference
Quick Recipes
Deep Dive
Common Pitfalls and Gotchas
Persistent Storage
Operators working with curves.
kd.curves.log_p1_pwl_curve(p, adjustments)Specialization of PWLCurve with log(x + 1) transformation.
Args:
p: (DataSlice) input points to the curve
adjustments: (DataSlice) 2D data slice with points used for interpolation.
The second dimension must have regular size of 2. E.g., [[1, 1.7], [2,
3.6], [7, 5.7]]
Returns:
FLOAT64 DataSlice with the same dimensions as p with interpolation results.
kd.curves.log_pwl_curve(p, adjustments)Specialization of PWLCurve with log(x) transformation.
Args:
p: (DataSlice) input points to the curve
adjustments: (DataSlice) 2D data slice with points used for interpolation.
The second dimension must have regular size of 2. E.g., [[1, 1.7], [2,
3.6], [7, 5.7]]
Returns:
FLOAT64 DataSlice with the same dimensions as p with interpolation results.
kd.curves.pwl_curve(p, adjustments)Aliases:
Piecewise Linear (PWL) curve interpolation operator.
Args:
p: (DataSlice) input points to the curve
adjustments: (DataSlice) 2D data slice with points used for interpolation.
The second dimension must have regular size of 2. E.g., [[1, 1.7], [2,
3.6], [7, 5.7]]
Returns:
FLOAT64 DataSlice with the same dimensions as p with interpolation results.
kd.curves.symmetric_log_p1_pwl_curve(p, adjustments)Specialization of PWLCurve with symmetric log(x + 1) transformation.
Args:
p: (DataSlice) input points to the curve
adjustments: (DataSlice) 2D data slice with points used for interpolation.
The second dimension must have regular size of 2. E.g., [[1, 1.7], [2,
3.6], [7, 5.7]]
Returns:
FLOAT64 DataSlice with the same dimensions as p with interpolation results.