assign_moving_target_wcs

jwst.assign_mtwcs.moving_target_wcs.assign_moving_target_wcs(input_models)[source]

Adjust the WCS of a moving target exposure.

Computes the average RA and DEC of a moving target in all exposures in an association and adds a step to each of the WCS pipelines to allow aligning the exposures to the average location of the target.

Parameters:
input_modelsModelLibrary

A collection of data models.

Returns:
ModelLibrary

The modified data models.