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:
- filename
str
A string indicating the output filename
- stampsiterable 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
.
- filename