RoundtripFits#
- class lsst.images.tests.RoundtripFits(original, storage_class=None, recipe=None, **kwargs)#
Bases:
RoundtripBase,Generic- Parameters:
Attributes Summary
The name of the file the object was written to.
The serialization model for this object (
serialization.ArchiveTree).Methods Summary
Attributes Documentation
- filename#
The name of the file the object was written to.
- serialized#
The serialization model for this object (
serialization.ArchiveTree).
Methods Documentation
- get(component=None, storageClass=None, **kwargs)#
Perform a partial read.
- Parameters:
component (
str|None, default:None) – Component to read instead of the main object. This requires the roundtrip to use a butler;pytest.skipis called otherwise. Place calls to this method in a dedicated test function that contains only component-read assertions, so the skip does not suppress unrelated always-run assertions in other test functions.storageClass (
str|None, default:None) – Override storage class name to affect the type returned by the get. Only used if a butler is active.**kwargs (
Any) – Keyword arguments either passed directly toread_archiveor used asparametersfor aget.
- Returns:
Result of the partial read.
- Return type: