nucleardatapy 1.0.0__py3-none-any.whl → 1.0.1__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.
Files changed (87) hide show
  1. nucleardatapy/astro/setup_mr.py +115 -33
  2. nucleardatapy/create_folder.py +2 -2
  3. nucleardatapy/crust/setup_crust.py +5 -5
  4. nucleardatapy/data/astro/HESS/J1731-347.dat +4 -0
  5. nucleardatapy/data/astro/NICER/J0030+0451.dat +6 -6
  6. nucleardatapy/data/astro/NICER/J0437-4715.dat +4 -3
  7. nucleardatapy/data/astro/NICER/J0614-3329.dat +4 -0
  8. nucleardatapy/data/astro/NICER/J0740+6620.dat +5 -5
  9. nucleardatapy/data/hnuclei/1991-2L-Yamamoto.csv +6 -0
  10. nucleardatapy/data/hnuclei/2013-2L-Ahn.csv +1 -1
  11. nucleardatapy/data/hnuclei/2019-2L-Ekawa.csv +7 -0
  12. nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-414-E2A.dat +21 -0
  13. nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-414-TD.dat +22 -0
  14. nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-450-E2A.dat +20 -0
  15. nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-450-TD.dat +22 -0
  16. nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-500-E2A.dat +23 -0
  17. nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-500-TD.dat +22 -0
  18. nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-414-E2A.dat +15 -0
  19. nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-414-TD.dat +21 -0
  20. nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-450-E2A.dat +15 -0
  21. nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-450-TD.dat +21 -0
  22. nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-500-E2A.dat +20 -0
  23. nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-500-TD.dat +20 -0
  24. nucleardatapy/data/matter/micro/2024-ABI-NM-DeltaNNLO450.dat +28 -0
  25. nucleardatapy/data/matter/micro/2024-ABI-NM-DeltaNNLO500.dat +28 -0
  26. nucleardatapy/data/matter/micro/2024-ABI-NM-DeltaNNLOgo394.dat +28 -0
  27. nucleardatapy/data/matter/micro/2024-ABI-NM-DeltaNNLOgo450.dat +28 -0
  28. nucleardatapy/data/matter/micro/2024-ABI-NM-NNLOsat.dat +28 -0
  29. nucleardatapy/data/matter/micro/2024-ABI-SM-DeltaNNLO450.dat +28 -0
  30. nucleardatapy/data/matter/micro/2024-ABI-SM-DeltaNNLO500.dat +28 -0
  31. nucleardatapy/data/matter/micro/2024-ABI-SM-DeltaNNLOgo394.dat +28 -0
  32. nucleardatapy/data/matter/micro/2024-ABI-SM-DeltaNNLOgo450.dat +28 -0
  33. nucleardatapy/data/matter/micro/2024-ABI-SM-NNLOsat.dat +28 -0
  34. nucleardatapy/fig/astro_setupGW_fig.py +4 -2
  35. nucleardatapy/fig/astro_setupMR_fig.py +14 -8
  36. nucleardatapy/fig/astro_setupMasses_fig.py +4 -2
  37. nucleardatapy/fig/astro_setupMtov_fig.py +6 -2
  38. nucleardatapy/fig/astro_setupMup_fig.py +4 -2
  39. nucleardatapy/fig/corr_setupEsymDen_fig.py +10 -4
  40. nucleardatapy/fig/corr_setupEsymLsym_fig.py +7 -3
  41. nucleardatapy/fig/corr_setupKsatQsat_fig.py +4 -2
  42. nucleardatapy/fig/crust_setupCrust_fig.py +6 -4
  43. nucleardatapy/fig/eos_setupAMBeq_fig.py +162 -134
  44. nucleardatapy/fig/eos_setupAMLeq_fig.py +35 -32
  45. nucleardatapy/fig/eos_setupAM_asy_lep_fig.py +39 -30
  46. nucleardatapy/fig/eos_setupAM_asy_nuc_fig.py +39 -30
  47. nucleardatapy/fig/eos_setupAM_asy_tot_fig.py +39 -30
  48. nucleardatapy/fig/eos_setupAM_fig.py +45 -30
  49. nucleardatapy/fig/eos_setupCC_fig.py +54 -24
  50. nucleardatapy/fig/hnuc_setupChart_fig.py +17 -14
  51. nucleardatapy/fig/hnuc_setupRE1LExp_fig.py +12 -2
  52. nucleardatapy/fig/matter_all_fig.py +55 -38
  53. nucleardatapy/fig/matter_setupCheck_fig.py +6 -3
  54. nucleardatapy/fig/matter_setupFFGLep_fig.py +13 -9
  55. nucleardatapy/fig/matter_setupFFGNuc_fig.py +22 -14
  56. nucleardatapy/fig/matter_setupHIC_fig.py +9 -9
  57. nucleardatapy/fig/matter_setupMicroEsym_fig.py +31 -30
  58. nucleardatapy/fig/matter_setupMicro_LP_fig.py +11 -5
  59. nucleardatapy/fig/matter_setupMicro_band_fig.py +11 -6
  60. nucleardatapy/fig/matter_setupMicro_effmass_fig.py +5 -4
  61. nucleardatapy/fig/matter_setupMicro_err_NM_fig.py +4 -2
  62. nucleardatapy/fig/matter_setupMicro_fig.py +30 -22
  63. nucleardatapy/fig/matter_setupMicro_gap_fig.py +22 -12
  64. nucleardatapy/fig/matter_setupNEPStats_fig.py +13 -3
  65. nucleardatapy/fig/matter_setupPhenoEsym_fig.py +28 -27
  66. nucleardatapy/fig/matter_setupPheno_fig.py +22 -17
  67. nucleardatapy/fig/nuc_setupBEExp_chart_fig.py +40 -31
  68. nucleardatapy/fig/nuc_setupBEExp_fig.py +49 -46
  69. nucleardatapy/fig/nuc_setupBETheo_fig.py +55 -50
  70. nucleardatapy/fig/nuc_setupISGMRExp_fig.py +7 -10
  71. nucleardatapy/fig/nuc_setupRchExp_fig.py +12 -20
  72. nucleardatapy/fig/nuc_setupRchTheo_fig.py +16 -20
  73. nucleardatapy/fig/nuc_setupRnpExp_fig.py +12 -0
  74. nucleardatapy/fig/nuc_setupRnpTheo_fig.py +14 -2
  75. nucleardatapy/hnuc/setup_re2L_exp.py +30 -7
  76. nucleardatapy/matter/setup_micro.py +424 -12
  77. nucleardatapy/matter/setup_micro_esym.py +46 -42
  78. nucleardatapy/matter/setup_nep.py +1 -1
  79. nucleardatapy/matter/setup_pheno.py +10 -6
  80. nucleardatapy/matter/setup_pheno_esym.py +14 -6
  81. nucleardatapy/nuc/setup_be_exp.py +4 -2
  82. nucleardatapy/nuc/setup_be_theo.py +19 -12
  83. {nucleardatapy-1.0.0.dist-info → nucleardatapy-1.0.1.dist-info}/METADATA +1 -1
  84. {nucleardatapy-1.0.0.dist-info → nucleardatapy-1.0.1.dist-info}/RECORD +87 -61
  85. {nucleardatapy-1.0.0.dist-info → nucleardatapy-1.0.1.dist-info}/WHEEL +0 -0
  86. {nucleardatapy-1.0.0.dist-info → nucleardatapy-1.0.1.dist-info}/licenses/LICENSE +0 -0
  87. {nucleardatapy-1.0.0.dist-info → nucleardatapy-1.0.1.dist-info}/top_level.txt +0 -0
@@ -5,19 +5,22 @@ import nucleardatapy as nuda
5
5
 
6
6
  def eos_setupAM_e2a_asy_lep_fig( pname, micro_mbs, pheno_models, asy, band ):
7
7
  """
8
- Plot nuclear chart (N versus Z).\
9
- The plot is 1x2 with:\
10
- [0]: nuclear chart.
8
+ Plot the leptonic contribution to the energy per nucleon in asymmetric matter controlled by the variable `asy` (defined as (N-Z)/A).
9
+
10
+ The plot is 1x2 with:
11
+
12
+ [0]: microscopic models. [1]: phenomenologic models.
11
13
 
12
14
  :param pname: name of the figure (*.png)
13
15
  :type pname: str.
14
- :param table: table.
15
- :type table: str.
16
- :param version: version of table to run on.
17
- :type version: str.
18
- :param theo_tables: object instantiated on the reference band.
19
- :type theo_tables: object.
20
-
16
+ :param micro_mbs: array with names of many-body framework for microscopic interactions.
17
+ :type micro_mbs: array of str.
18
+ :param pheno_models: array of interaction names for phenomenologic interactions.
19
+ :type pheno_models: array of str.
20
+ :param asy: asymmetry parameter defined as (N-Z)/A.
21
+ :type asy: real.
22
+ :param band: object instantiated on the reference band.
23
+ :type band: object.
21
24
  """
22
25
  #
23
26
  print(f'Plot name: {pname}')
@@ -126,19 +129,22 @@ def eos_setupAM_e2a_asy_lep_fig( pname, micro_mbs, pheno_models, asy, band ):
126
129
 
127
130
  def eos_setupAM_pre_asy_lep_fig( pname, micro_mbs, pheno_models, asy, band ):
128
131
  """
129
- Plot nuclear chart (N versus Z).\
130
- The plot is 1x2 with:\
131
- [0]: nuclear chart.
132
+ Plot the leptonic contribution to the pressure in asymmetric matter controlled by the variable `asy` (defined as (N-Z)/A).
133
+
134
+ The plot is 1x2 with:
135
+
136
+ [0]: microscopic models. [1]: phenomenologic models.
132
137
 
133
138
  :param pname: name of the figure (*.png)
134
139
  :type pname: str.
135
- :param table: table.
136
- :type table: str.
137
- :param version: version of table to run on.
138
- :type version: str.
139
- :param theo_tables: object instantiated on the reference band.
140
- :type theo_tables: object.
141
-
140
+ :param micro_mbs: array with names of many-body framework for microscopic interactions.
141
+ :type micro_mbs: array of str.
142
+ :param pheno_models: array of interaction names for phenomenologic interactions.
143
+ :type pheno_models: array of str.
144
+ :param asy: asymmetry parameter defined as (N-Z)/A.
145
+ :type asy: real.
146
+ :param band: object instantiated on the reference band.
147
+ :type band: object.
142
148
  """
143
149
  #
144
150
  print(f'Plot name: {pname}')
@@ -247,19 +253,22 @@ def eos_setupAM_pre_asy_lep_fig( pname, micro_mbs, pheno_models, asy, band ):
247
253
 
248
254
  def eos_setupAM_cs2_asy_lep_fig( pname, micro_mbs, pheno_models, asy, band ):
249
255
  """
250
- Plot nuclear chart (N versus Z).\
251
- The plot is 1x2 with:\
252
- [0]: nuclear chart.
256
+ Plot the leptonic contribution to the square of the sound speed in asymmetric matter controlled by the variable `asy` (defined as (N-Z)/A).
257
+
258
+ The plot is 1x2 with:
259
+
260
+ [0]: microscopic models. [1]: phenomenologic models.
253
261
 
254
262
  :param pname: name of the figure (*.png)
255
263
  :type pname: str.
256
- :param table: table.
257
- :type table: str.
258
- :param version: version of table to run on.
259
- :type version: str.
260
- :param theo_tables: object instantiated on the reference band.
261
- :type theo_tables: object.
262
-
264
+ :param micro_mbs: array with names of many-body framework for microscopic interactions.
265
+ :type micro_mbs: array of str.
266
+ :param pheno_models: array of interaction names for phenomenologic interactions.
267
+ :type pheno_models: array of str.
268
+ :param asy: asymmetry parameter defined as (N-Z)/A.
269
+ :type asy: real.
270
+ :param band: object instantiated on the reference band.
271
+ :type band: object.
263
272
  """
264
273
  #
265
274
  print(f'Plot name: {pname}')
@@ -5,19 +5,22 @@ import nucleardatapy as nuda
5
5
 
6
6
  def eos_setupAM_e2a_asy_nuc_fig( pname, micro_mbs, pheno_models, asy, band ):
7
7
  """
8
- Plot nuclear chart (N versus Z).\
9
- The plot is 1x2 with:\
10
- [0]: nuclear chart.
8
+ Plot the nucleon contribution to the energy per nucleon in asymmetric matter controlled by the variable `asy` (defined as (N-Z)/A).
9
+
10
+ The plot is 1x2 with:
11
+
12
+ [0]: microscopic models. [1]: phenomenologic models.
11
13
 
12
14
  :param pname: name of the figure (*.png)
13
15
  :type pname: str.
14
- :param table: table.
15
- :type table: str.
16
- :param version: version of table to run on.
17
- :type version: str.
18
- :param theo_tables: object instantiated on the reference band.
19
- :type theo_tables: object.
20
-
16
+ :param micro_mbs: array with names of many-body framework for microscopic interactions.
17
+ :type micro_mbs: array of str.
18
+ :param pheno_models: array of interaction names for phenomenologic interactions.
19
+ :type pheno_models: array of str.
20
+ :param asy: asymmetry parameter defined as (N-Z)/A.
21
+ :type asy: real.
22
+ :param band: object instantiated on the reference band.
23
+ :type band: object.
21
24
  """
22
25
  #
23
26
  print(f'Plot name: {pname}')
@@ -116,19 +119,22 @@ def eos_setupAM_e2a_asy_nuc_fig( pname, micro_mbs, pheno_models, asy, band ):
116
119
 
117
120
  def eos_setupAM_pre_asy_nuc_fig( pname, micro_mbs, pheno_models, asy, band ):
118
121
  """
119
- Plot nuclear chart (N versus Z).\
120
- The plot is 1x2 with:\
121
- [0]: nuclear chart.
122
+ Plot the nucleon contribution to the pressure in asymmetric matter controlled by the variable `asy` (defined as (N-Z)/A).
123
+
124
+ The plot is 1x2 with:
125
+
126
+ [0]: microscopic models. [1]: phenomenologic models.
122
127
 
123
128
  :param pname: name of the figure (*.png)
124
129
  :type pname: str.
125
- :param table: table.
126
- :type table: str.
127
- :param version: version of table to run on.
128
- :type version: str.
129
- :param theo_tables: object instantiated on the reference band.
130
- :type theo_tables: object.
131
-
130
+ :param micro_mbs: array with names of many-body framework for microscopic interactions.
131
+ :type micro_mbs: array of str.
132
+ :param pheno_models: array of interaction names for phenomenologic interactions.
133
+ :type pheno_models: array of str.
134
+ :param asy: asymmetry parameter defined as (N-Z)/A.
135
+ :type asy: real.
136
+ :param band: object instantiated on the reference band.
137
+ :type band: object.
132
138
  """
133
139
  #
134
140
  print(f'Plot name: {pname}')
@@ -227,19 +233,22 @@ def eos_setupAM_pre_asy_nuc_fig( pname, micro_mbs, pheno_models, asy, band ):
227
233
 
228
234
  def eos_setupAM_cs2_asy_nuc_fig( pname, micro_mbs, pheno_models, asy, band ):
229
235
  """
230
- Plot nuclear chart (N versus Z).\
231
- The plot is 1x2 with:\
232
- [0]: nuclear chart.
236
+ Plot the nucleon contribution to the square of the sound speed in asymmetric matter controlled by the variable `asy` (defined as (N-Z)/A).
237
+
238
+ The plot is 1x2 with:
239
+
240
+ [0]: microscopic models. [1]: phenomenologic models.
233
241
 
234
242
  :param pname: name of the figure (*.png)
235
243
  :type pname: str.
236
- :param table: table.
237
- :type table: str.
238
- :param version: version of table to run on.
239
- :type version: str.
240
- :param theo_tables: object instantiated on the reference band.
241
- :type theo_tables: object.
242
-
244
+ :param micro_mbs: array with names of many-body framework for microscopic interactions.
245
+ :type micro_mbs: array of str.
246
+ :param pheno_models: array of interaction names for phenomenologic interactions.
247
+ :type pheno_models: array of str.
248
+ :param asy: asymmetry parameter defined as (N-Z)/A.
249
+ :type asy: real.
250
+ :param band: object instantiated on the reference band.
251
+ :type band: object.
243
252
  """
244
253
  #
245
254
  print(f'Plot name: {pname}')
@@ -5,19 +5,22 @@ import nucleardatapy as nuda
5
5
 
6
6
  def eos_setupAM_e2a_asy_tot_fig( pname, micro_mbs, pheno_models, asy, band ):
7
7
  """
8
- Plot nuclear chart (N versus Z).\
9
- The plot is 1x2 with:\
10
- [0]: nuclear chart.
8
+ Plot the total (nucleon+leptonic) contribution to the energy per nucleon in asymmetric matter controlled by the variable `asy` (defined as (N-Z)/A).
9
+
10
+ The plot is 1x2 with:
11
+
12
+ [0]: microscopic models. [1]: phenomenologic models.
11
13
 
12
14
  :param pname: name of the figure (*.png)
13
15
  :type pname: str.
14
- :param table: table.
15
- :type table: str.
16
- :param version: version of table to run on.
17
- :type version: str.
18
- :param theo_tables: object instantiated on the reference band.
19
- :type theo_tables: object.
20
-
16
+ :param micro_mbs: array with names of many-body framework for microscopic interactions.
17
+ :type micro_mbs: array of str.
18
+ :param pheno_models: array of interaction names for phenomenologic interactions.
19
+ :type pheno_models: array of str.
20
+ :param asy: asymmetry parameter defined as (N-Z)/A.
21
+ :type asy: real.
22
+ :param band: object instantiated on the reference band.
23
+ :type band: object.
21
24
  """
22
25
  #
23
26
  print(f'Plot name: {pname}')
@@ -118,19 +121,22 @@ def eos_setupAM_e2a_asy_tot_fig( pname, micro_mbs, pheno_models, asy, band ):
118
121
 
119
122
  def eos_setupAM_pre_asy_tot_fig( pname, micro_mbs, pheno_models, asy, band ):
120
123
  """
121
- Plot nuclear chart (N versus Z).\
122
- The plot is 1x2 with:\
123
- [0]: nuclear chart.
124
+ Plot the total (nucleon+leptonic) contribution to the pressure in asymmetric matter controlled by the variable `asy` (defined as (N-Z)/A).
125
+
126
+ The plot is 1x2 with:
127
+
128
+ [0]: microscopic models. [1]: phenomenologic models.
124
129
 
125
130
  :param pname: name of the figure (*.png)
126
131
  :type pname: str.
127
- :param table: table.
128
- :type table: str.
129
- :param version: version of table to run on.
130
- :type version: str.
131
- :param theo_tables: object instantiated on the reference band.
132
- :type theo_tables: object.
133
-
132
+ :param micro_mbs: array with names of many-body framework for microscopic interactions.
133
+ :type micro_mbs: array of str.
134
+ :param pheno_models: array of interaction names for phenomenologic interactions.
135
+ :type pheno_models: array of str.
136
+ :param asy: asymmetry parameter defined as (N-Z)/A.
137
+ :type asy: real.
138
+ :param band: object instantiated on the reference band.
139
+ :type band: object.
134
140
  """
135
141
  #
136
142
  print(f'Plot name: {pname}')
@@ -231,19 +237,22 @@ def eos_setupAM_pre_asy_tot_fig( pname, micro_mbs, pheno_models, asy, band ):
231
237
 
232
238
  def eos_setupAM_cs2_asy_tot_fig( pname, micro_mbs, pheno_models, asy, band ):
233
239
  """
234
- Plot nuclear chart (N versus Z).\
235
- The plot is 1x2 with:\
236
- [0]: nuclear chart.
240
+ Plot the total (nucleon+leptonic) contribution to the square of the sound speed in asymmetric matter controlled by the variable `asy` (defined as (N-Z)/A).
241
+
242
+ The plot is 1x2 with:
243
+
244
+ [0]: microscopic models. [1]: phenomenologic models.
237
245
 
238
246
  :param pname: name of the figure (*.png)
239
247
  :type pname: str.
240
- :param table: table.
241
- :type table: str.
242
- :param version: version of table to run on.
243
- :type version: str.
244
- :param theo_tables: object instantiated on the reference band.
245
- :type theo_tables: object.
246
-
248
+ :param micro_mbs: array with names of many-body framework for microscopic interactions.
249
+ :type micro_mbs: array of str.
250
+ :param pheno_models: array of interaction names for phenomenologic interactions.
251
+ :type pheno_models: array of str.
252
+ :param asy: asymmetry parameter defined as (N-Z)/A.
253
+ :type asy: real.
254
+ :param band: object instantiated on the reference band.
255
+ :type band: object.
247
256
  """
248
257
  #
249
258
  print(f'Plot name: {pname}')
@@ -5,19 +5,24 @@ import nucleardatapy as nuda
5
5
 
6
6
  def eos_setupAM_e2a_fig( pname, micro_mbs, pheno_models, band ):
7
7
  """
8
- Plot nuclear chart (N versus Z).\
9
- The plot is 1x2 with:\
10
- [0]: nuclear chart.
8
+ Plot the nucleon, lepton and total (nucleon+leptonic) contribution to the energy per nucleon in asymmetric matter.
9
+
10
+ The plot is 2x3 with:
11
+
12
+ [0,0]: microscopic models (nucleon). [0,1]: phenomenologic models (nucleon).
13
+
14
+ [1,0]: microscopic models (lepton). [1,1]: phenomenologic models (lepton).
15
+
16
+ [2,0]: microscopic models (total). [2,1]: phenomenologic models (total).
11
17
 
12
18
  :param pname: name of the figure (*.png)
13
19
  :type pname: str.
14
- :param table: table.
15
- :type table: str.
16
- :param version: version of table to run on.
17
- :type version: str.
18
- :param theo_tables: object instantiated on the reference band.
19
- :type theo_tables: object.
20
-
20
+ :param micro_mbs: array with names of many-body framework for microscopic interactions.
21
+ :type micro_mbs: array of str.
22
+ :param pheno_models: array of interaction names for phenomenologic interactions.
23
+ :type pheno_models: array of str.
24
+ :param band: object instantiated on the reference band.
25
+ :type band: object.
21
26
  """
22
27
  #
23
28
  print(f'Plot name: {pname}')
@@ -174,19 +179,24 @@ def eos_setupAM_e2a_fig( pname, micro_mbs, pheno_models, band ):
174
179
 
175
180
  def eos_setupAM_pre_fig( pname, micro_mbs, pheno_models, band ):
176
181
  """
177
- Plot nuclear chart (N versus Z).\
178
- The plot is 1x2 with:\
179
- [0]: nuclear chart.
182
+ Plot the nucleon, lepton and total (nucleon+leptonic) contribution to the pressure in asymmetric matter.
183
+
184
+ The plot is 2x3 with:
185
+
186
+ [0,0]: microscopic models (nucleon). [0,1]: phenomenologic models (nucleon).
187
+
188
+ [1,0]: microscopic models (lepton). [1,1]: phenomenologic models (lepton).
189
+
190
+ [2,0]: microscopic models (total). [2,1]: phenomenologic models (total).
180
191
 
181
192
  :param pname: name of the figure (*.png)
182
193
  :type pname: str.
183
- :param table: table.
184
- :type table: str.
185
- :param version: version of table to run on.
186
- :type version: str.
187
- :param theo_tables: object instantiated on the reference band.
188
- :type theo_tables: object.
189
-
194
+ :param micro_mbs: array with names of many-body framework for microscopic interactions.
195
+ :type micro_mbs: array of str.
196
+ :param pheno_models: array of interaction names for phenomenologic interactions.
197
+ :type pheno_models: array of str.
198
+ :param band: object instantiated on the reference band.
199
+ :type band: object.
190
200
  """
191
201
  #
192
202
  print(f'Plot name: {pname}')
@@ -343,19 +353,24 @@ def eos_setupAM_pre_fig( pname, micro_mbs, pheno_models, band ):
343
353
 
344
354
  def eos_setupAM_cs2_fig( pname, micro_mbs, pheno_models, band ):
345
355
  """
346
- Plot nuclear chart (N versus Z).\
347
- The plot is 1x2 with:\
348
- [0]: nuclear chart.
356
+ Plot the nucleon, lepton and total (nucleon+leptonic) contribution to the square of the sound speed in asymmetric matter.
357
+
358
+ The plot is 2x3 with:
359
+
360
+ [0,0]: microscopic models (nucleon). [0,1]: phenomenologic models (nucleon).
361
+
362
+ [1,0]: microscopic models (lepton). [1,1]: phenomenologic models (lepton).
363
+
364
+ [2,0]: microscopic models (total). [2,1]: phenomenologic models (total).
349
365
 
350
366
  :param pname: name of the figure (*.png)
351
367
  :type pname: str.
352
- :param table: table.
353
- :type table: str.
354
- :param version: version of table to run on.
355
- :type version: str.
356
- :param theo_tables: object instantiated on the reference band.
357
- :type theo_tables: object.
358
-
368
+ :param micro_mbs: array with names of many-body framework for microscopic interactions.
369
+ :type micro_mbs: array of str.
370
+ :param pheno_models: array of interaction names for phenomenologic interactions.
371
+ :type pheno_models: array of str.
372
+ :param band: object instantiated on the reference band.
373
+ :type band: object.
359
374
  """
360
375
  #
361
376
  print(f'Plot name: {pname}')
@@ -5,18 +5,24 @@ import nucleardatapy as nuda
5
5
 
6
6
  def eos_setupCC_eos_fig( pname, band, crust_model, core_kind, core_model, core_param ):
7
7
  """
8
- Plot the EoS with crust and core parts.\
8
+ Plot the EoS with crust and core parts.
9
+
9
10
  The plot is 1x1.
10
11
 
12
+ [0]: pressure as a function of the energy density.
13
+
11
14
  :param pname: name of the figure (*.png)
12
15
  :type pname: str.
13
- :param table: table.
14
- :type table: str.
15
- :param version: version of table to run on.
16
- :type version: str.
17
- :param theo_tables: object instantiated on the reference band.
18
- :type theo_tables: object.
19
-
16
+ :param band: object instantiated on the reference band.
17
+ :type band: object.
18
+ :param crust_model: the name of the crust model.
19
+ :type crust_model: str.
20
+ :param core_kind: the kind of the core model ('micro' or 'pheno').
21
+ :type core_kind: str.
22
+ :param core_model: the name of the core model.
23
+ :type core_model: str.
24
+ :param core_param: the parameters of the core model.
25
+ :type core_param: str.
20
26
  """
21
27
  #
22
28
  print(f'Plot name: {pname}')
@@ -91,18 +97,30 @@ def eos_setupCC_eos_fig( pname, band, crust_model, core_kind, core_model, core_p
91
97
 
92
98
  def eos_setupCC_checkpre_fig( pname, band, crust_model, core_kind, core_model, core_param, connect, boundaries, emp ):
93
99
  """
94
- Plot the EoS with crust and core parts.\
100
+ Check the EoS with crust and core parts.
101
+
95
102
  The plot is 1x1.
96
103
 
104
+ [0]: pressure and band to check visualy.
105
+
97
106
  :param pname: name of the figure (*.png)
98
107
  :type pname: str.
99
- :param table: table.
100
- :type table: str.
101
- :param version: version of table to run on.
102
- :type version: str.
103
- :param theo_tables: object instantiated on the reference band.
104
- :type theo_tables: object.
105
-
108
+ :param band: object instantiated on the reference band.
109
+ :type band: object.
110
+ :param crust_model: the name of the crust model.
111
+ :type crust_model: str.
112
+ :param core_kind: the kind of the core model ('micro' or 'pheno').
113
+ :type core_kind: str.
114
+ :param core_model: the name of the core model.
115
+ :type core_model: str.
116
+ :param core_param: the parameters of the core model.
117
+ :type core_param: str.
118
+ :param connect: The thermodynamic quantity employed to connect the crust and the core. Can be: 'density', 'epsilon' (energy density) or 'pressure'.
119
+ :type connect: str.
120
+ :param boundaries: array with lower and upper boundaries to consider. Connected to the variable `connect`. For instance boundaries = [ 0.016, 0.16 ] for 'density' (in units of fm-3), boundaries = [ 15.0, 150.0 ] for 'epsilon' (in units of MeV fm-3), or boundaries = [ 0.1, 1.0 ] for pressure (in units of MeV fm-3).
121
+ :type boundaries: array of real.
122
+ :param emp: way to connect the crust and the core. Can be: 'None', 'simple', 'Steiner'.
123
+ :type emp: str.
106
124
  """
107
125
  #
108
126
  print(f'Plot name: {pname}')
@@ -166,18 +184,30 @@ def eos_setupCC_checkpre_fig( pname, band, crust_model, core_kind, core_model, c
166
184
 
167
185
  def eos_setupCC_checkeos_fig( pname, band, crust_model, core_kind, core_model, core_param, connect, boundaries, emp ):
168
186
  """
169
- Plot the EoS with crust and core parts.\
187
+ Check the EoS with crust and core parts.
188
+
170
189
  The plot is 1x1.
171
190
 
191
+ [0]: pressure and band to check visualy.
192
+
172
193
  :param pname: name of the figure (*.png)
173
194
  :type pname: str.
174
- :param table: table.
175
- :type table: str.
176
- :param version: version of table to run on.
177
- :type version: str.
178
- :param theo_tables: object instantiated on the reference band.
179
- :type theo_tables: object.
180
-
195
+ :param band: object instantiated on the reference band.
196
+ :type band: object.
197
+ :param crust_model: the name of the crust model.
198
+ :type crust_model: str.
199
+ :param core_kind: the kind of the core model ('micro' or 'pheno').
200
+ :type core_kind: str.
201
+ :param core_model: the name of the core model.
202
+ :type core_model: str.
203
+ :param core_param: the parameters of the core model.
204
+ :type core_param: str.
205
+ :param connect: The thermodynamic quantity employed to connect the crust and the core. Can be: 'density', 'epsilon' (energy density) or 'pressure'.
206
+ :type connect: str.
207
+ :param boundaries: array with lower and upper boundaries to consider. Connected to the variable `connect`. For instance boundaries = [ 0.016, 0.16 ] for 'density' (in units of fm-3), boundaries = [ 15.0, 150.0 ] for 'epsilon' (in units of MeV fm-3), or boundaries = [ 0.1, 1.0 ] for pressure (in units of MeV fm-3).
208
+ :type boundaries: array of real.
209
+ :param emp: way to connect the crust and the core. Can be: 'None', 'simple', 'Steiner'.
210
+ :type emp: str.
181
211
  """
182
212
  #
183
213
  print(f'Plot name: {pname}')
@@ -3,29 +3,26 @@ import matplotlib.pyplot as plt
3
3
 
4
4
  import nucleardatapy as nuda
5
5
 
6
- def hnuc_setupChart_fig( pname, table1L, table2L, table1Xi ):
6
+ def hnuc_setupChart_fig( pname, tables1L, tables2L, tables1Xi ):
7
7
  """
8
- Plot hyper-nuclear chart (N versus Z).\
9
- The plot is 1x1 with:\
8
+ Plot hyper-nuclear chart (N versus Z).
9
+
10
+ The plot is 1x1 with:
11
+
10
12
  [0]: nuclear chart.
11
13
 
12
14
  :param pname: name of the figure (*.png)
13
15
  :type pname: str.
14
16
  :param table1L: table.
15
- :type table1L: str.
17
+ :type table1L: array of str.
16
18
  :param table2L: table.
17
- :type table2L: str.
19
+ :type table2L: array of str.
18
20
  :param table1Xi: table.
19
- :type table1Xi: str.
20
-
21
+ :type table1Xi: array of str.
21
22
  """
22
23
  #
23
24
  print(f'Plot name: {pname}')
24
25
  #
25
- hnuc1L = nuda.hnuc.setupRE1LExp( table = table1L )
26
- hnuc2L = nuda.hnuc.setupRE2LExp( table = table2L )
27
- hnuc1Xi = nuda.hnuc.setupRE1XiExp( table = table1Xi )
28
- #
29
26
  # plot
30
27
  #
31
28
  fig, axs = plt.subplots(1,1)
@@ -39,9 +36,15 @@ def hnuc_setupChart_fig( pname, table1L, table2L, table1Xi ):
39
36
  axs.set_xlim([0.8, 140])
40
37
  axs.set_ylim([0.8, 90.0])
41
38
  #
42
- axs.scatter( hnuc1L.N, hnuc1L.Z, marker='s', s=12, color=nuda.param.col[0], label=r'1$\Lambda$ from table '+table1L )
43
- axs.scatter( hnuc2L.N+0.05, hnuc2L.Z+0.05, marker='s', s=12, color=nuda.param.col[1], label=r'2$\Lambda$ from table '+table2L )
44
- axs.scatter( hnuc1Xi.N+0.1, hnuc1Xi.Z+0.1, marker='s', s=12, color=nuda.param.col[2], label=r'1$\Xi^{-}$ from table '+table1Xi )
39
+ for table1L in tables1L:
40
+ hnuc1L = nuda.hnuc.setupRE1LExp( table = table1L )
41
+ axs.scatter( hnuc1L.N, hnuc1L.Z, marker='s', s=12, color=nuda.param.col[0], label=r'1$\Lambda$ from table '+table1L )
42
+ for table2L in tables2L:
43
+ hnuc2L = nuda.hnuc.setupRE2LExp( table = table2L )
44
+ axs.scatter( hnuc2L.N+0.05, hnuc2L.Z+0.05, marker='s', s=12, color=nuda.param.col[1], label=r'2$\Lambda$ from table '+table2L )
45
+ for table1Xi in tables1Xi:
46
+ hnuc1Xi = nuda.hnuc.setupRE1XiExp( table = table1Xi )
47
+ axs.scatter( hnuc1Xi.N+0.1, hnuc1Xi.Z+0.1, marker='s', s=12, color=nuda.param.col[2], label=r'1$\Xi^{-}$ from table '+table1Xi )
45
48
  #
46
49
  #axs.text(0.15,12,r'$K_{sym}$='+str(int(Ksym))+' MeV',fontsize='12')
47
50
  axs.legend(loc='lower right',fontsize='11',ncol=1)
@@ -4,8 +4,18 @@ import matplotlib.pyplot as plt
4
4
  import nucleardatapy as nuda
5
5
 
6
6
  def hnuc_setupRE1LExp_fig( pname, tables ):
7
- #
8
- # plot
7
+ """
8
+ Plot the removal energies as a function of A^{-2/3}.
9
+
10
+ The plot is 1x1 with:
11
+
12
+ [0]: nuclear chart.
13
+
14
+ :param pname: name of the figure (*.png)
15
+ :type pname: str.
16
+ :param tables: table.
17
+ :type tables: str.
18
+ """
9
19
  #
10
20
  fig, axs = plt.subplots(1,1)
11
21
  fig.tight_layout() # Or equivalently, "plt.tight_layout()"