TDCRPy 2.14.0__tar.gz → 2.15.0__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-2.14.0/TDCRPy.egg-info → tdcrpy-2.15.0}/PKG-INFO +1 -1
- {tdcrpy-2.14.0 → tdcrpy-2.15.0/TDCRPy.egg-info}/PKG-INFO +1 -1
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/setup.py +1 -1
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/TDCRPy.py +6 -6
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/LICENCE.md +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/MANIFEST.in +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/README.md +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/TDCRPy.egg-info/SOURCES.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/TDCRPy.egg-info/dependency_links.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/TDCRPy.egg-info/requires.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/TDCRPy.egg-info/top_level.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/setup.cfg +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_C-14.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Ca-45.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Co-60.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_H-3.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Ni-63.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Pm-147.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Pu-241.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_S-35.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Sr-89.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Sr-90.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Tc-99.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/E_depose.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-beta-_1_200k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-beta-_2000_10000k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-beta-_200_2000k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-photon_1_200k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-photon_2000_10000k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-photon_200_2000k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_13ml-beta-_1_200k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_13ml-beta-_2000_10000k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_13ml-beta-_200_2000k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_13ml-photon_1_200k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_13ml-photon_2000_10000k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_13ml-photon_200_2000k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-beta-_1_200k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-beta-_2000_10000k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-beta-_200_2000k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-photon_1_200k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-photon_2000_10000k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-photon_200_2000k.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Micelle/2nmfaq01.csv +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Micelle/faq01.csv +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_0.015.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_1.1e-05.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_1.2e-05.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_1.3e-05.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_1.4e-05.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_1.5e-05.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_1e-05.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_6e-06.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_7e-06.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_8e-06.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_9e-06.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.006.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.007.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.008.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.009.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.01.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.011.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.012.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.013.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.014.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.015.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/TandataUG.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/alpha_toulene.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/inputVecteurAlpha.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/inputVecteurElectron.txt +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/TDCRPy1.py +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/TDCR_model_lib.py +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/TDCRoptimize.py +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/__init__.py +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/config.toml +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/decayData/All-nuclides_BetaShape.zip +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/decayData/All-nuclides_Ensdf.zip +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/decayData/All-nuclides_PenNuc.zip +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/decayData/atom-ENDF-VII0.zip +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/decayData/photo-ENDF.zip +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/docs/_build/html/genindex.html +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/docs/_build/html/index.html +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/docs/_build/html/search.html +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/docs/_build/html/source/modules.html +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/docs/_build/html/source/tdcrpy.html +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/test/__init__.py +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/test/test_tdcrpy.py +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/test2.py +0 -0
- {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/test_randomGen.py +0 -0
|
@@ -1039,7 +1039,7 @@ def objectFct(L, TD, Rad, pmf_1, N, kB, V):
|
|
|
1039
1039
|
|
|
1040
1040
|
return res
|
|
1041
1041
|
|
|
1042
|
-
def eff(TD, Rad, pmf_1, kB, V, N=10000, L=1, maxiter=20, xatol=1e-7, disp=False):
|
|
1042
|
+
def eff(TD, Rad, pmf_1, kB, V, N=10000, L=1, maxiter=20, xatol=1e-7, disp=False, Lbounds=[0.1, 10]):
|
|
1043
1043
|
"""
|
|
1044
1044
|
Caclulation of the efficiency of a TDCR system based on the model TDCRPy.
|
|
1045
1045
|
This function includes optimization procedures from scipy.
|
|
@@ -1108,8 +1108,8 @@ def eff(TD, Rad, pmf_1, kB, V, N=10000, L=1, maxiter=20, xatol=1e-7, disp=False)
|
|
|
1108
1108
|
|
|
1109
1109
|
TDCRPy(L, Rad, pmf_1, N, kB, V, record = True)
|
|
1110
1110
|
|
|
1111
|
-
if symm: r=opt.minimize_scalar(objectFct, args=(TD, Rad, pmf_1, N, kB, V), method='bounded', bounds = (0
|
|
1112
|
-
else: r=opt.minimize_scalar(objectFct, args=(TD[0], Rad, pmf_1, N, kB, V), method='bounded', bounds = (0
|
|
1111
|
+
if symm: r=opt.minimize_scalar(objectFct, args=(TD, Rad, pmf_1, N, kB, V), method='bounded', bounds = (Lbounds[0], Lbounds[1]), options={'disp': disp, 'maxiter':maxiter})
|
|
1112
|
+
else: r=opt.minimize_scalar(objectFct, args=(TD[0], Rad, pmf_1, N, kB, V), method='bounded', bounds = (Lbounds[0], Lbounds[1]), options={'disp': disp, 'maxiter':maxiter})
|
|
1113
1113
|
L0=r.x
|
|
1114
1114
|
L=(L0, L0, L0)
|
|
1115
1115
|
print(f"global free parameter = {L0} keV-1")
|
|
@@ -1139,7 +1139,7 @@ def eff(TD, Rad, pmf_1, kB, V, N=10000, L=1, maxiter=20, xatol=1e-7, disp=False)
|
|
|
1139
1139
|
return L0, L, eff_S, u_eff_S, eff_D, u_eff_D, eff_T, u_eff_T, eff_AB, u_eff_AB, eff_BC, u_eff_BC, eff_AC, u_eff_AC, eff_D2, u_eff_D2
|
|
1140
1140
|
|
|
1141
1141
|
|
|
1142
|
-
def effA(TD, Rad, pmf_1, kB, V, L=1, maxiter=20, xatol=1e-7, disp=False):
|
|
1142
|
+
def effA(TD, Rad, pmf_1, kB, V, L=1, maxiter=20, xatol=1e-7, disp=False, Lbounds=[0.1, 10]):
|
|
1143
1143
|
"""
|
|
1144
1144
|
Caclulation of the efficiency of a TDCR system based on the model TDCRPy (analytical model).
|
|
1145
1145
|
This function includes optimization procedures from scipy.
|
|
@@ -1204,8 +1204,8 @@ def effA(TD, Rad, pmf_1, kB, V, L=1, maxiter=20, xatol=1e-7, disp=False):
|
|
|
1204
1204
|
else:
|
|
1205
1205
|
symm = True
|
|
1206
1206
|
|
|
1207
|
-
if symm: r=opt.minimize_scalar(tl.modelAnalytical, args=(TD, TD, TD, TD, Rad, kB, V, "res", 1e3), method='bounded', bounds = (0
|
|
1208
|
-
else: r=opt.minimize_scalar(tl.modelAnalytical, args=(TD[0], TD[1], TD[2], TD[3], Rad, kB, V, "res", 1e3), method='bounded', bounds = (0
|
|
1207
|
+
if symm: r=opt.minimize_scalar(tl.modelAnalytical, args=(TD, TD, TD, TD, Rad, kB, V, "res", 1e3), method='bounded', bounds = (Lbounds[0], Lbounds[1]), options={'disp': disp, 'maxiter':maxiter})
|
|
1208
|
+
else: r=opt.minimize_scalar(tl.modelAnalytical, args=(TD[0], TD[1], TD[2], TD[3], Rad, kB, V, "res", 1e3), method='bounded', bounds = (Lbounds[0], Lbounds[1]), options={'disp': disp, 'maxiter':maxiter})
|
|
1209
1209
|
L0=r.x
|
|
1210
1210
|
L=(L0, L0, L0)
|
|
1211
1211
|
print(f"global free parameter = {L0} keV-1")
|
|
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
|
{tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_H-3.txt
RENAMED
|
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
|
{tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-beta-_1_200k.txt
RENAMED
|
File without changes
|
|
File without changes
|
{tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-beta-_200_2000k.txt
RENAMED
|
File without changes
|
{tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-photon_1_200k.txt
RENAMED
|
File without changes
|
|
File without changes
|
{tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-photon_200_2000k.txt
RENAMED
|
File without changes
|
{tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_13ml-beta-_1_200k.txt
RENAMED
|
File without changes
|
|
File without changes
|
{tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_13ml-beta-_200_2000k.txt
RENAMED
|
File without changes
|
{tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_13ml-photon_1_200k.txt
RENAMED
|
File without changes
|
|
File without changes
|
{tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_13ml-photon_200_2000k.txt
RENAMED
|
File without changes
|
{tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-beta-_1_200k.txt
RENAMED
|
File without changes
|
|
File without changes
|
{tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-beta-_200_2000k.txt
RENAMED
|
File without changes
|
{tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-photon_1_200k.txt
RENAMED
|
File without changes
|
|
File without changes
|
{tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-photon_200_2000k.txt
RENAMED
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|