interpolate

nrv.optim.optim_utils.interpolate(y: <MagicMock name='mock.ndarray' id='139958332223088'>, x: <MagicMock name='mock.ndarray' id='139958332223088'> = [], scale=4, intertype='Spline', bounds=(0, 0), save=False, filename='interpolate.dat', save_scale=False, kwargs_interp={})[source]
Parameters:
  • y (np.ndarray) – _description_

  • x (np.ndarray, optional) – _description_, by default []

  • scale (int, optional) – _description_, by default 4

  • intertype (str, optional) – _description_, by default “Spline”

  • bounds (tuple, optional) – _description_, by default (0, 0)

  • save (bool, optional) – _description_, by default False

  • filename (str, optional) – _description_, by default “interpolate.dat”

  • save_scale (bool, optional) – _description_, by default False

  • kwargs_interp (dict, optional) – _description_, by default {}

Returns:

_description_

Return type:

_type_