shepard_2d_kernel

jwst.straylight.shepard_2d_kernel(roi, power)[source]

Calculates the kernel matrix of Shepard’s modified algorithm.

Parameters
  • roi (int) – Region of influence.

  • power (float) – Exponent of Shepard kernel.