decompress_image_data_section#

astropy.io.fits.hdu.compressed._tiled_compression.decompress_image_data_section(compressed_data, compression_type, compressed_header, bintable, first_tile_index, last_tile_index)[source]#

Decompress the data in a CompImageHDU.

Parameters:
compressed_dataFITS_rec

The compressed data

compression_typestr

The compression algorithm

compressed_headerHeader

The header of the compressed binary table

bintableBinTableHDU

The binary table HDU, used to access the raw heap data

first_tile_indexiterable

The indices of the first tile to decompress along each dimension

last_tile_indexiterable

The indices of the last tile to decompress along each dimension

Returns:
datanumpy.ndarray

The decompressed data array.