ExtendedPsfCandidate#
- class lsst.pipe.tasks.extended_psf.ExtendedPsfCandidate(image: Image, *, mask: Mask | None = None, variance: Image | None = None, mask_schema: MaskSchema | None = None, projection: Projection | None = None, obs_info: ObservationInfo | None = None, metadata: dict[str, MetadataValue] | None = None, psf_kernel_image: Image | None = None, star_info: ExtendedPsfCandidateInfo | None = None)#
Bases:
MaskedImageA cutout centered on a star, with associated metadata.
Parameters#
- image
Image The main data image for this star cutout.
- mask
Mask, optional Bitmask that annotates the main image’s pixels.
- variance
Image, optional Per-pixel variance estimates for the image.
- mask_schema
MaskSchema, optional Schema for the mask, required if a mask is provided.
- projection
Projection, optional Projection to map pixels to the sky.
- obs_info
ObservationInfo, optional Standardized description of visit metadata.
- metadata
dict[str,MetadataValue], optional Additional metadata to associate with this cutout.
- psf_kernel_image
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
Image Kernel image of the PSF at the cutout center.
- star_info
ExtendedPsfCandidateInfo Information about the star in this cutout.
Attributes Summary
Kernel image of the PSF at the cutout center.
Return the ExtendedPsfCandidateInfo associated with this star.
Methods Summary
copy()Deep-copy the star cutout, metadata, and star info.
deserialize(model, archive, *[, bbox])Deserialize an image from an input archive.
serialize(archive)Serialize the masked image to an output archive.
Attributes Documentation
- psf_kernel_image#
Kernel image of the PSF at the cutout center.
- star_info#
Return the ExtendedPsfCandidateInfo associated with this star.
Methods Documentation
- copy() ExtendedPsfCandidate#
Deep-copy the star cutout, metadata, and star info.
- static deserialize(model: ExtendedPsfCandidateSerializationModel[Any], archive: InputArchive[Any], *, bbox: Box | None = None) ExtendedPsfCandidate#
Deserialize an image from an input archive.
Parameters#
- model
A Pydantic model representation of the image, holding references to data stored in the archive.
- archive
Archive to read from.
- bbox
Bounding box of a subimage to read instead.
- serialize(archive: OutputArchive[Any]) ExtendedPsfCandidateSerializationModel#
Serialize the masked image to an output archive.
Parameters#
- archive
Archive to write to.
- image