EPSFStars#
- class photutils.psf.EPSFStars(stars_list)[source]#
Bases:
object
Class to hold a list of
EPSFStar
and/orLinkedEPSFStar
objects.- Parameters:
- stars_listlist of
EPSFStar
orLinkedEPSFStar
objects A list of
EPSFStar
and/orLinkedEPSFStar
objects.
- stars_listlist of
Attributes Summary
A list of all
EPSFStar
objects 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
EPSFStar
objects stored in this object, including those that comprise linked stars (i.e.,LinkedEPSFStar
), as a flat list.A
ndarray
of 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_stars
x 2).A
ndarray
of the(x, y)
position of all the stars' centers (including linked stars) with respect to the input cutoutdata
array, as a 2D array (n_all_stars
x 2).The total number of
EPSFStar
objects, including all the linked stars withinLinkedEPSFStar
.The total number of
EPSFStar
objects, 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
EPSFStar
objects 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
EPSFStar
objects stored in this object, including those that comprise linked stars (i.e.,LinkedEPSFStar
), as a flat list.
- center_flat#
A
ndarray
of 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_stars
x 2).Note that when
EPSFStars
contains anyLinkedEPSFStar
, thecenter
attribute will be a nested 3D array.
- cutout_center_flat#
A
ndarray
of the(x, y)
position of all the stars’ centers (including linked stars) with respect to the input cutoutdata
array, as a 2D array (n_all_stars
x 2).Note that when
EPSFStars
contains anyLinkedEPSFStar
, thecutout_center
attribute will be a nested 3D array.
- n_all_stars#
The total number of
EPSFStar
objects, including all the linked stars withinLinkedEPSFStar
.Each linked star is included in the count.
- n_good_stars#
The total number of
EPSFStar
objects, 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.