{ } Raw JSON

bundles / astropy latest / astropy / io / fits / hdu / base / _ValidHDU / _char_encode

function

astropy.io.fits.hdu.base:_ValidHDU._char_encode

source: /astropy/io/fits/hdu/base.py :1515

Signature

def   _char_encode ( self value )

Summary

Encodes the checksum value using the algorithm described in SPR section A.7.2 and returns it as a 16 character string.

Parameters

value

a checksum

Returns

: ascii encoded checksum

Aliases

  • astropy.io.fits.convenience._ValidHDU._char_encode