def METHOD_NAME(array: np.ndarray) -> float:
    """The Michelson contrast. Used for sinusoidal patterns. Ranges from 0 to 1.
    .. seealso::
        https://en.wikipedia.org/wiki/Contrast_(vision)#Michelson_contrast
    """
    l_max, l_min = array.max(), array.min()
    return (l_max - l_min) / (l_max + l_min)