writeFits

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

Write a single FITS file containing all stamps.

Parameters:
filenamestr

A string indicating the output filename

stampsiterable of BaseStamp

An iterable of Stamp objects

metadataPropertyList

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

type_namestr

Python type name of the StampsBase subclass to use

write_maskbool

Write the mask data to the output file?

write_variancebool

Write the variance data to the output file?

write_archivebool, optional

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