TDCRPy 1.9.8__py3-none-any.whl → 1.10.0__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.8.dist-info → TDCRPy-1.10.0.dist-info}/METADATA +1 -1
- {TDCRPy-1.9.8.dist-info → TDCRPy-1.10.0.dist-info}/RECORD +6 -6
- tdcrpy/TDCR_model_lib.py +2 -3
- {TDCRPy-1.9.8.dist-info → TDCRPy-1.10.0.dist-info}/LICENCE.md +0 -0
- {TDCRPy-1.9.8.dist-info → TDCRPy-1.10.0.dist-info}/WHEEL +0 -0
- {TDCRPy-1.9.8.dist-info → TDCRPy-1.10.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
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=OaNAAUa8LKZTf_pMCOFZz03SIclOFdJvF_98f1_-jlw,104788
|
|
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
|
|
@@ -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.
|
|
1084
|
-
TDCRPy-1.
|
|
1085
|
-
TDCRPy-1.
|
|
1086
|
-
TDCRPy-1.
|
|
1087
|
-
TDCRPy-1.
|
|
1083
|
+
TDCRPy-1.10.0.dist-info/LICENCE.md,sha256=ZTpWyGU3qv_iwEpgvCijoCuCYpOPpyzJCgOk46WpUKU,1066
|
|
1084
|
+
TDCRPy-1.10.0.dist-info/METADATA,sha256=kx_qJ1VlltaSSLxr-9Ys--zyJmLHWIv10CWJWwCTo6A,15996
|
|
1085
|
+
TDCRPy-1.10.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
1086
|
+
TDCRPy-1.10.0.dist-info/top_level.txt,sha256=f4vzFFcKSEnonAACs0ZXuRczmroLLqtPTqXFymU_VU0,14
|
|
1087
|
+
TDCRPy-1.10.0.dist-info/RECORD,,
|
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 =======
|
|
@@ -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)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|