lsst.pipe.tasks g2c8cee2ce7+cc5eabfb3a
Loading...
Searching...
No Matches
lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidate Class Reference
Inheritance diagram for lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidate:

Public Member Functions

 __init__ (self, Image image, *, Mask|None mask=None, Image|None variance=None, MaskSchema|None mask_schema=None, SkyProjection|None sky_projection=None, dict[str, MetadataValue]|None metadata=None, Image|None psf_kernel_image=None, ExtendedPsfCandidateInfo|None star_info=None)
ExtendedPsfCandidate __getitem__ (self, Box|EllipsisType bbox)
str __str__ (self)
str __repr__ (self)
Image psf_kernel_image (self)
ExtendedPsfCandidateInfo star_info (self)
ExtendedPsfCandidate copy (self)
ExtendedPsfCandidateSerializationModel serialize (self, OutputArchive[Any] archive)

Static Protected Member Functions

type[ExtendedPsfCandidateSerializationModel[P]] _get_archive_tree_type (type[P] pointer_type)

Protected Attributes

Image _psf_kernel_image = psf_kernel_image
ExtendedPsfCandidateInfo _star_info = star_info or ExtendedPsfCandidateInfo()

Detailed Description

A cutout centered on a star, with associated metadata.

Parameters
----------
image : `~lsst.images.Image`
    The main data image for this star cutout.
mask : `~lsst.images.Mask`, optional
    Bitmask that annotates the main image's pixels.
variance : `~lsst.images.Image`, optional
    Per-pixel variance estimates for the image.
mask_schema : `~lsst.images.MaskSchema`, optional
    Schema for the mask, required if a mask is provided.
sky_projection : `~lsst.images.SkyProjection`, optional
    Projection to map pixels to the sky.
metadata : `dict` [`str`, `MetadataValue`], optional
    Additional metadata to associate with this cutout.
psf_kernel_image : `~lsst.images.Image`, optional
    Kernel image of the PSF at the cutout center.
star_info : `ExtendedPsfCandidateInfo`, optional
    Information about the star in the cutout.

Attributes
----------
psf_kernel_image : `~lsst.images.Image`
    Kernel image of the PSF at the cutout center.
star_info : `ExtendedPsfCandidateInfo`
    Information about the star in this cutout.

Definition at line 94 of file extended_psf_candidates.py.

Constructor & Destructor Documentation

◆ __init__()

lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidate.__init__ ( self,
Image image,
* ,
Mask | None mask = None,
Image | None variance = None,
MaskSchema | None mask_schema = None,
SkyProjection | None sky_projection = None,
dict[str, MetadataValue] | None metadata = None,
Image | None psf_kernel_image = None,
ExtendedPsfCandidateInfo | None star_info = None )

Definition at line 124 of file extended_psf_candidates.py.

Member Function Documentation

◆ __getitem__()

ExtendedPsfCandidate lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidate.__getitem__ ( self,
Box | EllipsisType bbox )

Definition at line 148 of file extended_psf_candidates.py.

◆ __repr__()

str lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidate.__repr__ ( self)

Definition at line 167 of file extended_psf_candidates.py.

◆ __str__()

str lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidate.__str__ ( self)

Definition at line 164 of file extended_psf_candidates.py.

◆ _get_archive_tree_type()

type[ExtendedPsfCandidateSerializationModel[P]] lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidate._get_archive_tree_type ( type[P] pointer_type)
staticprotected

Definition at line 215 of file extended_psf_candidates.py.

◆ copy()

ExtendedPsfCandidate lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidate.copy ( self)
Deep-copy the star cutout, metadata, and star info.

Definition at line 185 of file extended_psf_candidates.py.

◆ psf_kernel_image()

Image lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidate.psf_kernel_image ( self)
Kernel image of the PSF at the cutout center.

Definition at line 174 of file extended_psf_candidates.py.

◆ serialize()

ExtendedPsfCandidateSerializationModel lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidate.serialize ( self,
OutputArchive[Any] archive )

Definition at line 198 of file extended_psf_candidates.py.

◆ star_info()

ExtendedPsfCandidateInfo lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidate.star_info ( self)
Return the ExtendedPsfCandidateInfo associated with this star.

Definition at line 181 of file extended_psf_candidates.py.

Member Data Documentation

◆ _psf_kernel_image

Image lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidate._psf_kernel_image = psf_kernel_image
protected

Definition at line 145 of file extended_psf_candidates.py.

◆ _star_info

ExtendedPsfCandidateInfo lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidate._star_info = star_info or ExtendedPsfCandidateInfo()
protected

Definition at line 146 of file extended_psf_candidates.py.


The documentation for this class was generated from the following file: