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:
- filestrorint
- Path to a file or a file descriptor. 
- datalsst.afw.Imageorlsst.afw.Mask
- Data to be displayed. 
- wcslsst.afw.geom.SkyWcsorNone, optional
- WCS to be written to header to FITS file. 
- titlestr, optional
- If defined, the value to be stored in the - OBJECTheader. Overrides any value found in- metadata.
- metadatalsst.daf.base.PropertySetorNone, optional
- Additional information to be written to FITS header. 
 
- file