HDUDiff
objects have the following diff attributes:
diff_extnames
: If the two HDUs have different EXTNAME values, this contains a 2-tuple of the different extension names.
diff_extvers
: If the two HDUS have different EXTVER values, this contains a 2-tuple of the different extension versions.
diff_extlevels
: If the two HDUs have different EXTLEVEL values, this contains a 2-tuple of the different extension levels.
diff_extension_types
: If the two HDUs have different XTENSION values, this contains a 2-tuple of the different extension types.
diff_headers
: Contains a HeaderDiff
object for the headers of the two HDUs. This will always contain an object--it may be determined whether the headers are different through diff_headers.identical
.
diff_data
: Contains either a ImageDataDiff
, TableDataDiff
, or RawDataDiff
as appropriate for the data in the HDUs, and only if the two HDUs have non-empty data of the same type (RawDataDiff
is used for HDUs containing non-empty data of an indeterminate type).
Diff two HDU objects, including their headers and their data (but only if both HDUs contain the same type of data (image, table, or unknown).
The following pages refer to to this document either explicitly or contain code examples using this.
astropy.io.fits.diff.FITSDiff
astropy.io.fits.diff.HDUDiff
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them