unreduceFromFits

lsst.afw.fits.unreduceFromFits(cls, data, size)

Unpickle from FITS

Unpack data produced by reduceToFits. This method is used by the pickling framework and should not need to be called from user code.

Parameters:
clstype

the class of object to unpickle. Must have a class-level readFits method taking a MemFileManager.

databytes

an in-memory representation of the object, compatible with MemFileManager

sizeint

the length of data

Returns:
unpickledcls

the object represented by data