Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help needed! Clarification on the Meaning and Origin of eAxesFlat Values in 07_AnalyzerBent2D.py #178

Open
000hahaha000 opened this issue May 30, 2024 · 2 comments

Comments

@000hahaha000
Copy link

Dear experts, could you please explain the significance of the values in the variable eAxesFlat within the file 07_AnalyzerBent2D.py located in the examples/07_AnalyzerBent2D/ directory? Additionally, how are these values derived or determined? THX!!!

@kklmn
Copy link
Owner

kklmn commented May 30, 2024

Hi,

This example is rather complex and was prepared to study various effects on energy resolution. In particular, it considers these cases: Jonan/Johansson, diced/continuously-bent, various Bragg angles and asymmetry angles, various crystals and their orders.
For a particular fixed set of these parameters the script can be made much simpler. In the given design of this study, eAxesFlat gives bandwidth of the flat (in energy) source that is used in the first of the three ray-tracing runs. It is used like this: eAxesFlat[ithetaDegree][icrystal]. The values were found empirically by first setting the band much wider and then matching it to the reflected band.

@000hahaha000
Copy link
Author

000hahaha000 commented May 30, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants