apply_tweak_shifts

grizli.prep.apply_tweak_shifts(wcs_ref, shift_dict, grism_matches={}, verbose=True, log=True)[source]

Apply derived shifts to exposure WCS

Parameters
wcs_refWCS

Reference WCS against where shifts were computed

shift_dictdict

Dictionary of shift information

>>> shift_dict[file] = [xshift, yshift, rot, scale]
grism_matchesdict

Dictionary defining associated grism / direct image exposures

verbosebool

Print status information to the console

logbool

Log arguments to grizli.utils.LOGFILE

Returns
Nothing, FLT image WCS are modified in place