thresh_out_x_coords = np.linspace(
        0.5, int(nblocks[0] * increment[0]) - 0.5, thresh_out.shape[0]