reduceToFits#

lsst.afw.fits.reduceToFits(obj)#

Pickle to FITS

Intended to be used by the __reduce__ method of a class.

Parameters#

obj

any object with a writeFits method taking a MemFileManager and possibly an CompressionOptions.

Returns#

reducedtuple [callable, tuple]

a tuple in the format returned by __reduce__