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

egs_fluence_scoring: Fix several bugs #1105

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mainegra
Copy link
Contributor

@mainegra mainegra commented Mar 11, 2024

  • Total fluence normalization bug during output:

norm /= volume[k];

reduces normalization for $ \Phi[k]$ by $V[k-1]*V[k-2]*...*V[1] $

changed to

norm = norma/volume[k];

- Total fluence normalization bug during output:

  expression norm /= volume[k];

  reduces normalization for F[k] by V[k-1]*V[k-2]*...*V[1]

  changed to norm = norma/volume[k];

- Eliminate misleading message in fluence scoring
  When scoring photon fluence, no message related to
  electron fluence calculation method should be issued.
  Thanks to Alexandra Bourgouin for drawing my attention to this issue!
  Fixes issue #1002

- Read user-requested normalization not only when differential fluence
  requested as it is also needed for integral fluence
@mainegra mainegra requested a review from a team as a code owner March 11, 2024 13:45
@mainegra mainegra self-assigned this Mar 11, 2024
@ftessier
Copy link
Member

That is great, I encountered an issue with fluence normalization recently. I bet this solves it, will check.

@mainegra mainegra changed the title Fix several bugs egs_fluence_scoring: Fix several bugs Mar 12, 2024
@mainegra
Copy link
Contributor Author

mainegra commented Mar 12, 2024

That is great, I encountered an issue with fluence normalization recently. I bet this solves it, will check.

Can't believe these "fixes" were already made last Summer! Time flies when one is having fun!

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

Successfully merging this pull request may close these issues.

None yet

3 participants