PrecompressedImage#
- class lsst.images.fits.PrecompressedImage(header, data)#
Bases:
objectAlready-compressed FITS HDUs that are attached to high-level objects via
FitsOpaqueMetadata, allowing lossy-compressed pixel values to be round-tripped exactly.Methods Summary
from_bintable(hdu)Construct from a binary table HDU.
Methods Documentation
- classmethod from_bintable(hdu)#
Construct from a binary table HDU.
- Parameters:
hdu (
BinTableHDU) – Binary table HDU, typically read from a FITS file opened withdisable_image_compression=True.- Returns:
A
PrecompressedImageinstance.- Return type: