PointSource#

class prose.core.source.PointSource#

Point source (star)

Parameters:
  • region (skimage.measure.RegionProperties, optional) – An skimage RegionProperties containing the source, by default None. Only one of ‘coords’ or ‘region’ must be provided

  • coords (array, optional) – Pixel coordinates of the source, by default None. Only one of ‘coords’ or ‘region’ must be provided

  • peak (float, optional) – maximum pixel value of the source, by default 0

  • i (int, optional) – index identifier of the source, by default None

Methods

__init__([region, coords, peak, i])

Point source (star)

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.

plot([radius])

Plot circle centered 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

co_vertexes

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

eccentricity

vertexes

Coordinates of the Ellipse vertexes, endpoints of the major axis