xarray.polyval
-
xarray.polyval(coord, coeffs, degree_dim='degree')[source]
Evaluate a polynomial at specific values
- Parameters
coord (DataArray) – The 1D coordinate along which to evaluate the polynomial.
coeffs (DataArray) – Coefficients of the polynomials.
degree_dim (str, default: "degree") – Name of the polynomial degree dimension in coeffs.