lsst.meas.algorithms.writeFits(filename, stamps, metadata, type_name, write_mask, write_variance, write_archive=False)

Write a single FITS file containing all stamps.

filename : str

A string indicating the output filename

stamps : iterable of BaseStamp

An iterable of Stamp objects

metadata : PropertyList

A collection of key, value metadata pairs to be written to the primary header

type_name : str

Python type name of the StampsBase subclass to use

write_mask : bool

Write the mask data to the output file?

write_variance : bool

Write the variance data to the output file?

write_archive : bool, optional

Write an archive to store Persistables along with each stamp? Default: False.