-
Notifications
You must be signed in to change notification settings - Fork 29
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
Some doubts about the energy setting of X-ray sources #176
Comments
Hi, The meaning of source parameters is explained in the docs.
You set the value of energies field of your source instance. The interpretation of energies depends on the value of distE. In the same example, there are three versions of energy definition:
|
Hello! Thank you for your answer. At the same time, I would like to know how the Takagi Taupin equation is reflected in the code, but I was unable to find it in the code for this example. I hope you can give me some guidance.
Hello! Thank you for your answer. At the same time, I would like to know how the Takagi Taupin equation is reflected in the code, but I was unable to find it in the code for this example. I hope you can give me some guidance. |
If you look at the same compiled doc strings (here), you would see that the link |
First of all, thank you for your reply. Through the document you provided, I may be able to understand the content of the Takagi Taupin equation. But in the example I used, useTT seems to only be equal to True or False. Is it enough to change it to True or False according to my needs? |
Yes. What holds you from trying? |
Thank you for your reply. Currently, I have not yet understood the specific content of this equation. I will try again after understanding the content of the equation. |
Well, the curve will stop changing after certain thickness threshold as it gets closer to "infinitely" thick crystal limit. Try 0.05-0.01mm, you will see the difference. |
Thank you for your reply |
Hello, I'm sorry to bother you. I may need to insert a capillary optical element for simulation. May I ask if there is a model of the optical element capillary in xrt? |
Hi, |
thank you! |
Yes, find the example
Yes, unless it is specifically stated differently, like for undulators where for historical reasons the angular limits are in mrad.
Yes, you can give it a very big value or |
Ok, Thank you for your reply.Thank you so much! |
The horizontal size was set to 0.2/2.35 sigma, which is 0.2 fwhm, and this is what you have in the plot. |
Hello, sorry to bother you. The example I run is 01BD_SourceZCrystalThetaAlpha.py .
I have some doubts about X-ray energy settings and would like to ask for your advice.
The energy circled in the above figure seems to be calculated from the formula in the following figure, only related to lattice spacing and theta.
May I ask what does the calculated energy represent?
The third image is the code for sources_geoms. py, where energies=(defaultenergy,), is it the energy of X-rays?
What is the significance of changing default energy?
How can I set the X-ray energy I need?
I sincerely hope to receive your reply!
The text was updated successfully, but these errors were encountered: