Comments (4)
@srio what do you think is happening here? I guess we are using rather different values for the attenuation coefficients?
from xraylib.
Yes. It is due to attenuation. The differences should appear in beta and it is due to the absorption cross section.
In XOP we were using absorption due to only photoelectric effect.
In xraylib we discussed this issue many years ago and concluded that it is more accurate to include the total cross section, thus including inelastic and also Rayleigh cross sections.
In OASYS/XOPPY we are also using the same philosophy than in xraylib, so the results in OASYS/f1f2 are different than in XOP/xf1f2. I would suggest to use better OASYS instead XOP. Almost all functionality is there. XOP is not longer maintained.
Depending on the type of calculation you do the xraylib absorption may be overestimated: it consider "absorbed" (in fact: attenuated or removed from the beam) all photons that interact. If your interest is to calculate the power load this is "too much" as there are many photons that may scape and do not contribute to the absorbed energy.
I hope this clarifies the situation.
from xraylib.
Thanks @srio for the clarification! I honestly completely forgot that we ever discussed this!
from xraylib.
@srio Thanks a lot for the clarification! It is useful to help me understand the difference between them. And also thanks @tschoonj to help me get the right answer.
from xraylib.
Related Issues (20)
- xraylib under Debian 11 Bullseye HOT 2
- Python memory leak
- New language bindings for Go and Rust HOT 1
- questions about installation with meson HOT 4
- Cross-compilation issue with prdata HOT 3
- Error returned when extrapolating cross section values HOT 5
- static lib for MS VSC++
- TypeError in python bindings using numpy ints HOT 5
- Difference in #shells between xraylib and xmimsimdata.h5 HOT 3
- EdgeEnergy shell is invalid HOT 2
- Issue with python example xrlexample5.py (numpy: int64 vs int) HOT 2
- How to install xraylib package in win10? HOT 3
- Repository for Win installer can't be reached HOT 2
- lvserver packages offline HOT 1
- The photoelectric cross sections of Hydrogen HOT 3
- can't open xraylib-web, and build php failed HOT 1
- Non-zero return despite error for PM3_auger_cascade_kissel and PM4_auger_cascade_kissel HOT 2
- The value of the photoionization cross section of hydrogen at energies above 1 keV HOT 1
- Compile error HOT 9
- How to cross-compile the xraylib code to used on Android HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xraylib.