def METHOD_NAME(img_left, img_right, disp_range=(0, 240), block_size=11):
    """
    Compute disparity for a fixed disparity range using SGBM
    The image is returned as floating point disparity values
    """
    min_disp = int(disp_range[0])
    num_disp = int(disp_range[1] - disp_range[0])
    # num_disp must be a multiple of 16
    num_disp = ((num_disp + 15) // 16) * 16
    disp_alg = cv2.StereoSGBM_create(numDisparities=num_disp,
                                     minDisparity=min_disp,
                                     uniquenessRatio=10,
                                     blockSize=block_size,
                                     speckleWindowSize=0,
                                     speckleRange=0,
                                     P1=8 * block_size**2,
                                     P2=32 * block_size**2)
    return disp_alg.compute(img_left, img_right).astype('float32') / 16.0