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

Dispersion of the light spot #219

Open
999-x opened this issue Jan 7, 2025 · 4 comments
Open

Dispersion of the light spot #219

999-x opened this issue Jan 7, 2025 · 4 comments

Comments

@999-x
Copy link

999-x commented Jan 7, 2025

Hello, I have a question that I need your help with!
As shown in the figure, the light spot on the detector is displayed, and it can be seen that there is dispersion in the z-direction.
image
Can you directly output a graph of the energy dispersion in the z-direction on the detector?
Similar to the following:
fe89408005119f96d710e9239efad78
Looking forward to your reply!

@kklmn
Copy link
Owner

kklmn commented Jan 7, 2025

Hi,
The colors in the 2D histogram and the 1D positional histograms can be misleading. If we mix two rays of energy E-ΔE and E+ΔE in one histogram bin, the resulting color will be the same as if we mix two rays of the same energy E.
I advise running strictly monochromatic cases at a scanned energy. For each energy you find a z-position and then build your dispersion graph.

@999-x
Copy link
Author

999-x commented Jan 7, 2025

Hi, The colors in the 2D histogram and the 1D positional histograms can be misleading. If we mix two rays of energy E-ΔE and E+ΔE in one histogram bin, the resulting color will be the same as if we mix two rays of the same energy E. I advise running strictly monochromatic cases at a scanned energy. For each energy you find a z-position and then build your dispersion graph.

Hi,thank you for your prompt reply.But i am not proficient in xrt. Do you have any corresponding examples or instructions for me to learn how to set up "running strictly monochromatic cases at a scanned energy" ?

@kklmn
Copy link
Owner

kklmn commented Jan 7, 2025

The example that produced your first graph has 3 cases inside. The second one is a monochromatic case. Just change its energy in a loop within a generator.

@999-x
Copy link
Author

999-x commented Jan 7, 2025

The example that produced your first graph has 3 cases inside. The second one is a monochromatic case. Just change its energy in a loop within a generator.

Thank you for your reply!

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