ExtendedPsfImageSerializationModel#

class lsst.pipe.tasks.extended_psf.ExtendedPsfImageSerializationModel(*, metadata: dict[str, MetadataValue] = <factory>, butler_info: ~lsst.images.serialization._common.ButlerInfo | None = None, indirect: list[~typing.Any] = <factory>, image: ~lsst.images._image.ImageSerializationModel[TypeVar], variance: ~lsst.images._image.ImageSerializationModel[TypeVar], info: ~lsst.pipe.tasks.extended_psf.extended_psf_image.ExtendedPsfImageInfo, fit: ~lsst.pipe.tasks.extended_psf.extended_psf_fit.ExtendedPsfMoffatFit | ~lsst.pipe.tasks.extended_psf.extended_psf_fit.ExtendedPsfFit)#

Bases: ArchiveTree, Generic

A Pydantic model used to represent a serialized ExtendedPsfImage.

Attributes Summary

bbox

The bounding box of the image.

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Summary

deserialize(archive, *[, bbox])

Deserialize an image from an input archive.

Attributes Documentation

bbox#

The bounding box of the image.

model_config: ClassVar[ConfigDict] = {'ser_json_bytes': 'base64', 'ser_json_inf_nan': 'constants', 'val_json_bytes': 'base64'}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

Methods Documentation

deserialize(archive: InputArchive[Any], *, bbox: Box | None = None) ExtendedPsfImage#

Deserialize an image from an input archive.

Parameters#

archive

Archive to read from.

bbox

Bounding box of a subimage to read instead.