wisdem.commonse.utilities.interp_with_deriv

wisdem.commonse.utilities.interp_with_deriv(x, xp, yp)[source]

linear interpolation and its derivative. To be precise, linear interpolation is not differentiable right at the control points, but in general it works well enough