LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Functions | |
def | checksum (obj, header=None, sumType="MD5") |
Calculate a checksum of an object. More... | |
Variables | |
tuple | exposureTypes = (afwImage.ExposureF, afwImage.ExposureD,) |
tuple | maskedImageTypes = (afwImage.MaskedImageF, afwImage.MaskedImageD,) |
tuple | decoratedImageTypes = (afwImage.DecoratedImageF, afwImage.DecoratedImageD,) |
tuple | imageTypes = (afwImage.ImageF, afwImage.ImageD, afwImage.ImageI,) |
int | PROTOCOL = 2 |
dictionary | sumFunctions |
def lsst.pipe.drivers.checksum.checksum | ( | obj, | |
header = None , |
|||
sumType = "MD5" |
|||
) |
Calculate a checksum of an object.
We have special handling for images (e.g., breaking a MaskedImage into its various components), but the object may be any picklable type.
obj | Object for which to calculate the checksum |
header | FITS header (PropertyList) to update with checksum values, or None |
sumType | Type of checksum to calculate |
Definition at line 24 of file checksum.py.
tuple lsst.pipe.drivers.checksum.decoratedImageTypes = (afwImage.DecoratedImageF, afwImage.DecoratedImageD,) |
Definition at line 12 of file checksum.py.
tuple lsst.pipe.drivers.checksum.exposureTypes = (afwImage.ExposureF, afwImage.ExposureD,) |
Definition at line 10 of file checksum.py.
tuple lsst.pipe.drivers.checksum.imageTypes = (afwImage.ImageF, afwImage.ImageD, afwImage.ImageI,) |
Definition at line 13 of file checksum.py.
tuple lsst.pipe.drivers.checksum.maskedImageTypes = (afwImage.MaskedImageF, afwImage.MaskedImageD,) |
Definition at line 11 of file checksum.py.
int lsst.pipe.drivers.checksum.PROTOCOL = 2 |
Definition at line 15 of file checksum.py.
dictionary lsst.pipe.drivers.checksum.sumFunctions |
Definition at line 18 of file checksum.py.