EPSFStars#
- class photutils.psf.EPSFStars(stars_list)[source]#
Bases:
objectClass to hold a list of
EPSFStarand/orLinkedEPSFStarobjects.- Parameters:
- stars_listlist of
EPSFStarorLinkedEPSFStarobjects A list of
EPSFStarand/orLinkedEPSFStarobjects.
- stars_listlist of
Attributes Summary
A list of all
EPSFStarobjects stored in this object that have not been excluded from fitting, including those that comprise linked stars (i.e.,LinkedEPSFStar), as a flat list.A list of all
EPSFStarobjects stored in this object, including those that comprise linked stars (i.e.,LinkedEPSFStar), as a flat list.A
ndarrayof the(x, y)position of all the stars' centers (including linked stars) with respect to the original (large) image (not the cutout image) as a 2D array (n_all_starsx 2).A
ndarrayof the(x, y)position of all the stars' centers (including linked stars) with respect to the input cutoutdataarray, as a 2D array (n_all_starsx 2).The total number of
EPSFStarobjects, including all the linked stars withinLinkedEPSFStar.The total number of
EPSFStarobjects, including all the linked stars withinLinkedEPSFStar, that have not been excluded from fitting.The total number of stars.
Attributes Documentation
- all_good_stars#
A list of all
EPSFStarobjects stored in this object that have not been excluded from fitting, including those that comprise linked stars (i.e.,LinkedEPSFStar), as a flat list.
- all_stars#
A list of all
EPSFStarobjects stored in this object, including those that comprise linked stars (i.e.,LinkedEPSFStar), as a flat list.
- center_flat#
A
ndarrayof the(x, y)position of all the stars’ centers (including linked stars) with respect to the original (large) image (not the cutout image) as a 2D array (n_all_starsx 2).Note that when
EPSFStarscontains anyLinkedEPSFStar, thecenterattribute will be a nested 3D array.
- cutout_center_flat#
A
ndarrayof the(x, y)position of all the stars’ centers (including linked stars) with respect to the input cutoutdataarray, as a 2D array (n_all_starsx 2).Note that when
EPSFStarscontains anyLinkedEPSFStar, thecutout_centerattribute will be a nested 3D array.
- n_all_stars#
The total number of
EPSFStarobjects, including all the linked stars withinLinkedEPSFStar.Each linked star is included in the count.
- n_good_stars#
The total number of
EPSFStarobjects, including all the linked stars withinLinkedEPSFStar, that have not been excluded from fitting.Each non-excluded linked star is included in the count.
- n_stars#
The total number of stars.
A linked star is counted only once.