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

update path to get_rad_gamma/beta_spectrum functions #588

Merged
merged 2 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions core/opengate_core/opengate_lib/GateTLEDoseActor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,13 @@ void GateTLEDoseActor::PreUserTrackingAction(const G4Track *track) {
// if the particle is not a gamma, we want to associate a secondary boolean to
// allow or not the energy deposition.
//- If it's a direct secondary of the gamma with the PID inside, which have to
//not deposit its energy, the boolean is set to false
// not deposit its energy, the boolean is set to false
//- If it's a direct secondary, but the number of remaining secondaries to
//track is 0, it means that this secondary was not created by a TLE gamma, and
// track is 0, it means that this secondary was not created by a TLE gamma,
// and
// the boolean is set to false
//- If it's an indirect secondary, created by a secondary generated by a
//gamma, we do nothing, since the boolean was already fixed.
// gamma, we do nothing, since the boolean was already fixed.
// If it's a primary or a secondary generated from a primary which is not a
// gamma, the boolean is set to False at the beginning of the event

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ Several spectra are provided through the `get_rad_gamma_spectrum` function:

.. code:: python

spectrum = gate.sources.generic.get_rad_gamma_spectrum("Lu177")
spectrum = gate.sources.base.get_rad_gamma_spectrum("Lu177")


The source can be configured like this:
Expand Down Expand Up @@ -373,7 +373,7 @@ This data comes from `[doseinfo-radar] <https://www.doseinfo-radar.com/RADARDeca

.. code:: python

spectrum = gate.sources.generic.get_rad_beta_spectrum("Lu177")
spectrum = gate.sources.base.get_rad_beta_spectrum("Lu177")

The source can be configured like this:

Expand Down
Loading