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
- cls
type the class of object to unpickle. Must have a class-level
readFitsmethod taking aMemFileManager.- data
bytes an in-memory representation of the object, compatible with
MemFileManager- size
int the length of
data
- cls
- Returns
- unpickled
cls the object represented by
data
- unpickled