TDCRPy 1.5.0__tar.gz → 1.5.2__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 (75) hide show
  1. {TDCRPy-1.5.0/TDCRPy.egg-info → TDCRPy-1.5.2}/PKG-INFO +1 -1
  2. {TDCRPy-1.5.0 → TDCRPy-1.5.2/TDCRPy.egg-info}/PKG-INFO +1 -1
  3. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/TDCRPy.egg-info/SOURCES.txt +1 -1
  4. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/setup.py +2 -1
  5. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/TDCRPy.py +14 -14
  6. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/TDCR_model_lib.py +1 -1
  7. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/LICENCE.md +0 -0
  8. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/MANIFEST.in +0 -0
  9. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/README.md +0 -0
  10. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/TDCRPy.egg-info/dependency_links.txt +0 -0
  11. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/TDCRPy.egg-info/requires.txt +0 -0
  12. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/TDCRPy.egg-info/top_level.txt +0 -0
  13. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/setup.cfg +0 -0
  14. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_C-14.txt +0 -0
  15. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Ca-45.txt +0 -0
  16. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_H-3.txt +0 -0
  17. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Ni-63.txt +0 -0
  18. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Pm-147.txt +0 -0
  19. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Pu-241.txt +0 -0
  20. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_S-35.txt +0 -0
  21. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Sr-89.txt +0 -0
  22. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Sr-90.txt +0 -0
  23. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/Spectra_for_analytical_model/dep_spectrum_Tc-99.txt +0 -0
  24. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/matrice/fichier/E_depose.txt +0 -0
  25. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-beta-_1_200k.txt +0 -0
  26. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-beta-_2000_10000k.txt +0 -0
  27. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-beta-_200_2000k.txt +0 -0
  28. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-photon_1_200k.txt +0 -0
  29. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-photon_2000_10000k.txt +0 -0
  30. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-photon_200_2000k.txt +0 -0
  31. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-beta-_1_200k.txt +0 -0
  32. /TDCRPy-1.5.0/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16beta-_2000_10000k.txt → /TDCRPy-1.5.2/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-beta-_2000_10000k.txt +0 -0
  33. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-beta-_200_2000k.txt +0 -0
  34. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-photon_1_200k.txt +0 -0
  35. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-photon_2000_10000k.txt +0 -0
  36. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-photon_200_2000k.txt +0 -0
  37. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyAlpha_0.015.txt +0 -0
  38. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyAlpha_1.1e-05.txt +0 -0
  39. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyAlpha_1.2e-05.txt +0 -0
  40. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyAlpha_1.3e-05.txt +0 -0
  41. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyAlpha_1.4e-05.txt +0 -0
  42. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyAlpha_1.5e-05.txt +0 -0
  43. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyAlpha_1e-05.txt +0 -0
  44. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyAlpha_6e-06.txt +0 -0
  45. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyAlpha_7e-06.txt +0 -0
  46. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyAlpha_8e-06.txt +0 -0
  47. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyAlpha_9e-06.txt +0 -0
  48. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyElectron_0.006.txt +0 -0
  49. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyElectron_0.007.txt +0 -0
  50. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyElectron_0.008.txt +0 -0
  51. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyElectron_0.009.txt +0 -0
  52. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyElectron_0.01.txt +0 -0
  53. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyElectron_0.011.txt +0 -0
  54. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyElectron_0.012.txt +0 -0
  55. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyElectron_0.013.txt +0 -0
  56. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyElectron_0.014.txt +0 -0
  57. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/QuenchEnergyElectron_0.015.txt +0 -0
  58. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/TandataUG.txt +0 -0
  59. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/alpha_toulene.txt +0 -0
  60. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/inputVecteurAlpha.txt +0 -0
  61. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/Quenching/inputVecteurElectron.txt +0 -0
  62. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/TDCRPy1.py +0 -0
  63. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/TDCRoptimize.py +0 -0
  64. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/__init__.py +0 -0
  65. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/config.toml +0 -0
  66. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/decayData/All-nuclides_BetaShape.zip +0 -0
  67. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/decayData/All-nuclides_Ensdf.zip +0 -0
  68. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/decayData/All-nuclides_PenNuc.zip +0 -0
  69. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/docs/_build/html/genindex.html +0 -0
  70. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/docs/_build/html/index.html +0 -0
  71. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/docs/_build/html/search.html +0 -0
  72. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/docs/_build/html/source/modules.html +0 -0
  73. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/docs/_build/html/source/tdcrpy.html +0 -0
  74. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/test/__init__.py +0 -0
  75. {TDCRPy-1.5.0 → TDCRPy-1.5.2}/tdcrpy/test/test_tdcrpy.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TDCRPy
3
- Version: 1.5.0
3
+ Version: 1.5.2
4
4
  Summary: TDCR model
5
5
  Home-page: https://github.com/RomainCoulon/TDCRPy
6
6
  Author: RomainCoulon (Romain Coulon)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TDCRPy
3
- Version: 1.5.0
3
+ Version: 1.5.2
4
4
  Summary: TDCR model
5
5
  Home-page: https://github.com/RomainCoulon/TDCRPy
6
6
  Author: RomainCoulon (Romain Coulon)
@@ -30,8 +30,8 @@ tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-beta-_200_2000k.txt
30
30
  tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-photon_1_200k.txt
31
31
  tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-photon_2000_10000k.txt
32
32
  tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_10ml-photon_200_2000k.txt
33
- tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16beta-_2000_10000k.txt
34
33
  tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-beta-_1_200k.txt
34
+ tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-beta-_2000_10000k.txt
35
35
  tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-beta-_200_2000k.txt
36
36
  tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-photon_1_200k.txt
37
37
  tdcrpy/MCNP-MATRIX/matrice/fichier/matrice_16ml-photon_2000_10000k.txt
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
  import codecs
3
3
  import os
4
4
 
5
- VERSION = "1.5.0"
5
+ VERSION = "1.5.2"
6
6
  DESCRIPTION = "TDCR model"
7
7
 
8
8
  with open("README.md", "r") as f:
@@ -36,6 +36,7 @@ setup(
36
36
  ],
37
37
  include_package_data = True,
38
38
  package_data = {'': [
39
+ 'config.toml',
39
40
  'decayData/All-nuclides_PenNuc.zip',
40
41
  'decayData/All-nuclides_BetaShape.zip',
41
42
  'decayData/All-nuclides_Ensdf.zip',
@@ -568,18 +568,18 @@ def TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, N, kB, V, mode, mode2, Display=Fals
568
568
 
569
569
  for i, p in enumerate(particle_vec):
570
570
  if p == "electron":
571
- energy_vec[i] = tl.energie_dep_beta(energy_vec[i])
571
+ energy_vec[i] = tl.energie_dep_beta2(energy_vec[i],v=V)
572
572
 
573
573
  if p == "beta+":
574
- energy_vec[i] = tl.energie_dep_beta(energy_vec[i])
574
+ energy_vec[i] = tl.energie_dep_beta2(energy_vec[i],v=V)
575
575
 
576
576
  if p == "gamma" or p == "XKA" or p == "XKB" or p == "XL":
577
- energy_vec[i] = tl.energie_dep_gamma(energy_vec[i],v=V) # sampling energy free from photon
577
+ energy_vec[i] = tl.energie_dep_gamma2(energy_vec[i],v=V) # sampling energy free from photon
578
578
  particle_vec[i] = "electron"
579
579
 
580
580
  if p == "Auger K" or p == "Auger L":
581
581
  particle_vec[i] = "electron"
582
- energy_vec[i] = tl.energie_dep_beta(energy_vec[i])
582
+ energy_vec[i] = tl.energie_dep_beta2(energy_vec[i],v=V)
583
583
 
584
584
  if Display:
585
585
  print("\n\t INTERACTION \n\t Summary of the energy deposited by charged particles from the prompt transitions")
@@ -588,18 +588,18 @@ def TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, N, kB, V, mode, mode2, Display=Fals
588
588
 
589
589
  for i, p in enumerate(particle_vec2):
590
590
  if p == "electron":
591
- energy_vec2[i] = tl.energie_dep_beta(energy_vec2[i])
591
+ energy_vec2[i] = tl.energie_dep_beta2(energy_vec2[i],v=V)
592
592
 
593
593
  if p == "beta+":
594
- energy_vec2[i] = tl.energie_dep_beta(energy_vec2[i])
594
+ energy_vec2[i] = tl.energie_dep_beta2(energy_vec2[i],v=V)
595
595
 
596
596
  if p == "gamma" or p == "XKA" or p == "XKB" or p == "XL":
597
- energy_vec2[i] = tl.energie_dep_gamma(energy_vec2[i],v=V) # sampling energy free from photon
597
+ energy_vec2[i] = tl.energie_dep_gamma2(energy_vec2[i],v=V) # sampling energy free from photon
598
598
  particle_vec2[i] = "electron"
599
599
 
600
600
  if p == "Auger K" or p == "Auger L":
601
601
  particle_vec2[i] = "electron"
602
- energy_vec2[i] = tl.energie_dep_beta(energy_vec2[i])
602
+ energy_vec2[i] = tl.energie_dep_beta2(energy_vec2[i],v=V)
603
603
 
604
604
  if Display:
605
605
  print("\t Summary of the energy deposited by charged particles from the delayed transitions")
@@ -805,18 +805,18 @@ def TDCRPy(L, TD, TAB, TBC, TAC, Rad, pmf_1, N, kB, V, mode, mode2, Display=Fals
805
805
 
806
806
  for i, p in enumerate(particle_vec):
807
807
  if p == "electron":
808
- energy_vec[i] = tl.energie_dep_beta(energy_vec[i])
808
+ energy_vec[i] = tl.energie_dep_beta2(energy_vec[i],v=V)
809
809
 
810
810
  if p == "beta+":
811
- energy_vec[i] = tl.energie_dep_beta(energy_vec[i])
811
+ energy_vec[i] = tl.energie_dep_beta2(energy_vec[i],v=V)
812
812
 
813
813
  if p == "gamma" or p == "XKA" or p == "XKB" or p == "XL":
814
- energy_vec[i] = tl.energie_dep_gamma(energy_vec[i],v=V) # sampling energy free from photon
814
+ energy_vec[i] = tl.energie_dep_gamma2(energy_vec[i],v=V) # sampling energy free from photon
815
815
  particle_vec[i] = "electron"
816
816
 
817
817
  if p == "Auger K" or p == "Auger L":
818
818
  particle_vec[i] = "electron"
819
- energy_vec[i] = tl.energie_dep_beta(energy_vec[i])
819
+ energy_vec[i] = tl.energie_dep_beta2(energy_vec[i],v=V)
820
820
 
821
821
  if Display:
822
822
  print("\n\t INTERACTION \n\t Summary of the energy deposited by charged particles")
@@ -952,11 +952,11 @@ TD = 0.977667386529166
952
952
  TAB = 0.992232838598821
953
953
  TBC = 0.992343419459002
954
954
  TAC = 0.99275350064608
955
- Rad="Co-60"
955
+ Rad="Tl-201"
956
956
  pmf_1="1"
957
957
  N = 10
958
958
  kB =1.0e-5
959
- V = 10
959
+ V = 12
960
960
  mode = "dis"
961
961
  mode2 = "sym"
962
962
 
@@ -1146,7 +1146,7 @@ def energie_dep_gamma2(e_inci,v,matrice10_1=Matrice10_p_1,matrice10_2=Matrice10_
1146
1146
  if result > e_inci: result = e_inci
1147
1147
  return result
1148
1148
 
1149
- def energie_dep_beta(e_inci,*,matrice10_1=Matrice10_e_1,matrice10_2=Matrice10_e_2,matrice10_3=Matrice10_e_3,matrice16_1=Matrice16_e_1,matrice16_2=Matrice16_e_2,ed=Matrice_e):
1149
+ def energie_dep_beta(e_inci,*,matrice10_1=Matrice10_e_1,matrice10_2=Matrice10_e_2,matrice10_3=Matrice10_e_3,matrice16_1=Matrice16_e_1,matrice16_2=Matrice16_e_2,matrice16_3=Matrice16_e_3,ed=Matrice_e):
1150
1150
  ## sort keV / entrée : keV
1151
1151
  if e_inci <= 200:
1152
1152
  if e_inci < 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