ExtendedPsfImageSerializationModel#

class lsst.pipe.tasks.extended_psf.ExtendedPsfImageSerializationModel(*, schema_version: str = '1.0.0', min_read_version: int = 1, 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

MIN_READ_VERSION

SCHEMA_NAME

SCHEMA_VERSION

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

MIN_READ_VERSION: ClassVar[int] = 1#
SCHEMA_NAME: ClassVar[str] = 'extended_psf_image'#
SCHEMA_VERSION: ClassVar[str] = '1.0.0'#
bbox#

The bounding box of the image.

model_config: ClassVar[ConfigDict] = {'json_schema_extra': {'$id': 'https://images.lsst.io/schemas/extended_psf_image-1.0.0', 'title': 'extended_psf_image'}, '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.