nucleardatapy 1.0.0__py3-none-any.whl → 1.0.2__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.
- nucleardatapy/astro/setup_mr.py +115 -33
- nucleardatapy/create_folder.py +2 -2
- nucleardatapy/crust/setup_crust.py +5 -5
- nucleardatapy/data/astro/HESS/J1731-347.dat +4 -0
- nucleardatapy/data/astro/NICER/J0030+0451.dat +6 -6
- nucleardatapy/data/astro/NICER/J0437-4715.dat +4 -3
- nucleardatapy/data/astro/NICER/J0614-3329.dat +4 -0
- nucleardatapy/data/astro/NICER/J0740+6620.dat +5 -5
- nucleardatapy/data/hnuclei/1991-2L-Yamamoto.csv +6 -0
- nucleardatapy/data/hnuclei/2013-2L-Ahn.csv +1 -1
- nucleardatapy/data/hnuclei/2019-2L-Ekawa.csv +7 -0
- nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-414-E2A.dat +21 -0
- nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-414-TD.dat +22 -0
- nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-450-E2A.dat +20 -0
- nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-450-TD.dat +22 -0
- nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-500-E2A.dat +23 -0
- nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-500-TD.dat +22 -0
- nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-414-E2A.dat +15 -0
- nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-414-TD.dat +21 -0
- nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-450-E2A.dat +15 -0
- nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-450-TD.dat +21 -0
- nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-500-E2A.dat +20 -0
- nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-500-TD.dat +20 -0
- nucleardatapy/data/matter/micro/2024-ABI-NM-DeltaNNLO450.dat +28 -0
- nucleardatapy/data/matter/micro/2024-ABI-NM-DeltaNNLO500.dat +28 -0
- nucleardatapy/data/matter/micro/2024-ABI-NM-DeltaNNLOgo394.dat +28 -0
- nucleardatapy/data/matter/micro/2024-ABI-NM-DeltaNNLOgo450.dat +28 -0
- nucleardatapy/data/matter/micro/2024-ABI-NM-NNLOsat.dat +28 -0
- nucleardatapy/data/matter/micro/2024-ABI-SM-DeltaNNLO450.dat +28 -0
- nucleardatapy/data/matter/micro/2024-ABI-SM-DeltaNNLO500.dat +28 -0
- nucleardatapy/data/matter/micro/2024-ABI-SM-DeltaNNLOgo394.dat +28 -0
- nucleardatapy/data/matter/micro/2024-ABI-SM-DeltaNNLOgo450.dat +28 -0
- nucleardatapy/data/matter/micro/2024-ABI-SM-NNLOsat.dat +28 -0
- nucleardatapy/fig/astro_setupGW_fig.py +4 -2
- nucleardatapy/fig/astro_setupMR_fig.py +14 -8
- nucleardatapy/fig/astro_setupMasses_fig.py +4 -2
- nucleardatapy/fig/astro_setupMtov_fig.py +6 -2
- nucleardatapy/fig/astro_setupMup_fig.py +4 -2
- nucleardatapy/fig/corr_setupEsymDen_fig.py +10 -4
- nucleardatapy/fig/corr_setupEsymLsym_fig.py +7 -3
- nucleardatapy/fig/corr_setupKsatQsat_fig.py +4 -2
- nucleardatapy/fig/crust_setupCrust_fig.py +6 -4
- nucleardatapy/fig/eos_setupAMBeq_fig.py +162 -134
- nucleardatapy/fig/eos_setupAMLeq_fig.py +35 -32
- nucleardatapy/fig/eos_setupAM_asy_lep_fig.py +39 -30
- nucleardatapy/fig/eos_setupAM_asy_nuc_fig.py +39 -30
- nucleardatapy/fig/eos_setupAM_asy_tot_fig.py +39 -30
- nucleardatapy/fig/eos_setupAM_fig.py +45 -30
- nucleardatapy/fig/eos_setupCC_fig.py +54 -24
- nucleardatapy/fig/hnuc_setupChart_fig.py +20 -16
- nucleardatapy/fig/hnuc_setupRE1LExp_fig.py +12 -2
- nucleardatapy/fig/matter_all_fig.py +55 -38
- nucleardatapy/fig/matter_setupCheck_fig.py +6 -3
- nucleardatapy/fig/matter_setupFFGLep_fig.py +13 -9
- nucleardatapy/fig/matter_setupFFGNuc_fig.py +22 -14
- nucleardatapy/fig/matter_setupHIC_fig.py +9 -9
- nucleardatapy/fig/matter_setupMicroEsym_fig.py +31 -30
- nucleardatapy/fig/matter_setupMicro_LP_fig.py +11 -5
- nucleardatapy/fig/matter_setupMicro_band_fig.py +11 -6
- nucleardatapy/fig/matter_setupMicro_effmass_fig.py +5 -4
- nucleardatapy/fig/matter_setupMicro_err_NM_fig.py +4 -2
- nucleardatapy/fig/matter_setupMicro_fig.py +30 -22
- nucleardatapy/fig/matter_setupMicro_gap_fig.py +22 -12
- nucleardatapy/fig/matter_setupNEPStats_fig.py +13 -3
- nucleardatapy/fig/matter_setupPhenoEsym_fig.py +28 -27
- nucleardatapy/fig/matter_setupPheno_fig.py +22 -17
- nucleardatapy/fig/nuc_setupBEExp_chart_fig.py +67 -37
- nucleardatapy/fig/nuc_setupBEExp_fig.py +49 -46
- nucleardatapy/fig/nuc_setupBETheo_fig.py +55 -50
- nucleardatapy/fig/nuc_setupISGMRExp_fig.py +7 -10
- nucleardatapy/fig/nuc_setupRchExp_fig.py +12 -20
- nucleardatapy/fig/nuc_setupRchTheo_fig.py +16 -20
- nucleardatapy/fig/nuc_setupRnpExp_fig.py +12 -0
- nucleardatapy/fig/nuc_setupRnpTheo_fig.py +14 -2
- nucleardatapy/hnuc/setup_re2L_exp.py +30 -7
- nucleardatapy/matter/setup_micro.py +424 -12
- nucleardatapy/matter/setup_micro_band.py +1 -1
- nucleardatapy/matter/setup_micro_esym.py +46 -42
- nucleardatapy/matter/setup_nep.py +1 -1
- nucleardatapy/matter/setup_pheno.py +10 -6
- nucleardatapy/matter/setup_pheno_esym.py +14 -6
- nucleardatapy/nuc/setup_be_exp.py +4 -2
- nucleardatapy/nuc/setup_be_theo.py +101 -215
- {nucleardatapy-1.0.0.dist-info → nucleardatapy-1.0.2.dist-info}/METADATA +1 -1
- {nucleardatapy-1.0.0.dist-info → nucleardatapy-1.0.2.dist-info}/RECORD +88 -62
- {nucleardatapy-1.0.0.dist-info → nucleardatapy-1.0.2.dist-info}/WHEEL +1 -1
- {nucleardatapy-1.0.0.dist-info → nucleardatapy-1.0.2.dist-info}/licenses/LICENSE +0 -0
- {nucleardatapy-1.0.0.dist-info → nucleardatapy-1.0.2.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
|
|
9
|
-
|
|
10
|
-
|
|
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
|
|
15
|
-
:type
|
|
16
|
-
:param
|
|
17
|
-
:type
|
|
18
|
-
:param
|
|
19
|
-
:type
|
|
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
|
|
130
|
-
|
|
131
|
-
|
|
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
|
|
136
|
-
:type
|
|
137
|
-
:param
|
|
138
|
-
:type
|
|
139
|
-
:param
|
|
140
|
-
:type
|
|
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
|
|
251
|
-
|
|
252
|
-
|
|
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
|
|
257
|
-
:type
|
|
258
|
-
:param
|
|
259
|
-
:type
|
|
260
|
-
:param
|
|
261
|
-
:type
|
|
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
|
|
9
|
-
|
|
10
|
-
|
|
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
|
|
15
|
-
:type
|
|
16
|
-
:param
|
|
17
|
-
:type
|
|
18
|
-
:param
|
|
19
|
-
:type
|
|
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
|
|
120
|
-
|
|
121
|
-
|
|
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
|
|
126
|
-
:type
|
|
127
|
-
:param
|
|
128
|
-
:type
|
|
129
|
-
:param
|
|
130
|
-
:type
|
|
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
|
|
231
|
-
|
|
232
|
-
|
|
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
|
|
237
|
-
:type
|
|
238
|
-
:param
|
|
239
|
-
:type
|
|
240
|
-
:param
|
|
241
|
-
:type
|
|
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
|
|
9
|
-
|
|
10
|
-
|
|
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
|
|
15
|
-
:type
|
|
16
|
-
:param
|
|
17
|
-
:type
|
|
18
|
-
:param
|
|
19
|
-
:type
|
|
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
|
|
122
|
-
|
|
123
|
-
|
|
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
|
|
128
|
-
:type
|
|
129
|
-
:param
|
|
130
|
-
:type
|
|
131
|
-
:param
|
|
132
|
-
:type
|
|
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
|
|
235
|
-
|
|
236
|
-
|
|
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
|
|
241
|
-
:type
|
|
242
|
-
:param
|
|
243
|
-
:type
|
|
244
|
-
:param
|
|
245
|
-
:type
|
|
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
|
|
9
|
-
|
|
10
|
-
|
|
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
|
|
15
|
-
:type
|
|
16
|
-
:param
|
|
17
|
-
:type
|
|
18
|
-
:param
|
|
19
|
-
:type
|
|
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
|
|
178
|
-
|
|
179
|
-
|
|
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
|
|
184
|
-
:type
|
|
185
|
-
:param
|
|
186
|
-
:type
|
|
187
|
-
:param
|
|
188
|
-
:type
|
|
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
|
|
347
|
-
|
|
348
|
-
|
|
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
|
|
353
|
-
:type
|
|
354
|
-
:param
|
|
355
|
-
:type
|
|
356
|
-
:param
|
|
357
|
-
:type
|
|
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
|
|
14
|
-
:type
|
|
15
|
-
:param
|
|
16
|
-
:type
|
|
17
|
-
:param
|
|
18
|
-
:type
|
|
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
|
-
|
|
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
|
|
100
|
-
:type
|
|
101
|
-
:param
|
|
102
|
-
:type
|
|
103
|
-
:param
|
|
104
|
-
:type
|
|
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
|
-
|
|
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
|
|
175
|
-
:type
|
|
176
|
-
:param
|
|
177
|
-
:type
|
|
178
|
-
:param
|
|
179
|
-
:type
|
|
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,
|
|
6
|
+
def hnuc_setupChart_fig( pname, tables1L, tables2L, tables1Xi ):
|
|
7
7
|
"""
|
|
8
|
-
Plot hyper-nuclear chart (N versus Z)
|
|
9
|
-
|
|
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,16 @@ 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
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
for table1L in tables1L:
|
|
40
|
+
print(f'Processing table: {table1L}')
|
|
41
|
+
hnuc1L = nuda.hnuc.setupRE1LExp( table = table1L )
|
|
42
|
+
axs.scatter( hnuc1L.N, hnuc1L.Z, marker='s', s=12, color=nuda.param.col[0], label=r'1$\Lambda$ from table '+table1L )
|
|
43
|
+
for table2L in tables2L:
|
|
44
|
+
hnuc2L = nuda.hnuc.setupRE2LExp( table = table2L )
|
|
45
|
+
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 )
|
|
46
|
+
for table1Xi in tables1Xi:
|
|
47
|
+
hnuc1Xi = nuda.hnuc.setupRE1XiExp( table = table1Xi )
|
|
48
|
+
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
49
|
#
|
|
46
50
|
#axs.text(0.15,12,r'$K_{sym}$='+str(int(Ksym))+' MeV',fontsize='12')
|
|
47
51
|
axs.legend(loc='lower right',fontsize='11',ncol=1)
|
|
@@ -49,6 +53,6 @@ def hnuc_setupChart_fig( pname, table1L, table2L, table1Xi ):
|
|
|
49
53
|
axs.text(1.1,60,'Chart of hypernuclides in nuda toolkit',fontsize='14')
|
|
50
54
|
#
|
|
51
55
|
if pname is not None:
|
|
52
|
-
|
|
53
|
-
|
|
56
|
+
plt.savefig(pname, dpi=200)
|
|
57
|
+
plt.close()
|
|
54
58
|
#
|
|
@@ -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
|
-
|
|
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()"
|