Open maltissimo opened 4 years ago
Good discover! It seems that SHADOW BM cannot generate white radiation when the "Exact" calculation is set (as you did). I did not know that. I would have to check the code to see how it works... If you are not very far from the critical energy you should use Calculation Mode=Precomputed. I only used Exact mode for infrared radiation. Ciao!
Hello,
I'm setting up a beamline with a bending magnet source. I was trying to use the Minimum - maximum energy values to check my mono, but it seems that the source produces pretty much one energy only, i.e. something along the lines of 19999.999 eV instead of the selected 20 kev - 25 keV range. I confirmed it via a python script attached downstream the source:
test_beam=in_object_1 en_col = (test_beam._beam.getshonecol(11))
for i in range(0, len(en_col)): if abs(20000 - en_col[i]) >0.001: print("Found one!", en_col[i], i)
It produces no output
I attach here the .ows file for you to check.
Ciao
Matteo
Syrmep1.0.ows.zip