LinkedEPSFStar

class photutils.psf.LinkedEPSFStar(stars_list)[source]

Bases: EPSFStars

A class to hold a list of EPSFStar objects for linked stars.

Linked stars are EPSFStar cutouts from different images that represent the same physical star. When building the ePSF, linked stars are constrained to have the same sky coordinates.

Parameters:
stars_listlist of EPSFStar objects

A list of EPSFStar objects for the same physical star. Each EPSFStar object must have a valid wcs_large attribute to convert between pixel and sky coordinates.

Methods Summary

constrain_centers()

Constrain the centers of linked EPSFStar objects (i.e., the same physical star) to have the same sky coordinate.

Methods Documentation

constrain_centers()[source]

Constrain the centers of linked EPSFStar objects (i.e., the same physical star) to have the same sky coordinate.

Only EPSFStar objects that have not been excluded during the ePSF build process will be used to constrain the centers.

The single sky coordinate is calculated as the mean of sky coordinates of the linked stars.