-
Notifications
You must be signed in to change notification settings - Fork 12
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
Can you provide some guidance on the spectrum modeling? #109
Comments
@lc82111, I assume you've seen the demo scripts here, here, and here. Modeling the spectra involves three major components:
The XrayPhysics library provides models for all three of these. The hardest one to get right is the detector response because vendors don't always disclose details about how the x-ray detector is constructed. For example, the materials used in the front face of the detector (which is usually plastic and/ or aluminum) must be included in item (2) above, the x-ray filters. The best way to model the detector response is with a Monte Carlo simulation, but this is very difficult to do. So here are the main components you will need to model each of the items above X-ray Source Spectra X-ray Filters Detector Response If you get all of these specified accurately and you employ all the correction algorithms, you should be able to remove most of the artifacts. If you goal is absolute quantitative accuracy, then you will want to calibrate your spectra by scanning well-known references and tuning the spectra model until the model matches the measurement. I will add spectral calibration algorithms to LEAP sometime in the future. |
I am on the work to convert BHC example into native c++ with xrayphysics library. And comments are helpful for me too. |
What questions do you guys have? |
Originally posted by @lc82111 in #71 (comment)
The text was updated successfully, but these errors were encountered: