Resample Utilities

jwst.resample.resample_utils Module

Functions

build_mask(dqarr, bitvalue)

Build a bit mask from an input DQ array and a bitvalue flag.

decode_context(context, x, y)

Get 0-based indices of input images that contributed to (resampled) output pixel.

make_output_wcs(input_models[, ref_wcs, ...])

Generate output WCS here based on footprints of all input WCS objects.

resampled_wcs_from_models(input_models[, ...])

Compute the WCS of the resampled image from input models and specified WCS parameters.