MaskPlane#

class lsst.images.MaskPlane(name: str, description: str)#

Bases: object

Name and description of a single plane in a mask array.

Methods Summary

read_legacy(header)

Read mask plane descriptions written by lsst.afw.image.Mask.writeFits.

Methods Documentation

classmethod read_legacy(header: Header) dict[str, int]#

Read mask plane descriptions written by lsst.afw.image.Mask.writeFits.

Parameters#

header

FITS header.

Returns#

dict [str, int]

A dictionary mapping mask plane name to integer bit index.