25def compare_results(egslst, inp_name):
27 energies, counts, uncs = read_csv_spectrum(inp_name+
".surfcount.csv")
29 for e, c
in zip(energies, counts):
31 if not values_close(c, exp, 0.005):
32 return False,
"Count at %f=%f" %(e, c),
"Expected %f" % exp