createThreshold# lsst.afw.detection.createThreshold(value: SupportsFloat, type: str = 'value', polarity: bool = True) → lsst.afw.detection.Threshold#