{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / diff / FITSDiff

class

astropy.io.fits.diff:FITSDiff

source: /astropy/io/fits/diff.py:200

Signature

class FITSDiff(a, b, ignore_hdus = [], ignore_keywords = [], ignore_comments = [], ignore_fields = [], numdiffs = 10, rtol = 0.0, atol = 0.0, ignore_blanks = True, ignore_blank_cards = True)

Members

Summary

Diff two FITS files by filename, or two HDUList objects.

Extended Summary

FITSDiff objects have the following diff attributes:

  • diff_hdu_count: If the FITS files being compared have different numbers of HDUs, this contains a 2-tuple of the number of HDUs in each file.

  • diff_hdus: If any HDUs with the same index are different, this contains a list of 2-tuples of the HDU index and the HDUDiff object representing the differences between the two HDUs.

Aliases

  • astropy.io.fits.FITSDiff

Referenced by