TDCRPy 1.12.12__py3-none-any.whl → 1.12.13__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.12.12
3
+ Version: 1.12.13
4
4
  Summary: TDCR model
5
5
  Home-page: https://pypi.org/project/TDCRPy/
6
6
  Author: RomainCoulon (Romain Coulon)
@@ -1,4 +1,4 @@
1
- tdcrpy/TDCRPy.py,sha256=FkVcr_YOu3dqp5BcQjxp9h6lRC-WitUF6jUr3-5Ffj0,65329
1
+ tdcrpy/TDCRPy.py,sha256=zdUZAf00Tm3Oy09G2A4tkfLYhZkj-ep67mL5FrfS-sM,65543
2
2
  tdcrpy/TDCRPy1.py,sha256=QTBZh5B5JWnGB0BQfD-cFmwA9W080OD4sG-aj50-ejo,38106
3
3
  tdcrpy/TDCR_model_lib.py,sha256=Vqbd-JVhGdF9BzW9axYwCHl2MOBfupCJ1ih5Nz_aXts,106906
4
4
  tdcrpy/TDCRoptimize.py,sha256=c2XIGveeLdVYYek4Rg6dygMvVA2xIrIkMb3L-_jUucM,6496
@@ -1079,10 +1079,14 @@ tdcrpy/docs/_build/html/index.html,sha256=KbgBWH_0ixaswXk_lCM_pMk10v4rLs5qdPubj2
1079
1079
  tdcrpy/docs/_build/html/search.html,sha256=IeTP6CsRdqKWOJttbtskg1oBgdN8norKlzai4Tmk8Kc,2799
1080
1080
  tdcrpy/docs/_build/html/source/modules.html,sha256=Jf-qxVBId0UgpwyvYuyjtMNG-ezPOK1oH_IxRXAWTRs,3601
1081
1081
  tdcrpy/docs/_build/html/source/tdcrpy.html,sha256=-38lHMNFB22p1tWJEeN3yDqfDiCYE304vxDamO1-iRc,3779
1082
+ tdcrpy/recordFiles/Temp_E0.txt,sha256=I8lJwaMRmBaHPlN7of3ieycfk4gaMT7j2ZJpJvxnVxM,980
1083
+ tdcrpy/recordFiles/Temp_E1.txt,sha256=pYitCNjrVK1vfpGTxycgNB1cWZIWj2rwUnFw1KLNa5M,983
1084
+ tdcrpy/recordFiles/Temp_E2.txt,sha256=nHzLeX6f7bOerL0LZSWCO6zg2WgA8tqDwPhMyUsI85w,992
1085
+ tdcrpy/recordFiles/Temp_E3.txt,sha256=mmg3kPoW5EXXCn8XHbRqDTt1vRHz_q5uVXRMAQvrTIU,902
1082
1086
  tdcrpy/test/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1083
1087
  tdcrpy/test/test_tdcrpy.py,sha256=JINqSEMFoNpptE4f3h6ZzTYW1rBx90KkaoQzltSg-No,4692
1084
- TDCRPy-1.12.12.dist-info/LICENCE.md,sha256=ZTpWyGU3qv_iwEpgvCijoCuCYpOPpyzJCgOk46WpUKU,1066
1085
- TDCRPy-1.12.12.dist-info/METADATA,sha256=69f5ox0Jet4v5ocTEhc7tcDml7F_QKW0LyU_yqZKt7o,15833
1086
- TDCRPy-1.12.12.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
1087
- TDCRPy-1.12.12.dist-info/top_level.txt,sha256=f4vzFFcKSEnonAACs0ZXuRczmroLLqtPTqXFymU_VU0,14
1088
- TDCRPy-1.12.12.dist-info/RECORD,,
1088
+ TDCRPy-1.12.13.dist-info/LICENCE.md,sha256=ZTpWyGU3qv_iwEpgvCijoCuCYpOPpyzJCgOk46WpUKU,1066
1089
+ TDCRPy-1.12.13.dist-info/METADATA,sha256=Jsiz9os_184vLMBQZ6NkXuQQGCE138ik61N0yBEvlbg,15833
1090
+ TDCRPy-1.12.13.dist-info/WHEEL,sha256=R0nc6qTxuoLk7ShA2_Y-UWkN8ZdfDBG2B6Eqpz2WXbs,91
1091
+ TDCRPy-1.12.13.dist-info/top_level.txt,sha256=f4vzFFcKSEnonAACs0ZXuRczmroLLqtPTqXFymU_VU0,14
1092
+ TDCRPy-1.12.13.dist-info/RECORD,,
tdcrpy/TDCRPy.py CHANGED
@@ -167,7 +167,8 @@ def TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, N, kB, V, mode, mode2, Display=Fals
167
167
  Standard uncertainty from calculation associated with the estimation of the efficiency of double coincidences for C/N systems. (only in mode="eff")
168
168
  """
169
169
  if record:
170
- recfile1 = "recordFiles/"+Rad+"_"+pmf_1+"_"+str(N)+".dhf1"
170
+ # recfile1 = "recordFiles/"+Rad+"_"+pmf_1+"_"+str(N)+".dhf1"
171
+ recfile1 = "recordFiles/Temp_E0.txt"
171
172
  header_content1 = """# TDCRPy output: inital energies from nuclear decays
172
173
  # Column 1: KPAR (1=electron, 2=photon, 3=positron, 4=alpha)
173
174
  # Column 2: Energy in eV (> ECNUC)
@@ -178,7 +179,8 @@ def TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, N, kB, V, mode, mode2, Display=Fals
178
179
  """
179
180
  with open(recfile1, "w") as file: file.write(header_content1)
180
181
 
181
- recfile2 = "recordFiles/"+Rad+"_"+pmf_1+"_"+str(N)+".dhf2"
182
+ # recfile2 = "recordFiles/"+Rad+"_"+pmf_1+"_"+str(N)+".dhf2"
183
+ recfile2 = "recordFiles/Temp_E1.txt"
182
184
  header_content2 = """# TDCRPy output: deposited energies from nuclear decays
183
185
  # Column 1: KPAR (1=electron, 2=photon, 3=positron, 4=alpha)
184
186
  # Column 2: Energy in eV (> ECNUC)
@@ -189,7 +191,8 @@ def TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, N, kB, V, mode, mode2, Display=Fals
189
191
  """
190
192
  with open(recfile2, "w") as file: file.write(header_content2)
191
193
 
192
- recfile3 = "recordFiles/"+Rad+"_"+pmf_1+"_"+str(N)+".dhf3"
194
+ # recfile3 = "recordFiles/"+Rad+"_"+pmf_1+"_"+str(N)+".dhf3"
195
+ recfile3 = "recordFiles/Temp_E2.txt"
193
196
  header_content3 = """# TDCRPy output: deposited quenched energies from nuclear decays
194
197
  # Column 1: KPAR (1=electron, 2=photon, 3=positron, 4=alpha)
195
198
  # Column 2: Energy in eV (> ECNUC)
@@ -207,7 +210,8 @@ def TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, N, kB, V, mode, mode2, Display=Fals
207
210
  # Column 4: detection probability if triple coincidences
208
211
  # 2 3 4
209
212
  """
210
- recfile4 = "recordFiles/"+Rad+"_"+pmf_1+"_"+str(N)+".dhf4"
213
+ # recfile4 = "recordFiles/"+Rad+"_"+pmf_1+"_"+str(N)+".dhf4"
214
+ recfile4 = "recordFiles/Temp_E3.txt"
211
215
  with open(recfile4, "w") as file: file.write(header_content4)
212
216
 
213
217
  if barp: tl.display_header()
@@ -1068,22 +1072,22 @@ def TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, N, kB, V, mode, mode2, Display=Fals
1068
1072
 
1069
1073
  # print(out)
1070
1074
 
1071
- L = 1
1072
- TD = 0.977667386529166
1073
- TAB = 0.992232838598821
1074
- TBC = 0.992343419459002
1075
- TAC = 0.99275350064608
1076
- Rad="Lu-177"
1077
- pmf_1="1"
1078
- N = 1000
1079
- kB =1.0e-5
1080
- V = 10
1081
- mode = "eff"
1082
- mode2 = "sym"
1075
+ # L = 1
1076
+ # TD = 0.977667386529166
1077
+ # TAB = 0.992232838598821
1078
+ # TBC = 0.992343419459002
1079
+ # TAC = 0.99275350064608
1080
+ # Rad="Lu-177"
1081
+ # pmf_1="1"
1082
+ # N = 1000
1083
+ # kB =1.0e-5
1084
+ # V = 10
1085
+ # mode = "eff"
1086
+ # mode2 = "sym"
1083
1087
 
1084
1088
  # out = TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, N, kB, V, mode, mode2, Display=True, barp=False,uncData=False)
1085
1089
  # print("TDCR", out[4]/out[2])
1086
1090
  # print("Eff D", out[2])
1087
1091
 
1088
1092
 
1089
- out = TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, 20, kB, V, mode, mode2, Display=True, barp=False, Smodel=True, syst = "TDCR", record = "phf1", uncData=False)
1093
+ # out = TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, 20, kB, V, mode, mode2, Display=True, barp=False, Smodel=True, syst = "TDCR", record = "phf1", uncData=False)
@@ -0,0 +1,37 @@
1
+ # TDCRPy output: inital energies from nuclear decays
2
+ # Column 1: KPAR (1=electron, 2=photon, 3=positron, 4=alpha)
3
+ # Column 2: Energy in eV (> ECNUC)
4
+ # Column 3: Decay number mod 100, two digits
5
+ # Column 4: Cascade number mod 10, one digit
6
+ # Column 5: Particle age in seconds (since decay started)
7
+ # 2 3 4 5
8
+ 1 8.900000E+04 0 1 0
9
+ 1 3.620000E+05 1 1 0
10
+ 1 1.210000E+05 2 1 0
11
+ 1 3.000000E+03 3 1 0
12
+ 2 2.083662E+05 3 1 0
13
+ 1 4.759900E+04 3 1 0
14
+ 2 5.579090E+04 3 1 0
15
+ 1 7.750000E+03 3 1 0
16
+ 1 6.100000E+04 4 1 0
17
+ 2 2.083662E+05 4 1 0
18
+ 1 1.024262E+05 4 1 0
19
+ 1 7.750000E+03 4 1 0
20
+ 1 2.350000E+05 5 1 0
21
+ 1 2.280000E+05 6 1 0
22
+ 1 1.800000E+05 7 1 0
23
+ 1 3.150000E+05 8 1 0
24
+ 1 4.200000E+04 9 1 0
25
+ 1 6.000000E+03 10 1 0
26
+ 1 1.010000E+05 11 1 0
27
+ 1 6.100000E+04 12 1 0
28
+ 1 3.230000E+05 13 1 0
29
+ 1 1.220000E+05 14 1 0
30
+ 1 4.400000E+04 15 1 0
31
+ 2 2.083662E+05 15 1 0
32
+ 1 1.024262E+05 15 1 0
33
+ 1 7.750000E+03 15 1 0
34
+ 1 4.700000E+04 16 1 0
35
+ 1 3.400000E+04 17 1 0
36
+ 1 9.900000E+04 18 1 0
37
+ 1 8.500000E+04 19 1 0
@@ -0,0 +1,37 @@
1
+ # TDCRPy output: deposited energies from nuclear decays
2
+ # Column 1: KPAR (1=electron, 2=photon, 3=positron, 4=alpha)
3
+ # Column 2: Energy in eV (> ECNUC)
4
+ # Column 3: Decay number mod 100, two digits
5
+ # Column 4: Cascade number mod 10, one digit
6
+ # Column 5: Particle age in seconds (since decay started)
7
+ # 2 3 4 5
8
+ 1 8.900000E+04 0 1 0
9
+ 1 3.620000E+05 1 1 0
10
+ 1 1.210000E+05 2 1 0
11
+ 1 3.000000E+03 3 1 0
12
+ 1 0.000000E+00 3 1 0
13
+ 1 4.759900E+04 3 1 0
14
+ 1 1.283191E+04 3 1 0
15
+ 1 7.750000E+03 3 1 0
16
+ 1 6.100000E+04 4 1 0
17
+ 1 0.000000E+00 4 1 0
18
+ 1 1.024262E+05 4 1 0
19
+ 1 7.750000E+03 4 1 0
20
+ 1 2.350000E+05 5 1 0
21
+ 1 2.280000E+05 6 1 0
22
+ 1 1.800000E+05 7 1 0
23
+ 1 2.125648E+05 8 1 0
24
+ 1 4.200000E+04 9 1 0
25
+ 1 6.000000E+03 10 1 0
26
+ 1 1.010000E+05 11 1 0
27
+ 1 6.100000E+04 12 1 0
28
+ 1 3.230000E+05 13 1 0
29
+ 1 1.220000E+05 14 1 0
30
+ 1 4.400000E+04 15 1 0
31
+ 1 0.000000E+00 15 1 0
32
+ 1 1.024262E+05 15 1 0
33
+ 1 7.750000E+03 15 1 0
34
+ 1 4.700000E+04 16 1 0
35
+ 1 3.400000E+04 17 1 0
36
+ 1 9.900000E+04 18 1 0
37
+ 1 8.500000E+04 19 1 0
@@ -0,0 +1,37 @@
1
+ # TDCRPy output: deposited quenched energies from nuclear decays
2
+ # Column 1: KPAR (1=electron, 2=photon, 3=positron, 4=alpha)
3
+ # Column 2: Energy in eV (> ECNUC)
4
+ # Column 3: Decay number mod 100, two digits
5
+ # Column 4: Cascade number mod 10, one digit
6
+ # Column 5: Particle age in seconds (since decay started)
7
+ # 2 3 4 5
8
+ 1 7.256485E+04 0 1 0
9
+ 1 3.126531E+05 1 1 0
10
+ 1 1.004394E+05 2 1 0
11
+ 1 1.350593E+03 3 1 0
12
+ 1 0.000000E+00 3 1 0
13
+ 1 3.690230E+04 3 1 0
14
+ 1 1.095075E+04 3 1 0
15
+ 1 4.466165E+03 3 1 0
16
+ 1 4.836887E+04 4 1 0
17
+ 1 0.000000E+00 4 1 0
18
+ 1 8.423896E+04 4 1 0
19
+ 1 4.466165E+03 4 1 0
20
+ 1 2.005481E+05 5 1 0
21
+ 1 1.943812E+05 6 1 0
22
+ 1 1.521483E+05 7 1 0
23
+ 1 1.870476E+05 8 1 0
24
+ 1 3.214612E+04 9 1 0
25
+ 1 3.252983E+03 10 1 0
26
+ 1 8.299727E+04 11 1 0
27
+ 1 4.836887E+04 12 1 0
28
+ 1 2.781928E+05 13 1 0
29
+ 1 1.013130E+05 14 1 0
30
+ 1 3.384221E+04 15 1 0
31
+ 1 0.000000E+00 15 1 0
32
+ 1 8.423896E+04 15 1 0
33
+ 1 4.466165E+03 15 1 0
34
+ 1 3.639232E+04 16 1 0
35
+ 1 2.540040E+04 17 1 0
36
+ 1 8.125656E+04 18 1 0
37
+ 1 6.909427E+04 19 1 0
@@ -0,0 +1,26 @@
1
+ # TDCRPy output: detection probabilities
2
+ # Column 1: Decay number mod 100, two digits
3
+ # Column 2: detection probability of single events
4
+ # Column 3: detection probability if double coincidences
5
+ # Column 4: detection probability if triple coincidences
6
+ # 2 3 4
7
+ 0 1.0 0.9999999999999998 0.9999999999061827
8
+ 1 1.0 1.0 1.0
9
+ 2 1.0 1.0 0.9999999999999913
10
+ 3 1.0 0.9999999999999991 0.999999948994126
11
+ 4 1.0 1.0 1.0
12
+ 5 1.0 1.0 1.0
13
+ 6 1.0 1.0 1.0
14
+ 7 1.0 1.0 1.0
15
+ 8 1.0 1.0 1.0
16
+ 9 0.999999999999989 0.9999999985213657 0.9999333984161588
17
+ 10 0.9613412941994496 0.7343237230821587 0.2899479433902926
18
+ 11 1.0 1.0 0.9999999999971023
19
+ 12 1.0 0.99999999999997 0.999999701455034
20
+ 13 1.0 1.0 1.0
21
+ 14 1.0 1.0000000000000002 0.9999999999999937
22
+ 15 1.0 1.0 1.0
23
+ 16 0.9999999999999999 0.9999999999128106 0.99998382697656
24
+ 17 0.9999999999906943 0.9999998672938257 0.9993691221325874
25
+ 18 1.0 1.0 0.9999999999948235
26
+ 19 1.0 1.0 0.9999999997016666