def __call__(self, x, *args, **kwargs):
"""
Get the spline value and uncertainty at point(s) x. args and kwargs are passed to spline.__call__
"""
x = np.atleast_1d(x)
s = np.vstack([curve(x, *args, **kwargs) for curve in self._splines])
return (np.mean(s, axis=0), np.std(s, axis=0))
评论列表
文章目录