22 __all__ = [
"makeBitMask"]
28 """Generate a bit mask consisting of ORed together Mask bit planes 30 @deprecated use afwImage.Mask.getPlaneBitMask(maskPlaneNameList) instead. 32 @input[in] maskPlaneNameList: list of mask plane names 33 @input[in] doInvert: if True then invert the result 35 @return a bit mask consisting of the named bit planes ORed together (with the result possibly inverted) 37 bitMask = afwImage.Mask.getPlaneBitMask(maskPlaneNameList)
39 bitMask = (2**afwImage.Mask.getNumPlanesMax() - 1) - bitMask
def makeBitMask(maskPlaneNameList, doInvert=False)