TDCRPy 1.11.3__py3-none-any.whl → 1.11.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of TDCRPy might be problematic. Click here for more details.
- {TDCRPy-1.11.3.dist-info → TDCRPy-1.11.5.dist-info}/METADATA +7 -8
- {TDCRPy-1.11.3.dist-info → TDCRPy-1.11.5.dist-info}/RECORD +6 -6
- tdcrpy/test/test_tdcrpy.py +4 -4
- {TDCRPy-1.11.3.dist-info → TDCRPy-1.11.5.dist-info}/LICENCE.md +0 -0
- {TDCRPy-1.11.3.dist-info → TDCRPy-1.11.5.dist-info}/WHEEL +0 -0
- {TDCRPy-1.11.3.dist-info → TDCRPy-1.11.5.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TDCRPy
|
|
3
|
-
Version: 1.11.
|
|
3
|
+
Version: 1.11.5
|
|
4
4
|
Summary: TDCR model
|
|
5
5
|
Home-page: https://pypi.org/project/TDCRPy/
|
|
6
6
|
Author: RomainCoulon (Romain Coulon)
|
|
@@ -117,6 +117,8 @@ TDCRPy() is parametrised by the following parameters:
|
|
|
117
117
|
* `mode2` sets whether the TDCR system has to be considered as symetrical by the model `mode2="sym"` or not symetrical `mode2="asym"`.
|
|
118
118
|
* `Display` (type `boolean`) is an optional parameter set by default, `Display=False`. If `Display=True`, detailed on the simulated decays are displayed.
|
|
119
119
|
* `barp` (type `boolean`) is an optional parameter set by default, `barp=False`. If `barp=True`, the progression bar of the calculation is displayed.
|
|
120
|
+
* `Smodel` (type `boolean`) is an optional parameter set by default, `Smodel=True`. If `barp=True`, the stochastic model is applied otherwise the analytical model is applied (suitable for pure beta emitters).
|
|
121
|
+
* `uncData` (type `boolean`) is an optional parameter set by default, `uncData=False`. If `uncData=True`, the unceratainty on transition probabilities are propagated by MC sampling (still under study).
|
|
120
122
|
|
|
121
123
|
|
|
122
124
|
In `mode="eff"`, `TDCRPy()` returns a `tuple` composed of:
|
|
@@ -221,15 +223,12 @@ By default, the Monte-Carlo model is not applied for the following list radionuc
|
|
|
221
223
|
### Advance settings
|
|
222
224
|
|
|
223
225
|
An advanced setting can be configured in the `config.toml` file for functions `TDCRPy.TDCRPy()` and `TDCRoptimize.eff()`. In this file:
|
|
224
|
-
*
|
|
225
|
-
* The list of radionuclides for which the analytical model is applied is defined by default such as `radListPureBeta = H-3, C-14, S-35, Ca-45, Ni-63, Sr-89, Sr-90, Tc-99, Pm-147, Pu-241`.
|
|
226
|
-
* The number of bins to discretize the linear energy space for quenching calculation for the radionuclides listed above has been set to induce an error from numerical approximation below 10^-4^. Thus the parameter `nE = 7000, 1000, 1000, 500, 2000, 500, 200, 500, 1000, 7000`.
|
|
227
|
-
* In the case of Monte-Carlo calculation, the number of bins to discretize the linear energy space for quenching calculation can be adjusted. `nE_electron` and `nE_alpha` parameters for respectively electrons and alpha particles are respectiveley set by default such as `nE_electron = 1000`
|
|
228
|
-
and `nE_alpha = 1000`. These values ensure an error on quenched energy estimation from numerical approximation below 10^-3^.
|
|
226
|
+
* The number of bins to discretize the linear energy space for quenching calculation can be adjusted. `nE_electron` and `nE_alpha` parameters for respectively electrons and alpha particles are respectiveley set by default such as `nE_electron = 1000` and `nE_alpha = 1000`.
|
|
229
227
|
* By default the calculation is set for Ultima-Gold cocktail mixed with a small amount of aqueous solution. You can adapt for a specific scintillator by changing the `density` (default `density=0.96`), the mean charge number `Z` (default `Z=5.2`) and the mean mass number `A` (default `A=11.04`) of the scintillator.
|
|
230
228
|
* To process photoelectric interactions, the atomic concentration of the scintillator is spectified. By default `pH = 0.578772`, `pC = 0.338741`, `pN = 0.000302`, `pO = 0.082022`, `pP = 0.000092`, `pCl = 0.000071`
|
|
231
|
-
* A correction due reverse micelles in the scintillator is implemented. The diameter of the micelles and the fraction of aqueous solution is specified. By defaut `diam_micelle = 2`, `fAq = 0.1`
|
|
232
|
-
*
|
|
229
|
+
* A correction due reverse micelles in the scintillator is implemented. It is by default activated `micCorr = True`. The diameter of the micelles and the fraction of aqueous solution is specified. By defaut `diam_micelle = 2`, `fAq = 0.1`
|
|
230
|
+
* The coincidence resolving time of the LS counter is specified (in ns). By default `tau = 50`.
|
|
231
|
+
* To optimize the speed of the Monte-Carlo calculation, a spline interpolation on precalculated quenched energy is applied. The parameter `depthSpline` (default `depthSpline = 5`) sets the number of bins on each side of the energy point on which the interpolation is applied. The parameter `Einterp_a` for alpha particles and `Einterp_e` for electrons (default `Einterp_a = 100` keV, `Einterp_e = 1.5` keV) set the energy (in keV) above which the interpolation is applied.
|
|
233
232
|
|
|
234
233
|
### TDCRoptimize.eff()
|
|
235
234
|
|
|
@@ -1080,9 +1080,9 @@ tdcrpy/docs/_build/html/search.html,sha256=IeTP6CsRdqKWOJttbtskg1oBgdN8norKlzai4
|
|
|
1080
1080
|
tdcrpy/docs/_build/html/source/modules.html,sha256=Jf-qxVBId0UgpwyvYuyjtMNG-ezPOK1oH_IxRXAWTRs,3601
|
|
1081
1081
|
tdcrpy/docs/_build/html/source/tdcrpy.html,sha256=-38lHMNFB22p1tWJEeN3yDqfDiCYE304vxDamO1-iRc,3779
|
|
1082
1082
|
tdcrpy/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1083
|
-
tdcrpy/test/test_tdcrpy.py,sha256=
|
|
1084
|
-
TDCRPy-1.11.
|
|
1085
|
-
TDCRPy-1.11.
|
|
1086
|
-
TDCRPy-1.11.
|
|
1087
|
-
TDCRPy-1.11.
|
|
1088
|
-
TDCRPy-1.11.
|
|
1083
|
+
tdcrpy/test/test_tdcrpy.py,sha256=JINqSEMFoNpptE4f3h6ZzTYW1rBx90KkaoQzltSg-No,4692
|
|
1084
|
+
TDCRPy-1.11.5.dist-info/LICENCE.md,sha256=ZTpWyGU3qv_iwEpgvCijoCuCYpOPpyzJCgOk46WpUKU,1066
|
|
1085
|
+
TDCRPy-1.11.5.dist-info/METADATA,sha256=5-NQ8-WMU0ay291Xio3Cg2LQl3QyWLsgQmDhtJe0jE4,15808
|
|
1086
|
+
TDCRPy-1.11.5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
1087
|
+
TDCRPy-1.11.5.dist-info/top_level.txt,sha256=f4vzFFcKSEnonAACs0ZXuRczmroLLqtPTqXFymU_VU0,14
|
|
1088
|
+
TDCRPy-1.11.5.dist-info/RECORD,,
|
tdcrpy/test/test_tdcrpy.py
CHANGED
|
@@ -41,13 +41,13 @@ class TestMyModule(unittest.TestCase):
|
|
|
41
41
|
result = tdcrpy.TDCR_model_lib.stoppingpower(100)
|
|
42
42
|
self.assertEqual(result, 326.78)
|
|
43
43
|
|
|
44
|
-
def test_readBetaShape(self):
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
# def test_readBetaShape(self):
|
|
45
|
+
# result = np.mean(tdcrpy.TDCR_model_lib.readBetaShape("H-3","beta-","tot"))
|
|
46
|
+
# self.assertEqual(result, 4.661922025723472)
|
|
47
47
|
|
|
48
48
|
def test_readBetaSpectra(self):
|
|
49
49
|
result = np.mean(tdcrpy.TDCR_model_lib.readBetaSpectra("H-3"))
|
|
50
|
-
self.assertEqual(result, 4.
|
|
50
|
+
self.assertEqual(result, 4.651594887459807)
|
|
51
51
|
|
|
52
52
|
def test_E_quench_e(self):
|
|
53
53
|
result = np.mean(tdcrpy.TDCR_model_lib.E_quench_e(100*1e3,100*1e3,0.01,20000)*1e-3)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|