lsst.pipe.tasks gd5638573c2+392ae78cd2
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.

Member Function Documentation

◆ copy()

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

◆ 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.

◆ star_info()

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

The documentation for this class was generated from the following file:
  • python/lsst/pipe/tasks/extended_psf/extended_psf_candidates.py