piglot.utils.responses.errors_interps

errors_interps(x_new: ndarray, y_new: ndarray, x_ref: ndarray, y_ref: ndarray) ndarray[source]

Compute the error associated with removing each point from the grid

Parameters

x_newnp.ndarray

New time grid

y_newnp.ndarray

Values on the new grid

x_refnp.ndarray

Old time grid

y_refnp.ndarray

Values on the old grid

Returns

np.ndarray

Error associated with removing each point