run_driz

drizzlepac.adrizzle.run_driz(imageObjectList, output_wcs, paramDict, single, build, wcsmap=None)[source]

Perform drizzle operation on input to create output. The input parameters originally was a list of dictionaries, one for each input, that matches the primary parameters for an IRAF drizzle task.

This method would then loop over all the entries in the list and run drizzle for each entry.

Parameters required for input in paramDict:

build,single,units,wt_scl,pixfrac,kernel,fillval, rot,scale,xsh,ysh,blotnx,blotny,outnx,outny,data

Parameters:
imageObjectListSequence[~drizzlepac.imgclasses.ImageObject]

Iterable of image objects representing the calibrated input exposures.

output_wcs~drizzlepac.outputimage.OutputWCS

Target WCS definition used to build the output science, weight, and context arrays.

paramDictdict

Drizzle parameter mapping produced by :func:buildDrizParamDict. Expected keys include build, stepsize, coeffs, wcskey, pixfrac, kernel, wt_scl, bits, fillval, maskval, and drizzle-step-specific values such as units and num_cores.

singlebool

True when executing the separate-drizzle step, False for the final-combination step.

buildbool

Controls whether output products are written as multi-extension FITS files. For the separate-drizzle step this is typically forced to False.

wcsmapcallable, optional

Factory returning a WCS mapping callable compatible with cdriz. Defaults to :class:drizzlepac.wcs_functions.WCSMap.