lsst.afw.fits

lsst.afw.fits provides utilities for reading and writing FITS files. It includes support for pickling Python objects as FITS.

Contributing

lsst.afw.fits is developed at https://github.com/lsst/afw. You can find Jira issues for this module under the afw component.

Python API reference

lsst.afw.fits Package

Functions

combineMetadata(first, second)

compressionAlgorithmFromString(arg0)

compressionAlgorithmToString(arg0)

getAllowImageCompression()

imageCompressionDisabled()

Create a context where FITS image compression is disabled.

makeLimitedFitsHeader(metadata, excludeNames)

readMetadata(fileName, hdu, strip)

reduceToFits(obj)

Pickle to FITS

scalingAlgorithmFromString(arg0)

scalingAlgorithmToString(arg0)

setAllowImageCompression(allow)

unreduceFromFits(cls, data, size)

Unpickle from FITS

Classes

Fits

ImageCompressionOptions

ImageScale

ImageScalingOptions

ImageWriteOptions

MemFileManager