MaskPlaneBit#
- class lsst.images.MaskPlaneBit(index: int, mask: integer)#
Bases:
objectThe nested array index and mask value associated with a single mask plane.
Methods Summary
compute(overall_index, stride, mask_type)Construct a
MaskPlaneBitfrom the overall index of a plane in aMaskSchemaand 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
MaskPlaneBitfrom the overall index of a plane in aMaskSchemaand the stride (number of bits per mask array element).Parameters#
- overall_index
Index of the plane across the whole schema.
- stride
Number of mask bits per array element.
- mask_type
Integer dtype of the mask array elements.