Morphology (photutils.morphology)#

This subpackage contains tools for measuring morphological properties of objects in an astronomical image.

Functions#

data_properties(data[, mask, background, wcs])

Calculate the morphological properties (and centroid) of a 2D array (e.g., an image cutout of an object) using image moments.

gini(data)

Calculate the Gini coefficient of a 2D array.