Script execution

This commit is contained in:
gac-x03da
2019-11-22 19:20:23 +01:00
parent 921bffe3fb
commit 4fd548eae6

19
script/test_iteration.py Normal file
View File

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