poly2d

sofia_redux.toolkit.fitting.polynomial.poly2d(x, y, coeffs)[source]

Evaluate 2D polynomial coefficients

Parameters:
xarray_like of float

(shape1) x-coordinate independent interpolants

yarray_like of float

(shape1) y-coordinate independent interpolants

coeffsnumpy.ndarray

(y_order + 1, x_order + 1) array of coefficients output by polyfit2d.

Returns:
numpy.ndarray

(shape1) polynomial coefficients evaluated at (y,x).