bundles / astropy 7.0.1 / astropy / io / fits / diff / RawDataDiff
class
astropy.io.fits.diff:RawDataDiff
source: /astropy/io/fits/diff.py :1147
Signature
class RawDataDiff ( a , b , numdiffs = 10 ) Members
Summary
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.
Extended Summary
ImageDataDiff objects have the following diff attributes:
diff_dimensions: Same as thediff_dimensionsattribute of ImageDataDiff objects. Though the "dimension" of each array is just an integer representing the number of bytes in the data.diff_bytes: Like thediff_pixelsattribute 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_totalanddiff_ratio: Same as ImageDataDiff.
Aliases
-
astropy.io.fits.RawDataDiff