{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / hdu / base / _ValidHDU / verify_checksum

function

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

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

Signature

def   verify_checksum ( self )

Summary

Verify that the value in the CHECKSUM keyword matches the value calculated for the current HDU CHECKSUM.

Returns

valid : int
  • 0 - failure

  • 1 - success

  • 2 - no CHECKSUM keyword present

Aliases

  • astropy.io.fits.convenience._ValidHDU.verify_checksum