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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TDCRPy
3
- Version: 1.9.8
3
+ Version: 1.10.0
4
4
  Summary: TDCR model
5
5
  Home-page: https://pypi.org/project/TDCRPy/
6
6
  Author: RomainCoulon (Romain Coulon)
@@ -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=Lfl2xIXbleN-W1t3ad6ki6wKgttXNpww7KITcb3SgPg,104751
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.9.8.dist-info/LICENCE.md,sha256=ZTpWyGU3qv_iwEpgvCijoCuCYpOPpyzJCgOk46WpUKU,1066
1084
- TDCRPy-1.9.8.dist-info/METADATA,sha256=qqblBiwN8n0Dj8GWVq4HO5_ZUm-nzcI9G7BtX8o_OIo,15995
1085
- TDCRPy-1.9.8.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
1086
- TDCRPy-1.9.8.dist-info/top_level.txt,sha256=f4vzFFcKSEnonAACs0ZXuRczmroLLqtPTqXFymU_VU0,14
1087
- TDCRPy-1.9.8.dist-info/RECORD,,
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 toml
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)