-
Notifications
You must be signed in to change notification settings - Fork 4
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
Verify the results of stopping power calculations #87
Comments
Looking at https://github.com/libamtrack/library/blob/master/src/AT_StoppingPowerDataPSTAR.c
which is consistent with web GUI plot data and PSTAR webpage database. The only difference may be attributed to interpolation method used to calculate stopping power at 32 MeV and other intermediate points. |
ICRU data, extracted from https://github.com/libamtrack/library/blob/master/src/AT_StoppingPowerDataICRU.c:
Seems to be consistent with PSTAR data and GUI plot data. |
Interpolation and data extraction: ICRU:
PSTAR:
|
For energies between 30 and 50 MeV, libamtrack has PSTAR data for every 5 MeV (5 data points) while ICRU data for every 10 MeV (3 data points). The stopping power for PSTAR for 35 MeV is taken from data points for PSTAR (1.656E+01 MeV/cm2/g) while for ICRU it is being interpolated from 30 and 40 MeV data points. Note that PSTAR value for 35 MeV (1.656E+01 ) is different from average value of 30 and 40 MeV ( 1.876E+01 + 1.488E+01 / 2 = 1.682E+01). The difference is ~1.57%. |
PSTAR webpage uses cubic spline interpolation, while libamtrack uses linear one:
Libamtrack stopping power calculated for 36 MeV protons is |
As described in |
The difference in stopping power prediction is not related to any GUI issue, hence closing in favor of libamtrack/library#25 and libamtrack/library#24 |
Check from where the differences comes from: core libamtrack library or from some GUI features.
The text was updated successfully, but these errors were encountered: