Files
x03da/script/test_iteration.py
2019-11-22 19:20:23 +01:00

19 lines
350 B
Python

#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)