Elliptical Isophote Fitting (photutils.isophote)#

This subpackage contains tools for fitting elliptical isophotes to galaxy images.

Functions#

build_ellipse_model(shape, isolist[, fill, ...])

Build a model elliptical galaxy image from a list of isophotes.

first_and_second_harmonic_function(phi, c)

Compute the harmonic function value used to calculate the corrections for ellipse fitting.

fit_first_and_second_harmonics(phi, intensities)

Fit the first and second harmonic function values to a set of (angle, intensity) pairs.

fit_upper_harmonic(phi, intensities, order)

Fit upper harmonic function to a set of (angle, intensity) pairs.

Classes#

Ellipse(image[, geometry, threshold])

Class to fit elliptical isophotes to a galaxy image.

EllipseFitter(sample)

Class to fit ellipses.

EllipseGeometry(x0, y0, sma, eps, pa[, ...])

Container class to store parameters for the geometry of an ellipse.

EllipseSample(image, sma[, x0, y0, astep, ...])

Class to sample image data along an elliptical path.

Isophote(sample, niter, valid, stop_code)

Container class to store the results of single isophote fit.

IsophoteList(iso_list)

Container class that provides the same attributes as the Isophote class, but for a list of isophotes.

Class Inheritance Diagram#

Inheritance diagram of photutils.isophote.ellipse.Ellipse, photutils.isophote.fitter.EllipseFitter, photutils.isophote.geometry.EllipseGeometry, photutils.isophote.sample.EllipseSample, photutils.isophote.isophote.Isophote, photutils.isophote.isophote.IsophoteList