xscale.signal.fitting.polyval

xscale.signal.fitting.polyval(coefficients, coord)

Build an array from polynomial coefficients

Parameters:
coefficients : xarray.DataArray

The DataArray where the coefficients are stored

coord : xarray.Coordinate

The locations where the polynomials is evaluated

Returns:
output : xarray.DataArray

The polynomials evaluated at specified locations