TDCRPy 1.8.11__py3-none-any.whl → 1.8.14__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.8.11.dist-info → TDCRPy-1.8.14.dist-info}/METADATA +1 -1
- {TDCRPy-1.8.11.dist-info → TDCRPy-1.8.14.dist-info}/RECORD +7 -7
- tdcrpy/TDCR_model_lib.py +5 -3
- tdcrpy/config.toml +2 -1
- {TDCRPy-1.8.11.dist-info → TDCRPy-1.8.14.dist-info}/LICENCE.md +0 -0
- {TDCRPy-1.8.11.dist-info → TDCRPy-1.8.14.dist-info}/WHEEL +0 -0
- {TDCRPy-1.8.11.dist-info → TDCRPy-1.8.14.dist-info}/top_level.txt +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
tdcrpy/TDCRPy.py,sha256=XJHHuGwsp_yn422nupus6luRAp4a58vZPT9PO8ilOVE,53211
|
|
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=PE4365_HRBc5lB_4n0W2-UQ32LF9juA0Z_mI4M2cxtI,96132
|
|
4
4
|
tdcrpy/TDCRoptimize.py,sha256=c2XIGveeLdVYYek4Rg6dygMvVA2xIrIkMb3L-_jUucM,6496
|
|
5
5
|
tdcrpy/__init__.py,sha256=vQslGLsoZPIceaitnSHOqN6lUdjEyJ3YhfJ6tYdXt-s,127
|
|
6
|
-
tdcrpy/config.toml,sha256=
|
|
6
|
+
tdcrpy/config.toml,sha256=xPejXoPI4m4FgG8hIYLEyMA-y8MBCF3PaWtv55TqHeQ,1646
|
|
7
7
|
tdcrpy/test2.py,sha256=poLLXJyIaCeqh1VSkwgbi-udvY7lQjxz_YStKjJXGhU,501
|
|
8
8
|
tdcrpy/EfficiencyCurves/Ag-108/EffD_Ag-108_[1]_1e-05.txt,sha256=OUoMuqPTw3fXLu5qaHUFN2iW0dPJ9cRyh99a6mUcEus,43
|
|
9
9
|
tdcrpy/EfficiencyCurves/Ag-108/EffS_Ag-108_[1]_1e-05.txt,sha256=hojCq_MFAw8ONjoDmQfeE9gCXISwhScgAk-N0Pjbg00,45
|
|
@@ -1078,8 +1078,8 @@ tdcrpy/docs/_build/html/source/modules.html,sha256=Jf-qxVBId0UgpwyvYuyjtMNG-ezPO
|
|
|
1078
1078
|
tdcrpy/docs/_build/html/source/tdcrpy.html,sha256=-38lHMNFB22p1tWJEeN3yDqfDiCYE304vxDamO1-iRc,3779
|
|
1079
1079
|
tdcrpy/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1080
1080
|
tdcrpy/test/test_tdcrpy.py,sha256=3b9PeT2ROGGEFM_G4EVlDQMdP4B3ONp4a0kh1bKyVkI,4003
|
|
1081
|
-
TDCRPy-1.8.
|
|
1082
|
-
TDCRPy-1.8.
|
|
1083
|
-
TDCRPy-1.8.
|
|
1084
|
-
TDCRPy-1.8.
|
|
1085
|
-
TDCRPy-1.8.
|
|
1081
|
+
TDCRPy-1.8.14.dist-info/LICENCE.md,sha256=ZTpWyGU3qv_iwEpgvCijoCuCYpOPpyzJCgOk46WpUKU,1066
|
|
1082
|
+
TDCRPy-1.8.14.dist-info/METADATA,sha256=tsr1_9F0SFVSoetVUUZtOPfQGkxQ0UU1LAaFqidjI20,15601
|
|
1083
|
+
TDCRPy-1.8.14.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
1084
|
+
TDCRPy-1.8.14.dist-info/top_level.txt,sha256=f4vzFFcKSEnonAACs0ZXuRczmroLLqtPTqXFymU_VU0,14
|
|
1085
|
+
TDCRPy-1.8.14.dist-info/RECORD,,
|
tdcrpy/TDCR_model_lib.py
CHANGED
|
@@ -38,7 +38,8 @@ RHO = config["Inputs"].getfloat("density")
|
|
|
38
38
|
Z = config["Inputs"].getfloat("Z")
|
|
39
39
|
A = config["Inputs"].getfloat("A")
|
|
40
40
|
depthSpline = config["Inputs"].getint("depthSpline")
|
|
41
|
-
|
|
41
|
+
Einterp_a = config["Inputs"].getfloat("Einterp_a")
|
|
42
|
+
Einterp_e = config["Inputs"].getfloat("Einterp_e")
|
|
42
43
|
|
|
43
44
|
# import PenNuc data
|
|
44
45
|
with importlib.resources.as_file(files('tdcrpy').joinpath('decayData')) as data_path:
|
|
@@ -894,7 +895,7 @@ def run_interpolate(kB_vec, kB , Ev, Emv, E, m = depthSpline):
|
|
|
894
895
|
r = f2(E)+(f1(E) - f2(E))/(kB_vec[ind_k]-kB_vec[ind_k-1])*(kB-kB_vec[ind_k-1])
|
|
895
896
|
return r
|
|
896
897
|
|
|
897
|
-
def Em_a(E, kB, nE, Et =
|
|
898
|
+
def Em_a(E, kB, nE, Et = Einterp_a, kB_vec = kB_a):
|
|
898
899
|
"""
|
|
899
900
|
This fonction management the calculation of the quenched energy for alpha particles.
|
|
900
901
|
A mixture between the accurate quenching model and the extrapolated model can be setup.
|
|
@@ -918,6 +919,7 @@ def Em_a(E, kB, nE, Et = Einterp, kB_vec = kB_a):
|
|
|
918
919
|
interpolated quenched energy in keV
|
|
919
920
|
|
|
920
921
|
"""
|
|
922
|
+
|
|
921
923
|
if E <= Et:
|
|
922
924
|
# run the accurate quenching model
|
|
923
925
|
r = E_quench_a(E,kB,nE)
|
|
@@ -926,7 +928,7 @@ def Em_a(E, kB, nE, Et = Einterp, kB_vec = kB_a):
|
|
|
926
928
|
r = run_interpolate(kB_vec, kB , Ei_alpha, Em_alpha, E)
|
|
927
929
|
return r
|
|
928
930
|
|
|
929
|
-
def Em_e(Ei, Ed, kB, nE, Et =
|
|
931
|
+
def Em_e(Ei, Ed, kB, nE, Et = Einterp_e*1e3, kB_vec = kB_e):
|
|
930
932
|
"""
|
|
931
933
|
This fonction management the calculation of the quenched energy for electrons.
|
|
932
934
|
A mixture between the accurate quenching model and the extrapolated model can be setup.
|
tdcrpy/config.toml
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|