{ } Raw JSON

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

function

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

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

Signature

def   _finalize_array ( tile_buffer * bitpix tile_shape algorithm lossless )

Summary

Convert a buffer to an array.

Extended Summary

This is a helper function which takes a raw buffer (as output by .decode) and translates it into a numpy array with the correct dtype, endianness and shape.

Aliases

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