writeFitsImage¶
- lsst.afw.display.writeFitsImage(file: str | int | BytesIO, data: Image | Mask, wcs: SkyWcs | None = None, title: str = '', metadata: PropertySet | None = None) None¶
Write a simple FITS file with no extensions.
- Parameters:
- file
strorint Path to a file or a file descriptor.
- data
lsst.afw.Imageorlsst.afw.Mask Data to be displayed.
- wcs
lsst.afw.geom.SkyWcsorNone, optional WCS to be written to header to FITS file.
- title
str, optional If defined, the value to be stored in the
OBJECTheader. Overrides any value found inmetadata.- metadata
lsst.daf.base.PropertySetorNone, optional Additional information to be written to FITS header.
- file