Skip to content

Commit 9aaefc7

Browse files
authored
Merge pull request #832 from mastergari/fix-annihilation-typo
Fix annihilation typos
2 parents 98154ad + 9ca6b14 commit 9aaefc7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/source/user_guide/user_guide_reference_sources_generic_source.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ Probabilities are derived from weights simply by normalizing the weights list.
389389
spectrum = gate.sources.utility.get_spectrum("Lu177", spectrum_type, database="icrp107")
390390
391391
where ``spectrum_type`` is one of "gamma", "beta-", "beta+", "alpha", "X", "neutron",
392-
"auger", "IE", "alpha recoil", "anihilation", "fission", "betaD", "b-spectra". From this list,
392+
"auger", "IE", "alpha recoil", "annihilation", "fission", "betaD", "b-spectra". From this list,
393393
only b-spectra is histogram based (see next section), the rest are discrete. ``database`` can be "icrp107" or "radar".
394394
395395
ICRP107 data comes from `[ICRP, 2008. Nuclear Decay Data for Dosimetric Calculations. ICRP Publication 107. Ann. ICRP 38] <https://www.icrp.org/publication.asp?id=ICRP%20Publication%20107>`__

opengate/sources/utility.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"auger",
3333
"IE",
3434
"alpha recoil",
35-
"anihilation",
35+
"annihilation",
3636
"fission",
3737
"betaD",
3838
"b-spectra", # beta spectras, both beta+ and beta-
@@ -56,7 +56,7 @@ def get_spectrum(
5656
spectrum_type : str, optional
5757
The type of spectrum to retrieve. Default is "gamma". Must be one of
5858
"gamma", "beta+", "beta-", or "e+". icrp107 allows also one of
59-
"alpha", "X", "neutron", "auger", "IE", "alpha recoil", "anihilation", "fission", "betaD", "b-spectra".
59+
"alpha", "X", "neutron", "auger", "IE", "alpha recoil", "annihilation", "fission", "betaD", "b-spectra".
6060
In the case of beta spectras, make use of the
6161
:py:func:`set_source_energy_spectrum` function instead.
6262
@@ -250,7 +250,7 @@ def __get_icrp107_spectrum(rad_name: str, spectrum_type=DEFAULT_SPECTRUM_TYPE) -
250250
The name of the radionuclide in Gate format, e.g. "Tc99m", "Lu177"
251251
252252
spectrum_type : str
253-
The type of spectrum to retrieve. Must be one of "gamma", "beta-", "beta+", "alpha", "X", "neutron", "auger", "IE", "alpha recoil", "anihilation", "fission", "betaD", "b-spectra"
253+
The type of spectrum to retrieve. Must be one of "gamma", "beta-", "beta+", "alpha", "X", "neutron", "auger", "IE", "alpha recoil", "annihilation", "fission", "betaD", "b-spectra"
254254
255255
Returns
256256
-------

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"PyYAML",
3434
"SimpleITK",
3535
"spekpy",
36-
"icrp107-database",
36+
"icrp107-database>=0.0.3",
3737
"loguru",
3838
]
3939
+ install_requires_windows,

0 commit comments

Comments
 (0)