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 ImageWriteOptions.

Returns:
reduced : tuple [callable, tuple]

a tuple in the format returned by __reduce__