TDCRPy 1.9.5__py3-none-any.whl → 1.9.7__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.5
3
+ Version: 1.9.7
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
- tdcrpy/TDCRPy.py,sha256=qYl8BEI2lLm2oPGrnrxiFya7Y_aQU6dtyutUYHay4Yc,53858
1
+ tdcrpy/TDCRPy.py,sha256=-eWgvVpjIOX2wb1ajxXTyD3GRBdaZw7J5Mce5YuJWs0,53857
2
2
  tdcrpy/TDCRPy1.py,sha256=QTBZh5B5JWnGB0BQfD-cFmwA9W080OD4sG-aj50-ejo,38106
3
- tdcrpy/TDCR_model_lib.py,sha256=u36N_8LaC4vgM0zEfwo9yqbFYLQz6ii8gVM25Sqyf7k,104749
3
+ tdcrpy/TDCR_model_lib.py,sha256=VEkf1IFDXgwvt9OXmKd3blr465uNmXd84HSYeIoew7E,104713
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.5.dist-info/LICENCE.md,sha256=ZTpWyGU3qv_iwEpgvCijoCuCYpOPpyzJCgOk46WpUKU,1066
1084
- TDCRPy-1.9.5.dist-info/METADATA,sha256=BdXO8ADEQDC3XbRAWoPkY2HbT_Y00e-_jaZCBtKWUXM,15995
1085
- TDCRPy-1.9.5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
1086
- TDCRPy-1.9.5.dist-info/top_level.txt,sha256=f4vzFFcKSEnonAACs0ZXuRczmroLLqtPTqXFymU_VU0,14
1087
- TDCRPy-1.9.5.dist-info/RECORD,,
1083
+ TDCRPy-1.9.7.dist-info/LICENCE.md,sha256=ZTpWyGU3qv_iwEpgvCijoCuCYpOPpyzJCgOk46WpUKU,1066
1084
+ TDCRPy-1.9.7.dist-info/METADATA,sha256=OKEV_V5X9_sI7WYyLeCts6t2diuvXM-L68-BZMHJFg8,15995
1085
+ TDCRPy-1.9.7.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
1086
+ TDCRPy-1.9.7.dist-info/top_level.txt,sha256=f4vzFFcKSEnonAACs0ZXuRczmroLLqtPTqXFymU_VU0,14
1087
+ TDCRPy-1.9.7.dist-info/RECORD,,
tdcrpy/TDCRPy.py CHANGED
@@ -181,7 +181,7 @@ def TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, N, kB, V, mode, mode2, Display=Fals
181
181
  elif (not Smodel) and (not Rad in radListPureBeta):
182
182
  print("cannot be processed by the analytical model.")
183
183
  # print(f"Analytical model used for {Rad}")
184
- out=tl.modelAnalytical(L,TD,TAB,TBC,TAC,Rad,kB,V,mode,mode2,10000)
184
+ out=tl.modelAnalytical(L,TD,TAB,TBC,TAC,Rad,kB,V,mode,mode2,1000)
185
185
  if mode == "res":
186
186
  return out
187
187
  if mode == "eff":
tdcrpy/TDCR_model_lib.py CHANGED
@@ -2524,9 +2524,8 @@ def modelAnalytical(L,TD,TAB,TBC,TAC,rad,kB,V,mode,mode2,ne):
2524
2524
  e, p = readBetaSpectra(rad)
2525
2525
  em=np.empty(len(e))
2526
2526
  for i, ei in enumerate(e):
2527
- # ed = energie_dep_beta2(ei,V)
2528
- em[i] = E_quench_e(ei*1e3,ei*1e3,kB*1e3,ne)*1e-3
2529
- # em[i] = Em_e(ei*1e3,ei*1e3,kB*1e3,ne)*1e-3
2527
+ #em[i] = E_quench_e(ei*1e3,ei*1e3,kB*1e3,ne)*1e-3
2528
+ em[i] = Em_e(ei*1e3,ei*1e3,kB*1e3,ne)*1e-3
2530
2529
 
2531
2530
 
2532
2531
  if mode2=="sym":
@@ -2671,7 +2670,7 @@ def buildBetaSpectra(rad, V, N, prt=False):
2671
2670
  file.write(f"{b}\t{p2[i]}\n")
2672
2671
 
2673
2672
 
2674
- N = 1e7
2673
+ # N = 1e7
2675
2674
  # buildBetaSpectra('H-3', 16, N, prt=True); print('H-3 - done')
2676
2675
  # buildBetaSpectra('C-14', 16, N, prt=True); print('C-14 - done')
2677
2676
  # buildBetaSpectra('S-35', 16, N, prt=True); print('S-35 - done')
@@ -2682,5 +2681,5 @@ N = 1e7
2682
2681
  # buildBetaSpectra('Tc-99', 16, N, prt=True); print('Tc-99 - done')
2683
2682
  # buildBetaSpectra('Pm-147', 16, N, prt=True); print('Pm-147 - done')
2684
2683
  # buildBetaSpectra('Pu-241', 16, N, prt=True); print('Pu-241 - done')
2685
- buildBetaSpectra('Co-60', 16, N, prt=True); print('Co-60 - done')
2684
+ # buildBetaSpectra('Co-60', 16, N, prt=True); print('Co-60 - done')
2686
2685
 
File without changes