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,20 @@ import nucleardatapy as nuda
|
|
|
5
5
|
|
|
6
6
|
def eos_setupAMBeq_e2a_nuc_fig( pname, micro_mbs, pheno_models, band ):
|
|
7
7
|
"""
|
|
8
|
-
Plot
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
Plot the nucleon contribution to the energy per nucleon in asymmetric matter at beta equilibrium.
|
|
9
|
+
|
|
10
|
+
The plot is 2x1 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 band: object instantiated on the reference band.
|
|
21
|
+
:type band: object.
|
|
21
22
|
"""
|
|
22
23
|
#
|
|
23
24
|
print(f'Plot name: {pname}')
|
|
@@ -108,7 +109,7 @@ def eos_setupAMBeq_e2a_nuc_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
108
109
|
#
|
|
109
110
|
axs[1].text(0.02,20,'phenomenological models',fontsize='10')
|
|
110
111
|
#
|
|
111
|
-
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=
|
|
112
|
+
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=6,frameon=False)
|
|
112
113
|
#
|
|
113
114
|
if pname is not None:
|
|
114
115
|
plt.savefig(pname, dpi=200)
|
|
@@ -116,19 +117,20 @@ def eos_setupAMBeq_e2a_nuc_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
116
117
|
|
|
117
118
|
def eos_setupAMBeq_pre_nuc_fig( pname, micro_mbs, pheno_models, band ):
|
|
118
119
|
"""
|
|
119
|
-
Plot
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
Plot the nucleon contribution to the pressure in asymmetric matter at beta equilibrium.
|
|
121
|
+
|
|
122
|
+
The plot is 2x1 with:
|
|
123
|
+
|
|
124
|
+
[0]: microscopic models. [1]: phenomenologic models.
|
|
122
125
|
|
|
123
126
|
:param pname: name of the figure (*.png)
|
|
124
127
|
:type pname: str.
|
|
125
|
-
:param
|
|
126
|
-
:type
|
|
127
|
-
:param
|
|
128
|
-
:type
|
|
129
|
-
:param
|
|
130
|
-
:type
|
|
131
|
-
|
|
128
|
+
:param micro_mbs: array with names of many-body framework for microscopic interactions.
|
|
129
|
+
:type micro_mbs: array of str.
|
|
130
|
+
:param pheno_models: array of interaction names for phenomenologic interactions.
|
|
131
|
+
:type pheno_models: array of str.
|
|
132
|
+
:param band: object instantiated on the reference band.
|
|
133
|
+
:type band: object.
|
|
132
134
|
"""
|
|
133
135
|
#
|
|
134
136
|
print(f'Plot name: {pname}')
|
|
@@ -218,7 +220,7 @@ def eos_setupAMBeq_pre_nuc_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
218
220
|
#
|
|
219
221
|
axs[1].text(0.02,20,'phenomenological models',fontsize='10')
|
|
220
222
|
#
|
|
221
|
-
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=
|
|
223
|
+
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=6,frameon=False)
|
|
222
224
|
#
|
|
223
225
|
if pname is not None:
|
|
224
226
|
plt.savefig(pname, dpi=200)
|
|
@@ -226,19 +228,20 @@ def eos_setupAMBeq_pre_nuc_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
226
228
|
|
|
227
229
|
def eos_setupAMBeq_cs2_nuc_fig( pname, micro_mbs, pheno_models, band ):
|
|
228
230
|
"""
|
|
229
|
-
Plot
|
|
230
|
-
|
|
231
|
-
|
|
231
|
+
Plot the nucleon contribution to the square of the sound speed in asymmetric matter at beta equilibrium.
|
|
232
|
+
|
|
233
|
+
The plot is 2x1 with:
|
|
234
|
+
|
|
235
|
+
[0]: microscopic models. [1]: phenomenologic models.
|
|
232
236
|
|
|
233
237
|
:param pname: name of the figure (*.png)
|
|
234
238
|
:type pname: str.
|
|
235
|
-
:param
|
|
236
|
-
:type
|
|
237
|
-
:param
|
|
238
|
-
:type
|
|
239
|
-
:param
|
|
240
|
-
:type
|
|
241
|
-
|
|
239
|
+
:param micro_mbs: array with names of many-body framework for microscopic interactions.
|
|
240
|
+
:type micro_mbs: array of str.
|
|
241
|
+
:param pheno_models: array of interaction names for phenomenologic interactions.
|
|
242
|
+
:type pheno_models: array of str.
|
|
243
|
+
:param band: object instantiated on the reference band.
|
|
244
|
+
:type band: object.
|
|
242
245
|
"""
|
|
243
246
|
#
|
|
244
247
|
print(f'Plot name: {pname}')
|
|
@@ -328,7 +331,7 @@ def eos_setupAMBeq_cs2_nuc_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
328
331
|
#
|
|
329
332
|
axs[1].text(0.02,0.2,'phenomenological models',fontsize='10')
|
|
330
333
|
#
|
|
331
|
-
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=
|
|
334
|
+
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=6,frameon=False)
|
|
332
335
|
#
|
|
333
336
|
if pname is not None:
|
|
334
337
|
plt.savefig(pname, dpi=200)
|
|
@@ -336,19 +339,20 @@ def eos_setupAMBeq_cs2_nuc_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
336
339
|
|
|
337
340
|
def eos_setupAMBeq_e2a_lep_fig( pname, micro_mbs, pheno_models, band ):
|
|
338
341
|
"""
|
|
339
|
-
Plot
|
|
340
|
-
|
|
341
|
-
|
|
342
|
+
Plot the lepton contribution to the energy per nucleon in asymmetric matter at beta equilibrium.
|
|
343
|
+
|
|
344
|
+
The plot is 2x1 with:
|
|
345
|
+
|
|
346
|
+
[0]: microscopic models. [1]: phenomenologic models.
|
|
342
347
|
|
|
343
348
|
:param pname: name of the figure (*.png)
|
|
344
349
|
:type pname: str.
|
|
345
|
-
:param
|
|
346
|
-
:type
|
|
347
|
-
:param
|
|
348
|
-
:type
|
|
349
|
-
:param
|
|
350
|
-
:type
|
|
351
|
-
|
|
350
|
+
:param micro_mbs: array with names of many-body framework for microscopic interactions.
|
|
351
|
+
:type micro_mbs: array of str.
|
|
352
|
+
:param pheno_models: array of interaction names for phenomenologic interactions.
|
|
353
|
+
:type pheno_models: array of str.
|
|
354
|
+
:param band: object instantiated on the reference band.
|
|
355
|
+
:type band: object.
|
|
352
356
|
"""
|
|
353
357
|
#
|
|
354
358
|
print(f'Plot name: {pname}')
|
|
@@ -358,7 +362,7 @@ def eos_setupAMBeq_e2a_lep_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
358
362
|
fig.subplots_adjust(left=0.12, bottom=0.12, right=0.95, top=0.90, wspace=0.05, hspace=0.05 )
|
|
359
363
|
#
|
|
360
364
|
axs[0].set_xlabel(r'$n_\text{nuc}$ (fm$^{-3}$)',fontsize='14')
|
|
361
|
-
axs[0].set_ylabel(r'$
|
|
365
|
+
axs[0].set_ylabel(r'$e_\text{lep}^\text{int}$ (MeV)',fontsize='14')
|
|
362
366
|
axs[0].set_xlim([0, 0.33])
|
|
363
367
|
axs[0].set_ylim([-2, 27])
|
|
364
368
|
#axs[0].set_tick_params('y', right=True)
|
|
@@ -441,7 +445,7 @@ def eos_setupAMBeq_e2a_lep_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
441
445
|
#
|
|
442
446
|
axs[1].text(0.02,20,'phenomenological models',fontsize='10')
|
|
443
447
|
#
|
|
444
|
-
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=
|
|
448
|
+
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=6,frameon=False)
|
|
445
449
|
#
|
|
446
450
|
if pname is not None:
|
|
447
451
|
plt.savefig(pname, dpi=200)
|
|
@@ -449,19 +453,20 @@ def eos_setupAMBeq_e2a_lep_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
449
453
|
|
|
450
454
|
def eos_setupAMBeq_pre_lep_fig( pname, micro_mbs, pheno_models, band ):
|
|
451
455
|
"""
|
|
452
|
-
Plot
|
|
453
|
-
|
|
454
|
-
|
|
456
|
+
Plot the lepton contribution to the pressure in asymmetric matter at beta equilibrium.
|
|
457
|
+
|
|
458
|
+
The plot is 2x1 with:
|
|
459
|
+
|
|
460
|
+
[0]: microscopic models. [1]: phenomenologic models.
|
|
455
461
|
|
|
456
462
|
:param pname: name of the figure (*.png)
|
|
457
463
|
:type pname: str.
|
|
458
|
-
:param
|
|
459
|
-
:type
|
|
460
|
-
:param
|
|
461
|
-
:type
|
|
462
|
-
:param
|
|
463
|
-
:type
|
|
464
|
-
|
|
464
|
+
:param micro_mbs: array with names of many-body framework for microscopic interactions.
|
|
465
|
+
:type micro_mbs: array of str.
|
|
466
|
+
:param pheno_models: array of interaction names for phenomenologic interactions.
|
|
467
|
+
:type pheno_models: array of str.
|
|
468
|
+
:param band: object instantiated on the reference band.
|
|
469
|
+
:type band: object.
|
|
465
470
|
"""
|
|
466
471
|
#
|
|
467
472
|
print(f'Plot name: {pname}')
|
|
@@ -553,7 +558,7 @@ def eos_setupAMBeq_pre_lep_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
553
558
|
#
|
|
554
559
|
axs[1].text(0.02,20,'phenomenological models',fontsize='10')
|
|
555
560
|
#
|
|
556
|
-
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=
|
|
561
|
+
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=6,frameon=False)
|
|
557
562
|
#
|
|
558
563
|
if pname is not None:
|
|
559
564
|
plt.savefig(pname, dpi=200)
|
|
@@ -561,19 +566,20 @@ def eos_setupAMBeq_pre_lep_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
561
566
|
|
|
562
567
|
def eos_setupAMBeq_cs2_lep_fig( pname, micro_mbs, pheno_models, band ):
|
|
563
568
|
"""
|
|
564
|
-
Plot
|
|
565
|
-
|
|
566
|
-
|
|
569
|
+
Plot the lepton contribution to the square of the sound speed in asymmetric matter at beta equilibrium.
|
|
570
|
+
|
|
571
|
+
The plot is 2x1 with:
|
|
572
|
+
|
|
573
|
+
[0]: microscopic models. [1]: phenomenologic models.
|
|
567
574
|
|
|
568
575
|
:param pname: name of the figure (*.png)
|
|
569
576
|
:type pname: str.
|
|
570
|
-
:param
|
|
571
|
-
:type
|
|
572
|
-
:param
|
|
573
|
-
:type
|
|
574
|
-
:param
|
|
575
|
-
:type
|
|
576
|
-
|
|
577
|
+
:param micro_mbs: array with names of many-body framework for microscopic interactions.
|
|
578
|
+
:type micro_mbs: array of str.
|
|
579
|
+
:param pheno_models: array of interaction names for phenomenologic interactions.
|
|
580
|
+
:type pheno_models: array of str.
|
|
581
|
+
:param band: object instantiated on the reference band.
|
|
582
|
+
:type band: object.
|
|
577
583
|
"""
|
|
578
584
|
#
|
|
579
585
|
print(f'Plot name: {pname}')
|
|
@@ -665,7 +671,7 @@ def eos_setupAMBeq_cs2_lep_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
665
671
|
#
|
|
666
672
|
axs[1].text(0.02,0.45,'phenomenological models',fontsize='10')
|
|
667
673
|
#
|
|
668
|
-
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=
|
|
674
|
+
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=6,frameon=False)
|
|
669
675
|
#
|
|
670
676
|
if pname is not None:
|
|
671
677
|
plt.savefig(pname, dpi=200)
|
|
@@ -674,19 +680,20 @@ def eos_setupAMBeq_cs2_lep_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
674
680
|
|
|
675
681
|
def eos_setupAMBeq_e2a_tot_fig( pname, micro_mbs, pheno_models, band ):
|
|
676
682
|
"""
|
|
677
|
-
Plot
|
|
678
|
-
|
|
679
|
-
|
|
683
|
+
Plot the total (=nucleon+lepton) contribution to the energy per nucleon in asymmetric matter at beta equilibrium.
|
|
684
|
+
|
|
685
|
+
The plot is 2x1 with:
|
|
686
|
+
|
|
687
|
+
[0]: microscopic models. [1]: phenomenologic models.
|
|
680
688
|
|
|
681
689
|
:param pname: name of the figure (*.png)
|
|
682
690
|
:type pname: str.
|
|
683
|
-
:param
|
|
684
|
-
:type
|
|
685
|
-
:param
|
|
686
|
-
:type
|
|
687
|
-
:param
|
|
688
|
-
:type
|
|
689
|
-
|
|
691
|
+
:param micro_mbs: array with names of many-body framework for microscopic interactions.
|
|
692
|
+
:type micro_mbs: array of str.
|
|
693
|
+
:param pheno_models: array of interaction names for phenomenologic interactions.
|
|
694
|
+
:type pheno_models: array of str.
|
|
695
|
+
:param band: object instantiated on the reference band.
|
|
696
|
+
:type band: object.
|
|
690
697
|
"""
|
|
691
698
|
#
|
|
692
699
|
print(f'Plot name: {pname}')
|
|
@@ -777,7 +784,7 @@ def eos_setupAMBeq_e2a_tot_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
777
784
|
#
|
|
778
785
|
axs[1].text(0.02,20,'phenomenological models',fontsize='10')
|
|
779
786
|
#
|
|
780
|
-
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=
|
|
787
|
+
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=6,frameon=False)
|
|
781
788
|
#
|
|
782
789
|
if pname is not None:
|
|
783
790
|
plt.savefig(pname, dpi=200)
|
|
@@ -785,19 +792,20 @@ def eos_setupAMBeq_e2a_tot_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
785
792
|
|
|
786
793
|
def eos_setupAMBeq_pre_tot_fig( pname, micro_mbs, pheno_models, band ):
|
|
787
794
|
"""
|
|
788
|
-
Plot
|
|
789
|
-
|
|
790
|
-
|
|
795
|
+
Plot the total (=nucleon+lepton) contribution to the pressure in asymmetric matter at beta equilibrium.
|
|
796
|
+
|
|
797
|
+
The plot is 2x1 with:
|
|
798
|
+
|
|
799
|
+
[0]: microscopic models. [1]: phenomenologic models.
|
|
791
800
|
|
|
792
801
|
:param pname: name of the figure (*.png)
|
|
793
802
|
:type pname: str.
|
|
794
|
-
:param
|
|
795
|
-
:type
|
|
796
|
-
:param
|
|
797
|
-
:type
|
|
798
|
-
:param
|
|
799
|
-
:type
|
|
800
|
-
|
|
803
|
+
:param micro_mbs: array with names of many-body framework for microscopic interactions.
|
|
804
|
+
:type micro_mbs: array of str.
|
|
805
|
+
:param pheno_models: array of interaction names for phenomenologic interactions.
|
|
806
|
+
:type pheno_models: array of str.
|
|
807
|
+
:param band: object instantiated on the reference band.
|
|
808
|
+
:type band: object.
|
|
801
809
|
"""
|
|
802
810
|
#
|
|
803
811
|
print(f'Plot name: {pname}')
|
|
@@ -901,7 +909,7 @@ def eos_setupAMBeq_pre_tot_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
901
909
|
axs[1].errorbar( p_den+0.005, p_pheno_cen, yerr=p_pheno_std, color='r' )
|
|
902
910
|
axs[1].text(0.02,20,'phenomenological models',fontsize='10')
|
|
903
911
|
#
|
|
904
|
-
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=
|
|
912
|
+
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=6,frameon=False)
|
|
905
913
|
#
|
|
906
914
|
if pname is not None:
|
|
907
915
|
plt.savefig(pname, dpi=200)
|
|
@@ -909,19 +917,20 @@ def eos_setupAMBeq_pre_tot_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
909
917
|
|
|
910
918
|
def eos_setupAMBeq_cs2_tot_fig( pname, micro_mbs, pheno_models, band ):
|
|
911
919
|
"""
|
|
912
|
-
Plot
|
|
913
|
-
|
|
914
|
-
|
|
920
|
+
Plot the total (=nucleon+lepton) contribution to the square of the sound speed in asymmetric matter at beta equilibrium.
|
|
921
|
+
|
|
922
|
+
The plot is 2x1 with:
|
|
923
|
+
|
|
924
|
+
[0]: microscopic models. [1]: phenomenologic models.
|
|
915
925
|
|
|
916
926
|
:param pname: name of the figure (*.png)
|
|
917
927
|
:type pname: str.
|
|
918
|
-
:param
|
|
919
|
-
:type
|
|
920
|
-
:param
|
|
921
|
-
:type
|
|
922
|
-
:param
|
|
923
|
-
:type
|
|
924
|
-
|
|
928
|
+
:param micro_mbs: array with names of many-body framework for microscopic interactions.
|
|
929
|
+
:type micro_mbs: array of str.
|
|
930
|
+
:param pheno_models: array of interaction names for phenomenologic interactions.
|
|
931
|
+
:type pheno_models: array of str.
|
|
932
|
+
:param band: object instantiated on the reference band.
|
|
933
|
+
:type band: object.
|
|
925
934
|
"""
|
|
926
935
|
#
|
|
927
936
|
print(f'Plot name: {pname}')
|
|
@@ -1011,7 +1020,7 @@ def eos_setupAMBeq_cs2_tot_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
1011
1020
|
# end of model
|
|
1012
1021
|
axs[1].text(0.02,0.2,'phenomenological models',fontsize='10')
|
|
1013
1022
|
#
|
|
1014
|
-
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=
|
|
1023
|
+
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=6,frameon=False)
|
|
1015
1024
|
#
|
|
1016
1025
|
if pname is not None:
|
|
1017
1026
|
plt.savefig(pname, dpi=200)
|
|
@@ -1019,6 +1028,22 @@ def eos_setupAMBeq_cs2_tot_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
1019
1028
|
|
|
1020
1029
|
def eos_setupAMBeq_eos_fig( pname, micro_mbs, pheno_models, band ):
|
|
1021
1030
|
"""
|
|
1031
|
+
Plot the equation of state in asymmetric matter at beta equilibrium.
|
|
1032
|
+
|
|
1033
|
+
The plot is 2x1 with:
|
|
1034
|
+
|
|
1035
|
+
[0]: microscopic models. [1]: phenomenologic models.
|
|
1036
|
+
|
|
1037
|
+
:param pname: name of the figure (*.png)
|
|
1038
|
+
:type pname: str.
|
|
1039
|
+
:param micro_mbs: array with names of many-body framework for microscopic interactions.
|
|
1040
|
+
:type micro_mbs: array of str.
|
|
1041
|
+
:param pheno_models: array of interaction names for phenomenologic interactions.
|
|
1042
|
+
:type pheno_models: array of str.
|
|
1043
|
+
:param band: object instantiated on the reference band.
|
|
1044
|
+
:type band: object.
|
|
1045
|
+
|
|
1046
|
+
|
|
1022
1047
|
Plot nuclear chart (N versus Z).\
|
|
1023
1048
|
The plot is 1x2 with:\
|
|
1024
1049
|
[0]: nuclear chart.
|
|
@@ -1135,7 +1160,7 @@ def eos_setupAMBeq_eos_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
1135
1160
|
axs[1].errorbar( p_den+5.0, p_pheno_cen, yerr=p_pheno_std, color='r', linewidth = 3 )
|
|
1136
1161
|
axs[1].text(10,20,'phenomenological models',fontsize='10')
|
|
1137
1162
|
#
|
|
1138
|
-
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=
|
|
1163
|
+
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=6,frameon=False)
|
|
1139
1164
|
#
|
|
1140
1165
|
if pname is not None:
|
|
1141
1166
|
plt.savefig(pname, dpi=200)
|
|
@@ -1143,19 +1168,20 @@ def eos_setupAMBeq_eos_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
1143
1168
|
|
|
1144
1169
|
def eos_setupAMBeq_xp_fig( pname, micro_mbs, pheno_models, band ):
|
|
1145
1170
|
"""
|
|
1146
|
-
Plot
|
|
1147
|
-
|
|
1148
|
-
|
|
1171
|
+
Plot the proton fraction (=xp) in asymmetric matter at beta equilibrium.
|
|
1172
|
+
|
|
1173
|
+
The plot is 2x1 with:
|
|
1174
|
+
|
|
1175
|
+
[0]: microscopic models. [1]: phenomenologic models.
|
|
1149
1176
|
|
|
1150
1177
|
:param pname: name of the figure (*.png)
|
|
1151
1178
|
:type pname: str.
|
|
1152
|
-
:param
|
|
1153
|
-
:type
|
|
1154
|
-
:param
|
|
1155
|
-
:type
|
|
1156
|
-
:param
|
|
1157
|
-
:type
|
|
1158
|
-
|
|
1179
|
+
:param micro_mbs: array with names of many-body framework for microscopic interactions.
|
|
1180
|
+
:type micro_mbs: array of str.
|
|
1181
|
+
:param pheno_models: array of interaction names for phenomenologic interactions.
|
|
1182
|
+
:type pheno_models: array of str.
|
|
1183
|
+
:param band: object instantiated on the reference band.
|
|
1184
|
+
:type band: object.
|
|
1159
1185
|
"""
|
|
1160
1186
|
#
|
|
1161
1187
|
print(f'Plot name: {pname}')
|
|
@@ -1248,7 +1274,7 @@ def eos_setupAMBeq_xp_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
1248
1274
|
#
|
|
1249
1275
|
axs[1].text(0.02,0.18,'phenomenological models',fontsize='10')
|
|
1250
1276
|
#
|
|
1251
|
-
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=
|
|
1277
|
+
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=6,frameon=False)
|
|
1252
1278
|
#
|
|
1253
1279
|
if pname is not None:
|
|
1254
1280
|
plt.savefig(pname, dpi=200)
|
|
@@ -1256,19 +1282,20 @@ def eos_setupAMBeq_xp_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
1256
1282
|
|
|
1257
1283
|
def eos_setupAMBeq_xe_fig( pname, micro_mbs, pheno_models, band ):
|
|
1258
1284
|
"""
|
|
1259
|
-
Plot
|
|
1260
|
-
|
|
1261
|
-
|
|
1285
|
+
Plot the electron fraction (=xe) in asymmetric matter at beta equilibrium.
|
|
1286
|
+
|
|
1287
|
+
The plot is 2x1 with:
|
|
1288
|
+
|
|
1289
|
+
[0]: microscopic models. [1]: phenomenologic models.
|
|
1262
1290
|
|
|
1263
1291
|
:param pname: name of the figure (*.png)
|
|
1264
1292
|
:type pname: str.
|
|
1265
|
-
:param
|
|
1266
|
-
:type
|
|
1267
|
-
:param
|
|
1268
|
-
:type
|
|
1269
|
-
:param
|
|
1270
|
-
:type
|
|
1271
|
-
|
|
1293
|
+
:param micro_mbs: array with names of many-body framework for microscopic interactions.
|
|
1294
|
+
:type micro_mbs: array of str.
|
|
1295
|
+
:param pheno_models: array of interaction names for phenomenologic interactions.
|
|
1296
|
+
:type pheno_models: array of str.
|
|
1297
|
+
:param band: object instantiated on the reference band.
|
|
1298
|
+
:type band: object.
|
|
1272
1299
|
"""
|
|
1273
1300
|
#
|
|
1274
1301
|
print(f'Plot name: {pname}')
|
|
@@ -1360,7 +1387,7 @@ def eos_setupAMBeq_xe_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
1360
1387
|
#
|
|
1361
1388
|
axs[1].text(0.02,0.18,'phenomenological models',fontsize='10')
|
|
1362
1389
|
#
|
|
1363
|
-
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=
|
|
1390
|
+
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=6,frameon=False)
|
|
1364
1391
|
#
|
|
1365
1392
|
if pname is not None:
|
|
1366
1393
|
plt.savefig(pname, dpi=200)
|
|
@@ -1368,19 +1395,20 @@ def eos_setupAMBeq_xe_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
1368
1395
|
|
|
1369
1396
|
def eos_setupAMBeq_xmu_fig( pname, micro_mbs, pheno_models, band ):
|
|
1370
1397
|
"""
|
|
1371
|
-
Plot
|
|
1372
|
-
|
|
1373
|
-
|
|
1398
|
+
Plot the muon fraction (=xmu) in asymmetric matter at beta equilibrium.
|
|
1399
|
+
|
|
1400
|
+
The plot is 2x1 with:
|
|
1401
|
+
|
|
1402
|
+
[0]: microscopic models. [1]: phenomenologic models.
|
|
1374
1403
|
|
|
1375
1404
|
:param pname: name of the figure (*.png)
|
|
1376
1405
|
:type pname: str.
|
|
1377
|
-
:param
|
|
1378
|
-
:type
|
|
1379
|
-
:param
|
|
1380
|
-
:type
|
|
1381
|
-
:param
|
|
1382
|
-
:type
|
|
1383
|
-
|
|
1406
|
+
:param micro_mbs: array with names of many-body framework for microscopic interactions.
|
|
1407
|
+
:type micro_mbs: array of str.
|
|
1408
|
+
:param pheno_models: array of interaction names for phenomenologic interactions.
|
|
1409
|
+
:type pheno_models: array of str.
|
|
1410
|
+
:param band: object instantiated on the reference band.
|
|
1411
|
+
:type band: object.
|
|
1384
1412
|
"""
|
|
1385
1413
|
#
|
|
1386
1414
|
print(f'Plot name: {pname}')
|
|
@@ -1470,7 +1498,7 @@ def eos_setupAMBeq_xmu_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
1470
1498
|
#
|
|
1471
1499
|
axs[1].text(0.02,0.18,'phenomenological models',fontsize='10')
|
|
1472
1500
|
#
|
|
1473
|
-
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=
|
|
1501
|
+
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=6,frameon=False)
|
|
1474
1502
|
#
|
|
1475
1503
|
if pname is not None:
|
|
1476
1504
|
plt.savefig(pname, dpi=200)
|
|
@@ -5,19 +5,20 @@ import nucleardatapy as nuda
|
|
|
5
5
|
|
|
6
6
|
def eos_setupAMLeq_xe_fig( pname, micro_mbs, pheno_models, band ):
|
|
7
7
|
"""
|
|
8
|
-
Plot
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
Plot the electron fraction (=xe) in asymmetric matter at lepton equilibrium.
|
|
9
|
+
|
|
10
|
+
The plot is 2x1 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 band: object instantiated on the reference band.
|
|
21
|
+
:type band: object.
|
|
21
22
|
"""
|
|
22
23
|
#
|
|
23
24
|
print(f'Plot name: {pname}')
|
|
@@ -110,7 +111,7 @@ def eos_setupAMLeq_xe_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
110
111
|
#
|
|
111
112
|
axs[1].text(0.08,0.22,'phenomenological models',fontsize='10')
|
|
112
113
|
#
|
|
113
|
-
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=
|
|
114
|
+
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=6,frameon=False)
|
|
114
115
|
#
|
|
115
116
|
if pname is not None:
|
|
116
117
|
plt.savefig(pname, dpi=200)
|
|
@@ -118,19 +119,20 @@ def eos_setupAMLeq_xe_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
118
119
|
|
|
119
120
|
def eos_setupAMLeq_xmu_fig( pname, micro_mbs, pheno_models, band ):
|
|
120
121
|
"""
|
|
121
|
-
Plot
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
Plot the muon fraction (=xmu) in asymmetric matter at lepton equilibrium.
|
|
123
|
+
|
|
124
|
+
The plot is 2x1 with:
|
|
125
|
+
|
|
126
|
+
[0]: microscopic models. [1]: phenomenologic models.
|
|
124
127
|
|
|
125
128
|
:param pname: name of the figure (*.png)
|
|
126
129
|
:type pname: str.
|
|
127
|
-
:param
|
|
128
|
-
:type
|
|
129
|
-
:param
|
|
130
|
-
:type
|
|
131
|
-
:param
|
|
132
|
-
:type
|
|
133
|
-
|
|
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 band: object instantiated on the reference band.
|
|
135
|
+
:type band: object.
|
|
134
136
|
"""
|
|
135
137
|
#
|
|
136
138
|
print(f'Plot name: {pname}')
|
|
@@ -225,7 +227,7 @@ def eos_setupAMLeq_xmu_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
225
227
|
#
|
|
226
228
|
axs[1].text(0.08,0.12,'phenomenological models',fontsize='10')
|
|
227
229
|
#
|
|
228
|
-
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=
|
|
230
|
+
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=6,frameon=False)
|
|
229
231
|
#
|
|
230
232
|
if pname is not None:
|
|
231
233
|
plt.savefig(pname, dpi=200)
|
|
@@ -233,19 +235,20 @@ def eos_setupAMLeq_xmu_fig( pname, micro_mbs, pheno_models, band ):
|
|
|
233
235
|
|
|
234
236
|
def eos_setupAMLeq_xexmu_fig( pname, micro_mbs, pheno_models, band ):
|
|
235
237
|
"""
|
|
236
|
-
Plot
|
|
237
|
-
|
|
238
|
-
|
|
238
|
+
Plot the electron and muon fractions (=xe and xmu) in asymmetric matter at lepton equilibrium.
|
|
239
|
+
|
|
240
|
+
The plot is 2x1 with:
|
|
241
|
+
|
|
242
|
+
[0]: microscopic models. [1]: phenomenologic models.
|
|
239
243
|
|
|
240
244
|
:param pname: name of the figure (*.png)
|
|
241
245
|
:type pname: str.
|
|
242
|
-
:param
|
|
243
|
-
:type
|
|
244
|
-
:param
|
|
245
|
-
:type
|
|
246
|
-
:param
|
|
247
|
-
:type
|
|
248
|
-
|
|
246
|
+
:param micro_mbs: array with names of many-body framework for microscopic interactions.
|
|
247
|
+
:type micro_mbs: array of str.
|
|
248
|
+
:param pheno_models: array of interaction names for phenomenologic interactions.
|
|
249
|
+
:type pheno_models: array of str.
|
|
250
|
+
:param band: object instantiated on the reference band.
|
|
251
|
+
:type band: object.
|
|
249
252
|
"""
|
|
250
253
|
#
|
|
251
254
|
print(f'Plot name: {pname}')
|