def d_prime(CF):
    d = []
    for i in range(len(CF[0][1])):
        H = (CF[0][(i, i)] / sum(CF[0][:, i]))
        tempCF = scipy.delete(CF[0], i, 1)
        F = (sum(tempCF[i, :]) / sum(tempCF))
        d.append((norm.ppf(H) - norm.ppf(F)))
    return d
def d_prime(CF):
    d = []
    for i in range(len(CF[0][1])):
        H = (CF[0][(i, i)] / sum(CF[0][:, i]))
        tempCF = scipy.delete(CF[0], i, 1)
        F = (sum(tempCF[i, :]) / sum(tempCF))
        d.append((norm.ppf(H) - norm.ppf(F)))
    return d