match_direct_grism_wcs

grizli.prep.match_direct_grism_wcs(direct={}, grism={}, get_fresh_flt=True, run_drizzle=True, xyscale=None)[source]

Match WCS of grism exposures to corresponding direct images

Parameters
directdict

Direct image visit dictionary (product, files)

grismdict

Grism image visit dictionary (product, files)

get_fresh_fltbool

Get fresh versions of the grism exposures without any subsequent modifications

run_drizzlebool

Not used

xyscaleNone, list

Transformation parameters [xshift, yshift, rot, scale]. If not specified, then get from the wcs.log file associated with the direct images

Returns
Nothing, WCS headers updated in the grism FLT files