API

Public Step API

jwst.coron.align_refs_step Module

Replace bad pixels and align PSF image with target image.

Classes

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

Align coronagraphic PSF images with science target images.

Complete Developer API

jwst.coron.imageregistration Module

Functions

align_fourier_lsq(reference, target[, mask])

LSQ optimization with Fourier shift alignment.

shift_subtract(params, reference, target[, mask])

Use Fourier Shift theorem for subpixel shifts.

fourier_imshift(image, shift)

Shift an image by use of Fourier shift theorem.

align_array(reference, target[, mask, ...])

Compute shifts and realign target image to reference.

align_models(reference, target, mask)

Align target image to reference by calculating and applying shifts.

jwst.coron.median_replace_img Module

Replace bad pixels in the input images with the median of the surrounding pixels.

Functions

median_fill_value(input_array, ...)

Calculate the median value of good pixels in a cutout of the input array.

median_replace_img(img_model, box_size, ...)

Replace any bad pixels with the median value of the surrounding pixels.

separate_non_science_pixels(img_dq, ...)

Generate masks for science pixels and non-science pixels.