def __call__(self, x):
    '\n        Evaluates the interpolated function at the given input.\n\n        Parameters\n        ----------\n        x : np.array or float\n            Real values to be evaluated in the interpolated function.\n\n        Returns\n        -------\n        y : np.array or float\n            The interpolated function evaluated at x: y = f(x), with the same\n            shape as x.\n        '
    z = np.asarray(x)
    return self._evaluate(z.flatten()).reshape(z.shape)
Evaluates the interpolated function at the given input.

Parameters
----------
x : np.array or float
    Real values to be evaluated in the interpolated function.

Returns
-------
y : np.array or float
    The interpolated function evaluated at x: y = f(x), with the same
    shape as x.
def __call__(self, x):
    '\n        Evaluates the interpolated function at the given input.\n\n        Parameters\n        ----------\n        x : np.array or float\n            Real values to be evaluated in the interpolated function.\n\n        Returns\n        -------\n        y : np.array or float\n            The interpolated function evaluated at x: y = f(x), with the same\n            shape as x.\n        '
    z = np.asarray(x)
    return self._evaluate(z.flatten()).reshape(z.shape)