def uvdist2impix(uvdist, imres):
    """
    Convert UV disance to image pixels.

    Parameters
    ----------
    uvdist: float
        UV distance in wavelength
    imres: float
        Angular resolution of the image pixel in radian

    """
    psf_angle = 1. / uvdist
    return psf_angle / imres