TDCRPy 0.0.36__tar.gz → 0.0.38__tar.gz
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-0.0.36/TDCRPy.egg-info → TDCRPy-0.0.38}/PKG-INFO +1 -1
- {TDCRPy-0.0.36 → TDCRPy-0.0.38/TDCRPy.egg-info}/PKG-INFO +1 -1
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/setup.py +1 -1
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/tdcrpy/TDCRPy.py +4 -4
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/tdcrpy/TDCR_model_lib.py +1 -0
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/LICENCE.md +0 -0
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/MANIFEST.in +0 -0
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/README.md +0 -0
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/TDCRPy.egg-info/SOURCES.txt +0 -0
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/TDCRPy.egg-info/dependency_links.txt +0 -0
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/TDCRPy.egg-info/requires.txt +0 -0
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/TDCRPy.egg-info/top_level.txt +0 -0
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/setup.cfg +0 -0
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/tdcrpy/TDCRoptimize.py +0 -0
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/tdcrpy/__init__.py +0 -0
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/tdcrpy/config.toml +0 -0
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/tdcrpy/decayData/All-nuclides_BetaShape.zip +0 -0
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/tdcrpy/decayData/All-nuclides_Ensdf.zip +0 -0
- {TDCRPy-0.0.36 → TDCRPy-0.0.38}/tdcrpy/decayData/All-nuclides_PenNuc.zip +0 -0
|
@@ -332,6 +332,8 @@ def TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, N, kB, RHO, nE, mode, mode2, Displa
|
|
|
332
332
|
Calculation of the scintillation quenching with the Birks Model
|
|
333
333
|
====================
|
|
334
334
|
'''
|
|
335
|
+
if Display: print("\t Summary of the estimation of quenched energies")
|
|
336
|
+
if Display: print("\t\t energy_vec : ", energy_vec, "keV")
|
|
335
337
|
e_quenching=[]
|
|
336
338
|
for i, p in enumerate(particle_vec):
|
|
337
339
|
e_discrete = np.linspace(0,energy_vec[i],nE) # vector for the quenched energy calculation keV
|
|
@@ -344,9 +346,6 @@ def TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, N, kB, RHO, nE, mode, mode2, Displa
|
|
|
344
346
|
e_quenching.append(energy_vec[i])
|
|
345
347
|
else:
|
|
346
348
|
e_quenching.append(0)
|
|
347
|
-
if Display: print("\t Summary of the estimation of quenched energies")
|
|
348
|
-
|
|
349
|
-
if Display: print("\t\t energy_vec : ", energy_vec, "keV")
|
|
350
349
|
if Display: print("\t\t quenched energy : ", e_quenching, "keV")
|
|
351
350
|
|
|
352
351
|
'''
|
|
@@ -364,7 +363,7 @@ def TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, N, kB, RHO, nE, mode, mode2, Displa
|
|
|
364
363
|
if Display: print("\t Summary of TDCR measurement")
|
|
365
364
|
if Display: print("\t\t Efficiency of single events: ", efficiency_S[-1])
|
|
366
365
|
if Display: print("\t\t Efficiency of double events: ", efficiency_D[-1])
|
|
367
|
-
if Display: print("\t\t Efficiency of triple events: ",
|
|
366
|
+
if Display: print("\t\t Efficiency of triple events: ", efficiency_T[-1])
|
|
368
367
|
elif mode2=="asym":
|
|
369
368
|
pA_nosingle = np.exp(-L[0]*np.sum(np.asarray(e_quenching))/3) # probability to have 0 electrons in a PMT
|
|
370
369
|
pA_single = 1-pA_nosingle # probability to have at least 1 electrons in a PMT
|
|
@@ -390,6 +389,7 @@ def TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, N, kB, RHO, nE, mode, mode2, Displa
|
|
|
390
389
|
'''
|
|
391
390
|
if mode2=="sym":
|
|
392
391
|
mean_efficiency_T = np.mean(efficiency_T) # average
|
|
392
|
+
print(efficiency_T[:100])
|
|
393
393
|
std_efficiency_T = np.std(efficiency_T)/np.sqrt(N) # standard deviation
|
|
394
394
|
mean_efficiency_D = np.mean(efficiency_D)
|
|
395
395
|
std_efficiency_D = np.std(efficiency_D)/np.sqrt(N)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|