diff --git a/script/test_iteration.py b/script/test_iteration.py new file mode 100644 index 00000000..afabb9ee --- /dev/null +++ b/script/test_iteration.py @@ -0,0 +1,19 @@ +#energy/intergration time dict + +energies = [(450,{"pass":20, "time":1.}), + (2000,{"pass":20, "time":1.}), + ] + +AU_CENTER = 4.5 +AS_CENTER = 42.5 + +for e,e_dict in energies: + pass_energy = e_dict["pass"] + time = e_dict["time"] + photon_energy = float(e) + + print(photon_energy) + print(time) + print(pass_energy) + + \ No newline at end of file