chi2 = list() Ys = list() alphas = list() for pop in fitResults: chi2.append(pop[0]) Ys.append((pop[1][0][1], pop[1][1][1])) alphas.append((pop[1][0][2], pop[1][1][2])) chi2 = np.array(chi2) Ys = np.array(Ys) alphas = np.array(alphas)