GroupStarsBase¶
- class photutils.psf.groupstars.GroupStarsBase[source]¶
Bases:
object
This base class provides the basic interface for subclasses that are capable of classifying stars in groups.
Methods Summary
__call__
(starlist)Classify stars into groups.
group_stars
(starlist)Classify stars into groups.
Methods Documentation
- __call__(starlist)[source]¶
Classify stars into groups.
- Parameters:
- starlist
Table
List of star positions. Columns named as
x_0
andy_0
, which corresponds to the centroid coordinates of the sources, must be provided.
- starlist
- Returns:
- group_starlist
Table
starlist
with an additional column namedgroup_id
whose unique values represent groups of mutually overlapping stars.
- group_starlist
- abstract group_stars(starlist)[source]¶
Classify stars into groups.
- Parameters:
- starlist
Table
List of star positions. Columns named as
x_0
andy_0
, which corresponds to the centroid coordinates of the sources, must be provided.
- starlist
- Returns:
- group_starlist
Table
starlist
with an additional column namedgroup_id
whose unique values represent groups of mutually overlapping stars.
- group_starlist