prose.core.source.ExtendedSource.__init__#

ExtendedSource.__init__(region=None, coords=None, peak=0, i=None)#

Extended source (comet, galaxy or lensed source)

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