create_griddata_array
- jwst.wfs_combine.wfs_combine.create_griddata_array(sci_data, pixel, n_size)[source]
Create interpolation array for input to scipy’s griddata.
This array consists of the coordinates and the pixel value for each of pixels neighboring the input pixel.
- Parameters:
- sci_datandarray
Original SCI image (float)
- pixeltuple of int
Coordinates
(y, x)of pixel to interpolate over- n_sizeint
Size of the interpolation box
- Returns:
- interp_arrndarray
Pixel coords (int, int), pixel value (float) for each pixel neighboring the input pixel