lsst.afw  14.0-58-g91bfccb15
Functions
lsst.afw.fits.pickleFits Namespace Reference

Functions

def reduceToFits (obj)
 
def unreduceFromFits (cls, data, size)
 

Function Documentation

◆ reduceToFits()

def lsst.afw.fits.pickleFits.reduceToFits (   obj)
Pickle to FITS

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

Assumes the existence of a "writeFits" method on the object.

Definition at line 6 of file pickleFits.py.

◆ unreduceFromFits()

def lsst.afw.fits.pickleFits.unreduceFromFits (   cls,
  data,
  size 
)
Unpickle from FITS

Unpacks data produced by reduceToFits.

Assumes the existence of a "readFits" method on the object.

Definition at line 24 of file pickleFits.py.