def match_choice(c, norm, normI, normT, m, chm, rho, beta):
    """
    Checks match criterion
    Compute choice equation
    Discovers best choice

    :param norm: minimum of input and templates
    :param normI: norm of input
        
    :return: returns category choice location
    """
    m[c] = norm / normI
    if m[c] < rho:
        chm[c] = 0
    else:
        chm[c] = norm / (beta + normT)
    return chm.argmax(axis=0)
