GroupStarsBase

class photutils.psf.GroupStarsBase(**kwargs)[source]

Bases: object

Deprecated since version 1.9.0: The GroupStarsBase class is deprecated and may be removed in a future version. Use photutils.psf.SourceGrouper instead.

This base class provides the basic interface for subclasses that are capable of classifying stars in groups.

Deprecated since version 1.9.0: The GroupStarsBase class is deprecated and may be removed in a future version. Use photutils.psf.SourceGrouper instead.

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.