ExtendedSource#

class prose.core.source.ExtendedSource[source]#

Extended source (comet, galaxy or lensed source)

Methods

__init__([a, b, orientation, coords, peak, ...])

annulus([r0, r1, scale])

aperture([r, scale])

centroid_isophote()

centroid_max()

circular_annulus(r0, r1[, scale])

circular_aperture(r[, scale])

photutils.aperture.CircularAperture centered on the source

copy()

Return a copy of the Source

elliptical_annulus(r0, r1[, scale])

elliptical_aperture(r[, scale])

photutils.aperture.EllipticalAperture centered on the source

fit_isophotes([debug])

Fit a photutils.isophote.Ellipse to the source.

from_region(region[, keep_region])

Source from region

plot([radius])

Plot Ellipse on source

plot_circle(radius[, c, ax, label, fontsize])

Plot a circle centered on source

plot_ellipse([a, c, ax, label, fontsize])

Plot an ellipse centered on source, with semi-major/minor length defined by the source itself

rectangular_annulus(r0, r1[, scale])

rectangular_aperture(r[, scale])

Attributes

a

Semi-major axis of the source

area

Area of the source as a*b

b

Semi-minor axis of the source

co_vertexes

Coordinates of the Ellipse co-vertexes, endpoints of the minor axis

coords

(x,y) pixel coordinates of the source

discarded

Whether source is discarded

eccentricity

Eccentricity of the source

i

Index of the source

orientation

Orientation of the source in radians

peak

Peak ADU value of the source

vertexes

Coordinates of the Ellipse vertexes, endpoints of the major axis