{ } Raw JSON

bundles / astropy latest / astropy / io / fits / hdu / compressed / _tiled_compression / _compress_tile

function

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

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

Signature

def   _compress_tile ( buf * algorithm : str ** settings )

Summary

Compress the buffer of a tile using the given compression algorithm.

Parameters

buf

The decompressed buffer to be compressed.

algorithm

A supported compression algorithm.

settings

Any parameters for the given compression algorithm

Aliases

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