TDCRPy 1.9.7__py3-none-any.whl → 1.9.9__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.9.7.dist-info → TDCRPy-1.9.9.dist-info}/METADATA +1 -1
- {TDCRPy-1.9.7.dist-info → TDCRPy-1.9.9.dist-info}/RECORD +8 -8
- tdcrpy/TDCRPy.py +1 -1
- tdcrpy/TDCR_model_lib.py +5 -6
- tdcrpy/decayData/All-nuclides_BetaShape.zip +0 -0
- {TDCRPy-1.9.7.dist-info → TDCRPy-1.9.9.dist-info}/LICENCE.md +0 -0
- {TDCRPy-1.9.7.dist-info → TDCRPy-1.9.9.dist-info}/WHEEL +0 -0
- {TDCRPy-1.9.7.dist-info → TDCRPy-1.9.9.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
tdcrpy/TDCRPy.py,sha256
|
|
1
|
+
tdcrpy/TDCRPy.py,sha256=kl0UM0HEY7D95M1c806IkYkXl7du1BMtWUA7jTiOGVs,53859
|
|
2
2
|
tdcrpy/TDCRPy1.py,sha256=QTBZh5B5JWnGB0BQfD-cFmwA9W080OD4sG-aj50-ejo,38106
|
|
3
|
-
tdcrpy/TDCR_model_lib.py,sha256=
|
|
3
|
+
tdcrpy/TDCR_model_lib.py,sha256=_UlE_899c6jFgZoV4uZb-0iKTL9GraS_wvBnTxlJp0g,104784
|
|
4
4
|
tdcrpy/TDCRoptimize.py,sha256=c2XIGveeLdVYYek4Rg6dygMvVA2xIrIkMb3L-_jUucM,6496
|
|
5
5
|
tdcrpy/__init__.py,sha256=vQslGLsoZPIceaitnSHOqN6lUdjEyJ3YhfJ6tYdXt-s,127
|
|
6
6
|
tdcrpy/config.toml,sha256=rHuuM520HZquGrEd8LAVUdvnzZGtk90pigudy-MXnm8,1389
|
|
@@ -1068,7 +1068,7 @@ tdcrpy/Quenching/TandataUG.txt,sha256=AkUGz2dAZ6g3bQIIacR5f92aa8gmiklgRbN4Dyz-12
|
|
|
1068
1068
|
tdcrpy/Quenching/alpha_toulene.txt,sha256=rJB9xCLM3GLg91EKfhu8sGwro281ySq6R0G5mXMt3f8,1553
|
|
1069
1069
|
tdcrpy/Quenching/inputVecteurAlpha.txt,sha256=ee4emplX51vhomC7cGNP_eE5eqS9By5PaSSaa4hh1eg,178652
|
|
1070
1070
|
tdcrpy/Quenching/inputVecteurElectron.txt,sha256=5NBRBaiB7op1SJ6v952w9gFKqh0x83pn8zYcoUpy33Y,181498
|
|
1071
|
-
tdcrpy/decayData/All-nuclides_BetaShape.zip,sha256
|
|
1071
|
+
tdcrpy/decayData/All-nuclides_BetaShape.zip,sha256=-qTbYuzgTJv9AyJ2x5zX-9ndWBY3SuNyS2LBDP5iSwg,7633072
|
|
1072
1072
|
tdcrpy/decayData/All-nuclides_Ensdf.zip,sha256=GL-X_IG6x4ykGrWYaMiZrjfMXOvYPM07G-Cp8WCPOu8,437902
|
|
1073
1073
|
tdcrpy/decayData/All-nuclides_PenNuc.zip,sha256=DmhS2CYegWhL8qggc_MO6FgyiXE5qX73dOoH-SSQXoo,388954
|
|
1074
1074
|
tdcrpy/decayData/atom-ENDF-VII0.zip,sha256=oP4Z7qWweWF4j12QAIfvLFLlqeY1RomXwXD2iFgQCqo,1624444
|
|
@@ -1080,8 +1080,8 @@ tdcrpy/docs/_build/html/source/modules.html,sha256=Jf-qxVBId0UgpwyvYuyjtMNG-ezPO
|
|
|
1080
1080
|
tdcrpy/docs/_build/html/source/tdcrpy.html,sha256=-38lHMNFB22p1tWJEeN3yDqfDiCYE304vxDamO1-iRc,3779
|
|
1081
1081
|
tdcrpy/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1082
1082
|
tdcrpy/test/test_tdcrpy.py,sha256=MTMiE0N7RiyE8Rom2Yu8kCDR03pJga9D6_o7wr7leVA,4675
|
|
1083
|
-
TDCRPy-1.9.
|
|
1084
|
-
TDCRPy-1.9.
|
|
1085
|
-
TDCRPy-1.9.
|
|
1086
|
-
TDCRPy-1.9.
|
|
1087
|
-
TDCRPy-1.9.
|
|
1083
|
+
TDCRPy-1.9.9.dist-info/LICENCE.md,sha256=ZTpWyGU3qv_iwEpgvCijoCuCYpOPpyzJCgOk46WpUKU,1066
|
|
1084
|
+
TDCRPy-1.9.9.dist-info/METADATA,sha256=P7afUBbL_j4ZV3hKPN0ZqAkyVLC4BWu1ISCRdBSnI-s,15995
|
|
1085
|
+
TDCRPy-1.9.9.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
1086
|
+
TDCRPy-1.9.9.dist-info/top_level.txt,sha256=f4vzFFcKSEnonAACs0ZXuRczmroLLqtPTqXFymU_VU0,14
|
|
1087
|
+
TDCRPy-1.9.9.dist-info/RECORD,,
|
tdcrpy/TDCRPy.py
CHANGED
|
@@ -179,7 +179,7 @@ def TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, N, kB, V, mode, mode2, Display=Fals
|
|
|
179
179
|
if mode == "eff":
|
|
180
180
|
return out[0], 0, out[1], 0, out[2], 0
|
|
181
181
|
elif (not Smodel) and (not Rad in radListPureBeta):
|
|
182
|
-
print("cannot be processed by the analytical model.")
|
|
182
|
+
# print("cannot be processed by the analytical model.")
|
|
183
183
|
# print(f"Analytical model used for {Rad}")
|
|
184
184
|
out=tl.modelAnalytical(L,TD,TAB,TBC,TAC,Rad,kB,V,mode,mode2,1000)
|
|
185
185
|
if mode == "res":
|
tdcrpy/TDCR_model_lib.py
CHANGED
|
@@ -18,12 +18,11 @@ import pkg_resources
|
|
|
18
18
|
import configparser
|
|
19
19
|
import numpy as np
|
|
20
20
|
import zipfile as zf
|
|
21
|
-
import time
|
|
22
21
|
import re
|
|
23
22
|
import os
|
|
24
23
|
import scipy.interpolate as interp
|
|
25
24
|
import matplotlib.pyplot as plt
|
|
26
|
-
import
|
|
25
|
+
from tqdm import tqdm
|
|
27
26
|
|
|
28
27
|
"""
|
|
29
28
|
======= Import ressource data =======
|
|
@@ -824,7 +823,7 @@ def readBetaShape(rad,mode,level,z=z_betashape):
|
|
|
824
823
|
else:
|
|
825
824
|
p.append(p0 * (e[k]-e[k-1]))
|
|
826
825
|
|
|
827
|
-
e=(np.asarray(e[:-1])+np.asarray(e[1:]))/2
|
|
826
|
+
e=(np.asarray(e[:-1])+np.asarray(e[1:]))/2 # deal with the continuity hypothesis
|
|
828
827
|
p.pop(-1)
|
|
829
828
|
p /= sum(np.asarray(p)) # normalization
|
|
830
829
|
p = list(p); e = list(e)
|
|
@@ -2637,7 +2636,7 @@ def buildBetaSpectra(rad, V, N, prt=False):
|
|
|
2637
2636
|
e, p = readBetaShape(rad,"beta-",'tot')
|
|
2638
2637
|
N = int(N)
|
|
2639
2638
|
ev=[]
|
|
2640
|
-
for i in range(N):
|
|
2639
|
+
for i in tqdm(range(N), desc="Processing", unit=" bins"):
|
|
2641
2640
|
ind = sampling(p)
|
|
2642
2641
|
ev.append(energie_dep_beta2(e[ind],V))
|
|
2643
2642
|
counts, bins = np.histogram(ev, bins=e, density=True)
|
|
@@ -2670,7 +2669,7 @@ def buildBetaSpectra(rad, V, N, prt=False):
|
|
|
2670
2669
|
file.write(f"{b}\t{p2[i]}\n")
|
|
2671
2670
|
|
|
2672
2671
|
|
|
2673
|
-
|
|
2672
|
+
N = 1e7
|
|
2674
2673
|
# buildBetaSpectra('H-3', 16, N, prt=True); print('H-3 - done')
|
|
2675
2674
|
# buildBetaSpectra('C-14', 16, N, prt=True); print('C-14 - done')
|
|
2676
2675
|
# buildBetaSpectra('S-35', 16, N, prt=True); print('S-35 - done')
|
|
@@ -2681,5 +2680,5 @@ def buildBetaSpectra(rad, V, N, prt=False):
|
|
|
2681
2680
|
# buildBetaSpectra('Tc-99', 16, N, prt=True); print('Tc-99 - done')
|
|
2682
2681
|
# buildBetaSpectra('Pm-147', 16, N, prt=True); print('Pm-147 - done')
|
|
2683
2682
|
# buildBetaSpectra('Pu-241', 16, N, prt=True); print('Pu-241 - done')
|
|
2684
|
-
|
|
2683
|
+
buildBetaSpectra('Co-60', 16, N, prt=True); print('Co-60 - done')
|
|
2685
2684
|
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|