-
Notifications
You must be signed in to change notification settings - Fork 7
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
1254 Unify output units #702
Conversation
AI-Generated Summary: This pull request consists of several patches, it introduces rescaling factor for units and applies it in the code. The method |
AI-Generated Summary: This pull request introduces several changes involving unit rescaling and test updates in the FLUKA reader of the pymchelper code repository. The main body of changes include updates to the scoring unit return functions, incorporating a rescaling factor to adjust the units accordingly. Certain energies expressed in GeV are rescaled to MeV and Dose from GeV/g to MeV/g and Gy. Additionally, a new utilization of this rescaling factor is introduced in the parse_usrbin function. Additionally, updates were made to the docstring for better clarity and readability. Test files were also updated to reflect the changes introduced in this patch and maintained the current working integrity of the system. The docstrings of various methods were improved for clarity, the declaration of axes descriptions for binning types was simplified, and the unit for DOSE was also updated. The fluence scoring was rescaled from GeV/cm^3 to MeV/cm^3. In summary, this is a comprehensive improvement and update to the handling of units and scaling within the pymchelper FLUKA reader. |
No description provided.