ReadResult#
- class lsst.images.fits.ReadResult(deserialized: T, metadata: dict[str, MetadataValue], butler_info: ButlerInfo | None)#
Bases:
NamedTuple,GenericStruct used as the return value for
read.Attributes Summary
Butler provenance information for the dataset this file backs.
The deserialized object itself.
Additional flexible metadata stored with the object.
Methods Summary
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes Documentation
- butler_info: ButlerInfo | None#
Butler provenance information for the dataset this file backs.
- deserialized: T#
The deserialized object itself.
- metadata: dict[str, MetadataValue]#
Additional flexible metadata stored with the object.
Methods Documentation
- count(value, /)#
Return number of occurrences of value.
- index(value, start=0, stop=9223372036854775807, /)#
Return first index of value.
Raises ValueError if the value is not present.