ExtendedPsfCandidatesSerializationModel#

class lsst.pipe.tasks.extended_psf.ExtendedPsfCandidatesSerializationModel(*, 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>, candidates: list[~lsst.pipe.tasks.extended_psf.extended_psf_candidates.ExtendedPsfCandidateSerializationModel[TypeVar]] = <factory>)#

Bases: ArchiveTree, Generic

A Pydantic model to represent serialized ExtendedPsfCandidates.

Attributes Summary

MIN_READ_VERSION

SCHEMA_NAME

SCHEMA_VERSION

model_config

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

Methods Summary

deserialize(archive)

Return the in-memory object that was serialized to this tree.

Attributes Documentation

MIN_READ_VERSION: ClassVar[int] = 1#
SCHEMA_NAME: ClassVar[str] = 'extended_psf_candidates'#
SCHEMA_VERSION: ClassVar[str] = '1.0.0'#
model_config: ClassVar[ConfigDict] = {'json_schema_extra': {'$id': 'https://images.lsst.io/schemas/extended_psf_candidates-1.0.0', 'title': 'extended_psf_candidates'}, '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]) ExtendedPsfCandidates#

Return the in-memory object that was serialized to this tree.

Parameters#

archive

The input archive to read from.

**kwargs

Additional keyword arguments specific to this type.

Raises#

~lsst.images.serialization.InvalidParameterError

Raised for unsupported **kwargs.

Notes#

Subclass implementations may take additional keyword-only arguments. Callers that invoke this method without knowing what those might be should catch TypeError and re-raise as InvalidParameterError if they pass additional keyword arguments.