Loss Interpolations
- class turbodesign.lossinterp.LossInterp[source]
Interpret the loss of an XY Graph with an additional 3rd variable
- __call__(x: ndarray[tuple[Any, ...], dtype[_ScalarT]] | float, c: ndarray[tuple[Any, ...], dtype[_ScalarT]] | float | None = None) float[source]
Pass in an array of x and c values
- Parameters:
x (Union[npt.NDArray,float]) – value on x axis
c (Union[npt.NDArray,float,None]) – Third axis value
- Returns:
y
- Return type:
float