OpaqueArchiveMetadata#

class lsst.images.serialization.OpaqueArchiveMetadata(*args, **kwargs)#

Bases: Protocol

Interface for opaque archive metadata.

In addition to implementing the methods defined here, all implementations must be pickleable.

Methods Summary

copy()

Copy, reference, or discard metadata when its holding object is copied.

external_metadata()

Return a read-only view of the metadata carried by this object that is not part of the data model.

subset(bbox)

Copy, reference, or discard metadata when a subset of its its holding object is extracted.

Methods Documentation

copy()#

Copy, reference, or discard metadata when its holding object is copied.

Return type:

Optional[Self]

external_metadata()#

Return a read-only view of the metadata carried by this object that is not part of the data model.

Return type:

ExternalMetadata

subset(bbox)#

Copy, reference, or discard metadata when a subset of its its holding object is extracted.

Parameters:

bbox (Box) – Bounding box of the subset being extracted.

Return type:

Optional[Self]

This page was last modified on .