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:
starlistTable

List of star positions. Columns named as x_0 and y_0, which corresponds to the centroid coordinates of the sources, must be provided.

Returns:
group_starlistTable

starlist with an additional column named group_id whose unique values represent groups of mutually overlapping stars.

abstract group_stars(starlist)[source]

Classify stars into groups.

Parameters:
starlistTable

List of star positions. Columns named as x_0 and y_0, which corresponds to the centroid coordinates of the sources, must be provided.

Returns:
group_starlistTable

starlist with an additional column named group_id whose unique values represent groups of mutually overlapping stars.