Skip to main content
Ctrl+K
Astropy
  • About
    • About Astropy
    • Code of Conduct
    • Acknowledging & Citing
    • History
  • Documentation
    • astropy
    • asdf-astropy
    • astropy-healpix
    • astroquery
    • ccdproc
    • photutils
    • regions
    • reproject
    • specreduce
    • specutils
  • Get Help
  • Contribute
  • Affiliated Packages
  • Team
  • GitHub
  • About ▾
    • About Astropy
    • Code of Conduct
    • Acknowledging & Citing
    • History
  • Documentation ▾
    • astropy
    • asdf-astropy
    • astropy-healpix
    • astroquery
    • ccdproc
    • photutils
    • regions
    • reproject
    • specreduce
    • specutils
  • Get Help
  • Contribute
  • Affiliated Packages
  • Team
  • GitHub
Logo image

photutils 3.0.1.dev39+g9088d2996

  • Getting Started
    • Installation
    • Overview
    • Importing from Photutils
    • Pixel Coordinate Conventions
    • Performance Tips
    • Citing Photutils
  • User Guide
    • Background Estimation (photutils.background)
    • Centroids (photutils.centroids)
    • Point-like Source Detection (photutils.detection)
    • General Source Detection and Extraction (photutils.segmentation)
    • Image Segmentation (photutils.segmentation)
    • Morphological Properties (photutils.morphology)
    • Aperture Photometry (photutils.aperture)
    • PSF Photometry (photutils.psf)
    • Building an effective Point Spread Function (ePSF)
    • Source Grouping
    • PSF Matching (photutils.psf_matching)
    • Radial Profiles (photutils.profiles)
    • Curves of Growth (photutils.profiles)
    • Elliptical Isophote Analysis (photutils.isophote)
      • Isophote Frequently Asked Questions
    • Datasets and Simulation (photutils.datasets)
    • Utility Functions (photutils.utils)
    • Geometry Functions (photutils.geometry)
  • API Reference
    • Aperture Photometry (photutils.aperture)
      • aperture_photometry
      • aperture_to_region
      • region_to_aperture
      • Aperture
      • ApertureMask
      • ApertureStats
      • BoundingBox
      • CircularAnnulus
      • CircularAperture
      • CircularMaskMixin
      • EllipticalAnnulus
      • EllipticalAperture
      • EllipticalMaskMixin
      • PixelAperture
      • RectangularAnnulus
      • RectangularAperture
      • RectangularMaskMixin
      • SkyAperture
      • SkyCircularAnnulus
      • SkyCircularAperture
      • SkyEllipticalAnnulus
      • SkyEllipticalAperture
      • SkyRectangularAnnulus
      • SkyRectangularAperture
    • Backgrounds (photutils.background)
      • Background2D
      • BackgroundBase
      • BackgroundRMSBase
      • BiweightLocationBackground
      • BiweightScaleBackgroundRMS
      • BkgIDWInterpolator
      • BkgZoomInterpolator
      • LocalBackground
      • MADStdBackgroundRMS
      • MMMBackground
      • MeanBackground
      • MedianBackground
      • ModeEstimatorBackground
      • SExtractorBackground
      • StdBackgroundRMS
    • Centroids (photutils.centroids)
      • centroid_1dg
      • centroid_2dg
      • centroid_com
      • centroid_quadratic
      • centroid_sources
      • CentroidQuadratic
    • Datasets and Simulation (photutils.datasets)
      • apply_poisson_noise
      • get_path
      • load_irac_psf
      • load_simulated_hst_star_image
      • load_spitzer_catalog
      • load_spitzer_image
      • load_star_image
      • make_100gaussians_image
      • make_4gaussians_image
      • make_gwcs
      • make_model_image
      • make_model_params
      • make_noise_image
      • make_random_models_table
      • make_wcs
      • params_table_to_models
    • Point-like Source Detection (photutils.detection)
      • find_peaks
      • DAOStarFinder
      • IRAFStarFinder
      • StarFinder
      • StarFinderBase
      • StarFinderCatalogBase
    • Geometry Functions (photutils.geometry)
      • circular_overlap_grid
      • elliptical_overlap_grid
      • rectangular_overlap_grid
    • Elliptical Isophote Analysis (photutils.isophote)
      • build_ellipse_model
      • first_and_second_harmonic_function
      • fit_first_and_second_harmonics
      • fit_upper_harmonic
      • Ellipse
      • EllipseFitter
      • EllipseGeometry
      • EllipseSample
      • Isophote
      • IsophoteList
    • Morphological Properties (photutils.morphology)
      • data_properties
      • gini
    • Profiles (photutils.profiles)
      • CurveOfGrowth
      • EllipticalCurveOfGrowth
      • EnsquaredCurveOfGrowth
      • ProfileBase
      • RadialProfile
    • PSF Photometry (photutils.psf)
      • decode_psf_flags
      • extract_stars
      • fit_2dgaussian
      • fit_fwhm
      • grid_from_epsfs
      • make_psf_model
      • make_psf_model_image
      • stdpsf_reader
      • webbpsf_reader
      • AiryDiskPSF
      • CircularGaussianPRF
      • CircularGaussianPSF
      • CircularGaussianSigmaPRF
      • EPSFBuildResult
      • EPSFBuilder
      • EPSFFitter
      • EPSFStar
      • EPSFStars
      • GaussianPRF
      • GaussianPSF
      • GriddedPSFModel
      • GriddedPSFModelRead
      • ImagePSF
      • IterativePSFPhotometry
      • LinkedEPSFStar
      • MoffatPSF
      • PSFPhotometry
      • STDPSFGrid
      • SourceGrouper
      • SourceGroups
    • PSF Matching (photutils.psf_matching)
      • create_matching_kernel
      • make_kernel
      • make_wiener_kernel
      • resize_psf
      • CosineBellWindow
      • HanningWindow
      • SplitCosineBellWindow
      • TopHatWindow
      • TukeyWindow
    • Image Segmentation (photutils.segmentation)
      • deblend_sources
      • detect_sources
      • detect_threshold
      • make_2dgaussian_kernel
      • Segment
      • SegmentationImage
      • SourceCatalog
      • SourceFinder
    • Utility Functions (photutils.utils)
      • calc_total_error
      • circular_footprint
      • make_random_cmap
      • CutoutImage
      • ImageDepth
      • NoDetectionsWarning
      • ShepardIDWInterpolator
  • Development
    • Reporting Issues and Contributing
    • Contributors
    • Package Release Instructions
    • License
  • Release Notes
    • Changelog
    • What’s New in Photutils 3.1?
    • What’s New in Photutils 3.0?
    • What’s New in Photutils 2.3?
    • What’s New in Photutils 2.2?
    • What’s New in Photutils 2.1?
    • What’s New in Photutils 2.0?
    • What’s New in Photutils 1.13?
    • What’s New in Photutils 1.12?
    • What’s New in Photutils 1.11?
    • What’s New in Photutils 1.10?
    • What’s New in Photutils 1.9?
    • What’s New in Photutils 1.8?
    • What’s New in Photutils 1.7?
    • What’s New in Photutils 1.6?
    • What’s New in Photutils 1.5?
    • What’s New in Photutils 1.4?
    • What’s New in Photutils 1.3?
    • What’s New in Photutils 1.2?
    • What’s New in Photutils 1.1?
  • API Reference
  • Morphological Properties (photutils.morphology)

Morphological Properties (photutils.morphology)#

Subpackage containing 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[, mask])

Calculate the Gini coefficient of an array.

User Guide#

Morphological Properties (photutils.morphology)

previous

IsophoteList

next

data_properties

On this page
  • Functions
  • User Guide

© Copyright 2011-2026, Photutils Developers.

Code of Conduct

Updated on 13 May 2026 , built with Sphinx 9.1.0