Fits

class lsst.afw.fits.Fits

Bases: pybind11_object

Attributes Summary

status

Methods Summary

checkCompressedImagePhu(self)

closeFile(self)

countHdus(self)

createEmpty(self)

getFileName(self)

getHdu(self)

getImageCompression(self)

gotoFirstHdu(self)

readImageI(self)

readMetadata(self[, strip])

setHdu(*args, **kwargs)

Overloaded function.

setImageCompression(self, arg0)

writeMetadata(self, arg0)

Attributes Documentation

status

Methods Documentation

checkCompressedImagePhu(self: lsst.afw.fits.Fits) bool
closeFile(self: lsst.afw.fits.Fits) None
countHdus(self: lsst.afw.fits.Fits) int
createEmpty(self: lsst.afw.fits.Fits) None
getFileName(self: lsst.afw.fits.Fits) str
getHdu(self: lsst.afw.fits.Fits) int
getImageCompression(self: lsst.afw.fits.Fits) lsst.afw.fits.ImageCompressionOptions
gotoFirstHdu(self: lsst.afw.fits.Fits) None
readImageI(self: lsst.afw.fits.Fits) numpy.ndarray
readMetadata(self: lsst.afw.fits.Fits, strip: bool = False) lsst.daf.base.PropertyList
setHdu(*args, **kwargs)

Overloaded function.

  1. setHdu(self: lsst.afw.fits.Fits, hdu: int, relative: bool = False) -> None

  2. setHdu(self: lsst.afw.fits.Fits, name: str) -> None

setImageCompression(self: lsst.afw.fits.Fits, arg0: lsst.afw.fits.ImageCompressionOptions) None
writeMetadata(self: lsst.afw.fits.Fits, arg0: lsst.daf.base.PropertySet) None