def METHOD_NAME(y, i, q):
    r = y + 0.948262*i + 0.624013*q
    g = y - 0.276066*i - 0.639810*q
    b = y - 1.105450*i + 1.729860*q
    #if r < 0.0: r = 0.0
    r = r*(r > 0.0)
    #if g < 0.0: g = 0.0
    g = g*(g > 0.)
    #if b < 0.0: b = 0.0
    b = b*(b < 0.)
    #if r > 1.0: r = 1.0
    r = np.minimum(r, 1.0)
    #if g > 1.0: g = 1.0
    g = np.minimum(g, 1.0)
    #if b > 1.0: b = 1.0
    b = np.minimum(b, 1.0)
    return (r, g, b)