ImageDataDiff
objects have the following diff attributes:
diff_dimensions
: Same as the diff_dimensions
attribute of ImageDataDiff
objects. Though the "dimension" of each array is just an integer representing the number of bytes in the data.
diff_bytes
: Like the diff_pixels
attribute of ImageDataDiff
objects, but renamed to reflect the minor semantic difference that these are raw bytes and not pixel values. Also the indices are integers instead of tuples.
diff_total
and diff_ratio
: Same as ImageDataDiff
.
RawDataDiff
is just a special case of ImageDataDiff
where the images are one-dimensional, and the data is treated as a 1-dimensional array of bytes instead of pixel values. This is used to compare the data of two non-standard extension HDUs that were not recognized as containing image or table data.
The following pages refer to to this document either explicitly or contain code examples using this.
astropy.io.fits.diff.RawDataDiff
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