warp_terms

sofia_redux.toolkit.image.warp.warp_terms(terms, coefficients)[source]

Apply coefficients to polynomial terms.

Parameters:
termsnumpy.ndarray (float)

The polynomial terms of shape (n_coefficients, n).

coefficientsnumpy.ndarray (float)

The polynomial coefficients of shape (n_dimensions, n_coefficients,).

Returns:
valuesnumpy.ndarray (float)

The fitted values of shape (n_dimensions, n).