A Python package for combining dithered astronomical images into a single image, supporting various kernels and error propagation. Current version is 2.2.0, requires Python >=3.10. Maintenance-led releases from STScI.
pip install drizzleVerified import paths — ran on the pinned version, not inferred.
Minimal drizzling example using synthetic 2x2 images. Adjust WCS parameters for real data.
If upgrading from 1.x, refactor code to remove imports from drizzle.util; use the new I/O agnostic API. For JWST/Roman users, existing code may work; otherwise check pipeline documentation.
Replace imports from drizzle.util with the corresponding public API functions (e.g., cdriz, drizzle.do_drizzle).
Use 'square', 'point', or 'turbo' kernels for flux conservation. If you must use Lanczos, be aware of the warning and consider calibration.
Do not rely on pixfrac with Lanczos. The warning is emitted automatically.
Replace kernel='tophat' with kernel='square'.
Ensure input images are in units of counts per second (cps) or handle exposure time separately.
Import from other drizzle submodules like cdriz or use the main drizzle.do_drizzle. Do not import from drizzle.util.
Run pip install --upgrade drizzle to ensure the C extensions are built. Then use: from drizzle import cdriz
Check the function signature: use positional arguments or check documentation for new argument names like 'fill_value'.
Use kernel='square' (the replacement) or another supported kernel.
No dependency data recorded yet.