def imxy2kxy(x, y, x0, y0, fx, fy):
    """
    Conversion from Cartesian coordinate in binned image (x, y) to momentum coordinates (kx, ky).

    **Parameters**\n
    x, y: numeric, numeric
        Components of the Cartesian coordinates.
    x0, y0: numeric, numeric
        Origins of the Cartesian coordinates.
    fx, fy: numeric numeric
        Numerical scaling in the conversion.
    """

    kx = fx * (x - x0)
    ky = fy * (y - y0)

    return (kx, ky)