Utility Functions

Currently, the utils module provides helpful functions for manually applying corrections to an imaging WCS.

jwst.tweakreg.utils Module

Functions

adjust_wcs(wcs[, delta_ra, delta_dec, ...])

Apply corrections to an imaging WCS of 'cal' data models.

transfer_wcs_correction(to_image, from_image)

Applies the same total WCS correction that was applied by tweakreg (!) to the WCS in the from_image data model to the WCS of the to_image data model.