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
str
orint
Path to a file or a file descriptor.
- data
lsst.afw.Image
orlsst.afw.Mask
Data to be displayed.
- wcs
lsst.afw.geom.SkyWcs
orNone
, optional WCS to be written to header to FITS file.
- title
str
, optional If defined, the value to be stored in the
OBJECT
header. Overrides any value found inmetadata
.- metadata
lsst.daf.base.PropertySet
orNone
, optional Additional information to be written to FITS header.
- file