MaskPlaneBit#

class lsst.images.MaskPlaneBit(index: int, mask: integer)#

Bases: object

The nested array index and mask value associated with a single mask plane.

Methods Summary

compute(overall_index, stride, mask_type)

Construct a MaskPlaneBit from the overall index of a plane in a MaskSchema and the stride (number of bits per mask array element).

Methods Documentation

classmethod compute(overall_index: int, stride: int, mask_type: type[integer]) MaskPlaneBit#

Construct a MaskPlaneBit from the overall index of a plane in a MaskSchema and the stride (number of bits per mask array element).