piglot.utils.responses.interpolate_response

interpolate_response(x_resp: ndarray, y_resp: ndarray, x_grid: ndarray) ndarray[source]

Interpolate a response function.

Parameters

x_respnp.ndarray

Original time grid.

y_respnp.ndarray

Values in the original grid.

x_gridnp.ndarray

New time grid.

Returns

np.ndarray

Values on the new grid.