add_checksum(self, when=None, override_datasum=False, checksum_keyword='CHECKSUM', datasum_keyword='DATASUM')
For testing purposes, first call add_datasum
with a when
argument, then call add_checksum
with a when
argument and override_datasum
set to :None:None:`True`
. This will provide consistent comments for both cards and enable the generation of a CHECKSUM
card with a consistent value.
comment string for the cards; by default the comments will represent the time when the checksum was calculated
add the CHECKSUM
card only
The name of the header keyword to store the checksum value in; this is typically 'CHECKSUM' per convention, but there exist use cases in which a different keyword should be used
See checksum_keyword
Add the CHECKSUM
and DATASUM
cards to this HDU with the values set to the checksum calculated for the HDU and the data respectively. The addition of the DATASUM
card may be overridden.
The following pages refer to to this document either explicitly or contain code examples using this.
astropy.io.fits.hdu.base._ValidHDU.add_checksum
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