Geometry Functions (photutils.geometry)#

This subpackage provides low-level geometry functions used by aperture photometry to calculate the overlap of aperture shapes with a pixel grid.

These functions are not intended to be used directly by users, but are used by the higher-level photutils.aperture tools.

Functions#

circular_overlap_grid(xmin, xmax, ymin, ...)

Area of overlap between a circle and a pixel grid.

elliptical_overlap_grid(xmin, xmax, ymin, ...)

Area of overlap between an ellipse and a pixel grid.

rectangular_overlap_grid(xmin, xmax, ymin, ...)

Area of overlap between a rectangle and a pixel grid.