API

Public Step API

jwst.resample.resample_step Module

Apply resampling to JWST data.

Classes

ResampleStep([name, parent, config_file, ...])

Resample imaging data onto a regular grid using the drizzle algorithm.

Complete Developer API

(Some API here may also be used in Resampling Spectral Data.)

jwst.resample.resample Module

Functions

input_jwst_model_to_dict(model, weight_type, ...)

Convert a data model to a dictionary of keywords and values expected by stcal.resample.

is_imaging_wcs(wcs)

Return True if wcs is an imaging WCS and False otherwise.

Classes

ResampleImage(input_models[, pixfrac, ...])

Python Interface to Drizzle: Resample imaging data.

jwst.resample.resample_utils Module

Functions

build_mask(dqarr, bitvalue)

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

resampled_wcs_from_models(input_models[, ...])

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

multi_sregion_to_list(sregion)

Convert a multi S_REGION string to a list of individual S_REGION strings.