coeffs_from_astropy_polynomial¶
- grizli.grismconf.coeffs_from_astropy_polynomial(p)[source]¶
Get field-dependent coefficients in aXe format from an
astropy.modeling.polynomial.Polynomial2D
model- Parameters
- p
astropy.modeling.polynomial.Polynomial2D
Polynomial model
- p
- Returns
- coeffsarray-like
Reordered array of coefficients