API Documentation¶
drizzle.resample Module¶
The drizzle module defines the Drizzle class, for combining input images into a single output image using the drizzle algorithm.
Functions¶
|
Resample the |
Classes¶
|
A class for managing resampling and co-adding of multiple images onto a common output grid. |
Class Inheritance Diagram¶

drizzle.utils Module¶
Utility functions for computing inputs to the drizzle algorithm.
The functions in this module, such as calc_pixmap and estimate_pixel_scale_ratio, are convenience helpers. They cover common cases, primarily 2D celestial images described by astropy.wcs.WCS or gwcs.WCS objects that follow the APE 14 shared WCS interface, and they also illustrate how drizzle’s inputs can be derived from WCS information.
They are not intended to handle every possible WCS. Coordinate systems, distortion models, projections, bounding-box conventions and frame definitions vary widely, and a general-purpose solution for all of them is outside the scope of this package. If these helpers do not support your WCS objects, or produce results that are inaccurate for your data, compute the required quantities yourself:
a pixel map can be computed by any means and passed directly to drizzle.resample.Drizzle.add_image;
a pixel scale ratio can likewise be computed independently and passed via the
scaleargument of drizzle.resample.Drizzle.add_image.
The core resampling code does not depend on this module.
Functions¶
|
Calculate a discretized on a grid mapping between the pixels of two images using provided WCS of the original ("from") image and the destination ("to") image. |
|
Get 0-based indices of input images that contributed to (resampled) output pixel with coordinates |
|
Compute the ratio of the pixel scale of the "to" WCS at the |
Classes¶
Raised by calc_pixmap when |
|
Issued when |
Class Inheritance Diagram¶
