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.

Files changed (88) hide show
  1. {tdcrpy-2.14.0/TDCRPy.egg-info → tdcrpy-2.15.0}/PKG-INFO +1 -1
  2. {tdcrpy-2.14.0 → tdcrpy-2.15.0/TDCRPy.egg-info}/PKG-INFO +1 -1
  3. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/setup.py +1 -1
  4. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/TDCRPy.py +6 -6
  5. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/LICENCE.md +0 -0
  6. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/MANIFEST.in +0 -0
  7. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/README.md +0 -0
  8. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/TDCRPy.egg-info/SOURCES.txt +0 -0
  9. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/TDCRPy.egg-info/dependency_links.txt +0 -0
  10. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/TDCRPy.egg-info/requires.txt +0 -0
  11. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/TDCRPy.egg-info/top_level.txt +0 -0
  12. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/setup.cfg +0 -0
  13. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_C-14.txt +0 -0
  14. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Ca-45.txt +0 -0
  15. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Co-60.txt +0 -0
  16. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_H-3.txt +0 -0
  17. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Ni-63.txt +0 -0
  18. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Pm-147.txt +0 -0
  19. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Pu-241.txt +0 -0
  20. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_S-35.txt +0 -0
  21. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Sr-89.txt +0 -0
  22. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Sr-90.txt +0 -0
  23. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Tc-99.txt +0 -0
  24. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/E_depose.txt +0 -0
  25. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-beta-_1_200k.txt +0 -0
  26. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-beta-_2000_10000k.txt +0 -0
  27. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-beta-_200_2000k.txt +0 -0
  28. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-photon_1_200k.txt +0 -0
  29. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-photon_2000_10000k.txt +0 -0
  30. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-photon_200_2000k.txt +0 -0
  31. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_13ml-beta-_1_200k.txt +0 -0
  32. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_13ml-beta-_2000_10000k.txt +0 -0
  33. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_13ml-beta-_200_2000k.txt +0 -0
  34. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_13ml-photon_1_200k.txt +0 -0
  35. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_13ml-photon_2000_10000k.txt +0 -0
  36. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_13ml-photon_200_2000k.txt +0 -0
  37. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-beta-_1_200k.txt +0 -0
  38. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-beta-_2000_10000k.txt +0 -0
  39. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-beta-_200_2000k.txt +0 -0
  40. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-photon_1_200k.txt +0 -0
  41. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-photon_2000_10000k.txt +0 -0
  42. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-photon_200_2000k.txt +0 -0
  43. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Micelle/2nmfaq01.csv +0 -0
  44. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Micelle/faq01.csv +0 -0
  45. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_0.015.txt +0 -0
  46. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_1.1e-05.txt +0 -0
  47. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_1.2e-05.txt +0 -0
  48. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_1.3e-05.txt +0 -0
  49. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_1.4e-05.txt +0 -0
  50. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_1.5e-05.txt +0 -0
  51. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_1e-05.txt +0 -0
  52. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_6e-06.txt +0 -0
  53. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_7e-06.txt +0 -0
  54. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_8e-06.txt +0 -0
  55. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyAlpha_9e-06.txt +0 -0
  56. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.006.txt +0 -0
  57. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.007.txt +0 -0
  58. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.008.txt +0 -0
  59. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.009.txt +0 -0
  60. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.01.txt +0 -0
  61. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.011.txt +0 -0
  62. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.012.txt +0 -0
  63. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.013.txt +0 -0
  64. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.014.txt +0 -0
  65. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/QuenchEnergyElectron_0.015.txt +0 -0
  66. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/TandataUG.txt +0 -0
  67. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/alpha_toulene.txt +0 -0
  68. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/inputVecteurAlpha.txt +0 -0
  69. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/Quenching/inputVecteurElectron.txt +0 -0
  70. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/TDCRPy1.py +0 -0
  71. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/TDCR_model_lib.py +0 -0
  72. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/TDCRoptimize.py +0 -0
  73. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/__init__.py +0 -0
  74. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/config.toml +0 -0
  75. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/decayData/All-nuclides_BetaShape.zip +0 -0
  76. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/decayData/All-nuclides_Ensdf.zip +0 -0
  77. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/decayData/All-nuclides_PenNuc.zip +0 -0
  78. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/decayData/atom-ENDF-VII0.zip +0 -0
  79. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/decayData/photo-ENDF.zip +0 -0
  80. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/docs/_build/html/genindex.html +0 -0
  81. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/docs/_build/html/index.html +0 -0
  82. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/docs/_build/html/search.html +0 -0
  83. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/docs/_build/html/source/modules.html +0 -0
  84. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/docs/_build/html/source/tdcrpy.html +0 -0
  85. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/test/__init__.py +0 -0
  86. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/test/test_tdcrpy.py +0 -0
  87. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/test2.py +0 -0
  88. {tdcrpy-2.14.0 → tdcrpy-2.15.0}/tdcrpy/test_randomGen.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: TDCRPy
3
- Version: 2.14.0
3
+ Version: 2.15.0
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
1
  Metadata-Version: 2.4
2
2
  Name: TDCRPy
3
- Version: 2.14.0
3
+ Version: 2.15.0
4
4
  Summary: TDCR model
5
5
  Home-page: https://pypi.org/project/TDCRPy/
6
6
  Author: RomainCoulon (Romain Coulon)
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
  import codecs
3
3
  import os
4
4
 
5
- VERSION = "2.14.0"
5
+ VERSION = "2.15.0"
6
6
 
7
7
  DESCRIPTION = "TDCR model"
8
8
 
@@ -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.01, 50), options={'disp': disp, 'maxiter':maxiter})
1112
- else: r=opt.minimize_scalar(objectFct, args=(TD[0], Rad, pmf_1, N, kB, V), method='bounded', bounds = (0.01, 50), options={'disp': disp, 'maxiter':maxiter})
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.01, 50), 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 = (0.01, 50), options={'disp': disp, 'maxiter':maxiter})
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