Skip to content

Small fixes to PositroniumSource implementation#768

Open
wkrzemien wants to merge 5 commits into
OpenGATE:developfrom
cis-imaging:positronium_source_rebased
Open

Small fixes to PositroniumSource implementation#768
wkrzemien wants to merge 5 commits into
OpenGATE:developfrom
cis-imaging:positronium_source_rebased

Conversation

@wkrzemien

Copy link
Copy Markdown
Contributor
  1. Improve the function to recalculate fractions from intensities (second API).
    The previous version always assumed that pPs is defined as the first element. The current version should work for any order. Also, the pPs time is set to the value provided by the user; it used some default constant. This function assumes that only one PPs is defined.
  2. Remove unused functions from helper
  3. Add an error message when handling PositronElectronInteraction::kParaPsaraPositronium in GatePositroniumHelper::CalcFractionsFromLifetime
  4. Improve docs -> Mark that ExtendedVSource is currently obsolete

wkrzemien added 5 commits July 6, 2026 10:35
The previous version always assumed that PPs is defined as a first
element. The current version should work for any order. Also,
the pPs time is set to the  value provided by user, before it was
using some default constant.
Still this function assumes that only one PPs is defined.
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.

1 participant