Image Drizzling Step

The operation of drizzling each input image needs to be performed twice during processing:

  • single drizzle step: this initial step drizzles each image onto the final output WCS as separate images

  • final drizzle step: this step produces the final combined image based on the cosmic-ray masks determined by AstroDrizzle

drizzlepac.adrizzle Module

Interfaces to main drizzle functions.

Authors:

Warren Hack

License:

License

Drizzle the input images onto the output frame.

Each input image gets drizzled onto a separate copy of the output frame. When stacked, these copies would correspond to the final combined product. As separate images, they allow for treatment of each input image separately in the undistorted, final WCS system. These images provide the information necessary for refining image registration for each of the input images. They also provide the images that will be succeedingly combined into a median image and then used for the subsequent blot and cosmic ray detection steps.

Aside from the input parameters, this step requires:

  • valid input images with SCI extensions

  • valid distortion coefficient tables

  • any optional secondary distortion correction images

  • a NumPy object (in memory) for the static mask

This step produces:

  • singly drizzled science image (simple FITS format)

  • singly drizzled weight images (simple FITS format)

These images all have the same WCS based on the original input parameters and those provided for this step; specifically, output shape, pixel size, and orientation, if any have been specified at all.

Functions

drizzle(input, outdata[, wcsmap, editpars, ...])

Run the high-level drizzle task for a single set of inputs.

drizSeparate(imageObjectList, output_wcs, ...)

Execute the single-drizzle step for each input exposure.

drizFinal(imageObjectList, output_wcs, configObj)

Execute the final drizzle combination for all input exposures.

run_driz(imageObjectList, output_wcs, ...[, ...])

Perform drizzle operation on input to create output.

run_driz_img(img, chiplist, output_wcs, ...)

Perform the drizzle operation on a single image.

run_driz_chip(img, chip, output_wcs, outwcs, ...)

Perform the drizzle operation on a single chip.