writeMultipleCellCoaddAsFits

lsst.cell_coadds.writeMultipleCellCoaddAsFits(multiple_cell_coadd: MultipleCellCoadd, filename: str, overwrite: bool = False, metadata: PropertySet | None = None) HDUList

Write a MultipleCellCoadd object to a FITS file.

Parameters:
multiple_cell_coaddMultipleCellCoadd

The multiple cell coadd to write to a FITS file.

filenamestr

The name of the file to write to.

overwritebool, optional

Whether to overwrite the file if it already exists?

metadataPropertySet, optional

Additional metadata to write to the FITS file.

Returns:
hdu_listHDUList

The FITS file as an HDUList.

Notes

Changes to this function that modify the way the file is written to disk must be accompanied with a change to FILE_FORMAT_VERSION.