{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / hdu / compressed / _tiled_compression / decompress_image_data_section

function

astropy.io.fits.hdu.compressed._tiled_compression:decompress_image_data_section

source: /astropy/io/fits/hdu/compressed/_tiled_compression.py :282

Signature

def   decompress_image_data_section ( compressed_data compression_type compressed_header bintable image_header first_tile_index last_tile_index )

Summary

Decompress the data in a CompImageHDU.

Parameters

compressed_data : `~astropy.io.fits.FITS_rec`

The compressed data

compression_type : str

The compression algorithm

compressed_header : `~astropy.io.fits.Header`

The header of the compressed binary table

bintable : `~astropy.io.fits.BinTableHDU`

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

first_tile_index : iterable

The indices of the first tile to decompress along each dimension

last_tile_index : iterable

The indices of the last tile to decompress along each dimension

Returns

data : `numpy.ndarray`

The decompressed data array.

Aliases

  • astropy.io.fits.hdu.compressed._tiled_compression.decompress_image_data_section