Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
output_wcs = out.meta.wcs
fillval = 'INDEF'
insci = blot_data
inwht = None
xmin = xmax = ymin = ymax = 0
uniqid = 1
outsci = driz.outsci*1
outwht = driz.outwht*1
outcon = driz.outcon*1
in_units = 'cps'
from jwst.resample import resample
groups = ModelContainer([wcs_model])
sampler = resample.ResampleData(groups, output=driz)