{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / diff / _BaseDiff

class

astropy.io.fits.diff:_BaseDiff

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

Signature

class   _BaseDiff ( a b )

Members

Summary

Base class for all FITS diff objects.

Extended Summary

When instantiating a FITS diff object, the first two arguments are always the two objects to diff (two FITS files, two FITS headers, etc.). Instantiating a _BaseDiff also causes the diff itself to be executed. The returned _BaseDiff instance has a number of attribute that describe the results of the diff operation.

The most basic attribute, present on all _BaseDiff instances, is .identical which is True if the two objects being compared are identical according to the diff method for objects of that type.

Aliases

  • astropy.io.fits.diff._BaseDiff