PrecompressedImage#

class lsst.images.fits.PrecompressedImage(header, data)#

Bases: object

Already-compressed FITS HDUs that are attached to high-level objects via FitsOpaqueMetadata, allowing lossy-compressed pixel values to be round-tripped exactly.

Parameters:

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 with disable_image_compression=True.

Returns:

A PrecompressedImage instance.

Return type:

PrecompressedImage

This page was last modified on .