webbpsf_ext.psfs.field_coeff_func

webbpsf_ext.psfs.field_coeff_func(v2grid, v3grid, cf_fields, v2_new, v3_new, method='linear')[source]

Interpolation function for PSF coefficient residuals

Uses RegularGridInterpolator to quickly determine new coefficient residulas at specified points.

Parameters
  • v2grid (ndarray) – V2 values corresponding to cf_fields.

  • v3grid (ndarray) – V3 values corresponding to cf_fields.

  • cf_fields (ndarray) – Coefficient residuals at different field points Shape is (nV3, nV2, ncoeff, ypix, xpix)

  • v2_new (ndarray) – New V2 point(s) to interpolate on. Same units as v2grid.

  • v3_new (ndarray) – New V3 point(s) to interpolate on. Same units as v3grid.