nucleardatapy 0.2.1__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.
- nucleardatapy/__init__.py +3 -1
- nucleardatapy/astro/setup_gw.py +18 -18
- nucleardatapy/astro/setup_mr.py +123 -33
- nucleardatapy/astro/setup_mup.py +10 -10
- nucleardatapy/corr/setup_EsymDen.py +0 -5
- nucleardatapy/corr/setup_EsymLsym.py +50 -17
- nucleardatapy/corr/setup_KsatQsat.py +170 -69
- nucleardatapy/create_folder.py +2 -2
- nucleardatapy/crust/setup_crust.py +364 -126
- 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 -4
- 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/2006-BHF/2006-BHF-Av18-E2A-NM.dat +8 -8
- 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/data/matter/nep/NEPESkyrme.dat +2 -3
- nucleardatapy/data/matter/nep/NEPGSkyrme.dat +7 -0
- nucleardatapy/data/matter/nep/NEPSkyrme.dat +4 -2
- nucleardatapy/data/matter/nep/NEPxEFT.dat +8 -0
- nucleardatapy/data/matter/nep/best67DDSkyrme.dat +28 -0
- nucleardatapy/data/matter/nep/best90DDSkyrme.dat +46 -0
- nucleardatapy/data/matter/nep/best95DDSkyrme.dat +54 -0
- nucleardatapy/data/matter/pheno/ESkyrme/BSk31-NM.dat +996 -996
- nucleardatapy/data/matter/pheno/ESkyrme/BSk31-SM.dat +991 -991
- nucleardatapy/data/matter/pheno/ESkyrme/BSkG4-NM.dat +1002 -0
- nucleardatapy/data/matter/pheno/ESkyrme/BSkG4-SM.dat +1002 -0
- nucleardatapy/data/matter/pheno/Skyrme/BSkG1-NM.dat +102 -0
- nucleardatapy/data/matter/pheno/Skyrme/BSkG1-SM.dat +102 -0
- nucleardatapy/data/matter/pheno/Skyrme/BSkG2-NM.dat +102 -0
- nucleardatapy/data/matter/pheno/Skyrme/BSkG2-SM.dat +102 -0
- nucleardatapy/env.py +1 -1
- nucleardatapy/eos/__init__.py +4 -3
- nucleardatapy/eos/setupCC.py +429 -0
- nucleardatapy/eos/setup_am.py +39 -14
- nucleardatapy/eos/setup_am_Beq.py +40 -15
- nucleardatapy/eos/setup_am_Leq.py +40 -15
- nucleardatapy/fig/__init__.py +24 -15
- nucleardatapy/fig/astro_setupGW_fig.py +9 -7
- nucleardatapy/fig/astro_setupMR_fig.py +26 -18
- nucleardatapy/fig/astro_setupMasses_fig.py +8 -6
- nucleardatapy/fig/astro_setupMtov_fig.py +10 -6
- nucleardatapy/fig/astro_setupMup_fig.py +9 -7
- nucleardatapy/fig/corr_setupEsymDen_fig.py +22 -9
- nucleardatapy/fig/corr_setupEsymLsym_fig.py +25 -8
- nucleardatapy/fig/corr_setupKsatQsat_fig.py +23 -17
- nucleardatapy/fig/crust_setupCrust_fig.py +11 -9
- nucleardatapy/fig/eos_setupAMBeq_fig.py +641 -156
- nucleardatapy/fig/eos_setupAMLeq_fig.py +53 -50
- nucleardatapy/fig/eos_setupAM_asy_lep_fig.py +373 -0
- nucleardatapy/fig/eos_setupAM_asy_nuc_fig.py +346 -0
- nucleardatapy/fig/eos_setupAM_asy_tot_fig.py +352 -0
- nucleardatapy/fig/eos_setupAM_fig.py +519 -0
- nucleardatapy/fig/eos_setupCC_fig.py +270 -0
- nucleardatapy/fig/hnuc_setupChart_fig.py +19 -16
- nucleardatapy/fig/hnuc_setupRE1LExp_fig.py +15 -5
- nucleardatapy/fig/matter_all_fig.py +971 -0
- nucleardatapy/fig/matter_setupCheck_fig.py +106 -0
- nucleardatapy/fig/matter_setupFFGLep_fig.py +74 -0
- nucleardatapy/fig/matter_setupFFGNuc_fig.py +286 -115
- nucleardatapy/fig/matter_setupHIC_fig.py +107 -67
- nucleardatapy/fig/matter_setupMicroEsym_fig.py +259 -73
- nucleardatapy/fig/matter_setupMicro_LP_fig.py +185 -82
- nucleardatapy/fig/matter_setupMicro_band_fig.py +126 -53
- nucleardatapy/fig/matter_setupMicro_effmass_fig.py +253 -77
- nucleardatapy/fig/matter_setupMicro_err_NM_fig.py +45 -20
- nucleardatapy/fig/matter_setupMicro_fig.py +317 -77
- nucleardatapy/fig/matter_setupMicro_gap_fig.py +237 -100
- nucleardatapy/fig/matter_setupNEPStats_fig.py +106 -0
- nucleardatapy/fig/matter_setupPhenoEsym_fig.py +204 -65
- nucleardatapy/fig/matter_setupPheno_fig.py +395 -93
- nucleardatapy/fig/nuc_setupBEExp_chart_fig.py +93 -73
- nucleardatapy/fig/nuc_setupBEExp_fig.py +97 -87
- nucleardatapy/fig/nuc_setupBETheo_fig.py +114 -81
- nucleardatapy/fig/nuc_setupISGMRExp_fig.py +12 -15
- nucleardatapy/fig/nuc_setupRchExp_fig.py +14 -22
- nucleardatapy/fig/nuc_setupRchTheo_fig.py +37 -40
- nucleardatapy/fig/nuc_setupRnpExp_fig.py +86 -106
- nucleardatapy/fig/nuc_setupRnpTheo_fig.py +105 -94
- nucleardatapy/hello.py +6 -0
- nucleardatapy/hnuc/setup_re1L_exp.py +6 -6
- nucleardatapy/hnuc/setup_re1Xi_exp.py +5 -5
- nucleardatapy/hnuc/setup_re2L_exp.py +36 -13
- nucleardatapy/matter/__init__.py +14 -14
- nucleardatapy/matter/setup_check.py +6 -6
- nucleardatapy/matter/setup_ffg.py +66 -39
- nucleardatapy/matter/setup_hic.py +91 -74
- nucleardatapy/matter/setup_micro.py +2033 -1007
- nucleardatapy/matter/setup_micro_band.py +6 -6
- nucleardatapy/matter/setup_micro_esym.py +56 -54
- nucleardatapy/matter/setup_micro_gap.py +24 -17
- nucleardatapy/matter/setup_micro_lp.py +2 -2
- nucleardatapy/matter/setup_nep.py +175 -92
- nucleardatapy/matter/{setup_nep_model_dist.py → setup_nep_stat_model.py} +13 -8
- nucleardatapy/matter/{setup_nep_dist.py → setup_nep_stat_models.py} +12 -8
- nucleardatapy/matter/setup_pheno.py +129 -49
- nucleardatapy/matter/setup_pheno_esym.py +22 -19
- nucleardatapy/nuc/setup_be_exp.py +306 -292
- nucleardatapy/nuc/setup_be_theo.py +288 -105
- nucleardatapy/nuc/setup_isgmr_exp.py +4 -4
- nucleardatapy/nuc/setup_rnp_exp.py +1 -0
- nucleardatapy/nuc/setup_rnp_theo.py +2 -1
- {nucleardatapy-0.2.1.dist-info → nucleardatapy-1.0.1.dist-info}/METADATA +48 -16
- {nucleardatapy-0.2.1.dist-info → nucleardatapy-1.0.1.dist-info}/RECORD +157 -124
- {nucleardatapy-0.2.1.dist-info → nucleardatapy-1.0.1.dist-info}/WHEEL +1 -1
- tests/test_corr_setupKsatQsat.py +3 -1
- tests/test_matter_setupMicro.py +37 -10
- nucleardatapy/data/matter/pheno/ESkyrme/BSkG1-NM.dat +0 -1002
- nucleardatapy/data/matter/pheno/ESkyrme/BSkG1-SM.dat +0 -1002
- nucleardatapy/data/matter/pheno/ESkyrme/BSkG2-NM.dat +0 -1002
- nucleardatapy/data/matter/pheno/ESkyrme/BSkG2-SM.dat +0 -1002
- nucleardatapy/fig/eos_setupAM_e_asy_lep_fig.py +0 -125
- nucleardatapy/fig/eos_setupAM_e_asy_nuc_fig.py +0 -115
- nucleardatapy/fig/eos_setupAM_e_asy_tot_fig.py +0 -117
- nucleardatapy/fig/eos_setupAM_e_fig.py +0 -173
- nucleardatapy/fig/matter_ENM_fig.py +0 -128
- nucleardatapy/fig/matter_ESM_fig.py +0 -140
- nucleardatapy/fig/matter_Esym_fig.py +0 -134
- nucleardatapy/fig/matter_cs2_fig.py +0 -83
- nucleardatapy/fig/matter_preNM_fig.py +0 -146
- nucleardatapy/fig/matter_preSM_fig.py +0 -144
- nucleardatapy/fig/matter_setupNEPModelDist_fig.py +0 -68
- /nucleardatapy/data/LandauParameters/micro/{2006-IBHF-NM-AV18.dat → 2006-EBHF-NM-AV18.dat} +0 -0
- /nucleardatapy/data/LandauParameters/micro/{2006-IBHF-SM-AV18.dat → 2006-EBHF-SM-AV18.dat} +0 -0
- /nucleardatapy/data/crust/{2022-crustGMRS-BSK14.dat → 2022-GMRS-BSK14.dat} +0 -0
- /nucleardatapy/data/crust/{2022-crustGMRS-BSK16.dat → 2022-GMRS-BSK16.dat} +0 -0
- /nucleardatapy/data/crust/{2022-crustGMRS-DHSL59.dat → 2022-GMRS-DHSL59.dat} +0 -0
- /nucleardatapy/data/crust/{2022-crustGMRS-DHSL69.dat → 2022-GMRS-DHSL69.dat} +0 -0
- /nucleardatapy/data/crust/{2022-crustGMRS-F0.dat → 2022-GMRS-F0.dat} +0 -0
- /nucleardatapy/data/crust/{2022-crustGMRS-H1.dat → 2022-GMRS-H1.dat} +0 -0
- /nucleardatapy/data/crust/{2022-crustGMRS-H2.dat → 2022-GMRS-H2.dat} +0 -0
- /nucleardatapy/data/crust/{2022-crustGMRS-H3.dat → 2022-GMRS-H3.dat} +0 -0
- /nucleardatapy/data/crust/{2022-crustGMRS-H4.dat → 2022-GMRS-H4.dat} +0 -0
- /nucleardatapy/data/crust/{2022-crustGMRS-H5.dat → 2022-GMRS-H5.dat} +0 -0
- /nucleardatapy/data/crust/{2022-crustGMRS-H7.dat → 2022-GMRS-H7.dat} +0 -0
- /nucleardatapy/data/crust/{2022-crustGMRS-LNS5.dat → 2022-GMRS-LNS5.dat} +0 -0
- /nucleardatapy/data/crust/{2022-crustGMRS-RATP.dat → 2022-GMRS-RATP.dat} +0 -0
- /nucleardatapy/data/crust/{2022-crustGMRS-SGII.dat → 2022-GMRS-SGII.dat} +0 -0
- /nucleardatapy/data/crust/{2022-crustGMRS-SLY5.dat → 2022-GMRS-SLY5.dat} +0 -0
- /nucleardatapy/data/matter/micro/{2013-QMC-NM.dat → 2013-MBPT-NM.dat} +0 -0
- /nucleardatapy/data/{NeutronSkin/ddrhNskin-208Pb.dat → rnp/ddrhrnp-208Pb.dat} +0 -0
- /nucleardatapy/data/{NeutronSkin/ddrhNskin-48Ca.dat → rnp/ddrhrnp-48Ca.dat} +0 -0
- /nucleardatapy/data/{NeutronSkin/nlrhNskin-208Pb.dat → rnp/nlrhrnp-208Pb.dat} +0 -0
- /nucleardatapy/data/{NeutronSkin/nlrhNskin-48Ca.dat → rnp/nlrhrnp-48Ca.dat} +0 -0
- /nucleardatapy/data/{NeutronSkin/skyrmeNskin-208Pb.dat → rnp/skyrmernp-208Pb.dat} +0 -0
- /nucleardatapy/data/{NeutronSkin/skyrmeNskin-48Ca.dat → rnp/skyrmernp-48Ca.dat} +0 -0
- {nucleardatapy-0.2.1.dist-info → nucleardatapy-1.0.1.dist-info}/licenses/LICENSE +0 -0
- {nucleardatapy-0.2.1.dist-info → nucleardatapy-1.0.1.dist-info}/top_level.txt +0 -0
|
@@ -3,100 +3,239 @@ import matplotlib.pyplot as plt
|
|
|
3
3
|
|
|
4
4
|
import nucleardatapy as nuda
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
|
|
7
|
+
def matter_setupPhenoEsym_fig(pname, models, band):
|
|
7
8
|
"""
|
|
8
|
-
Plot
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
Plot the symmetry energy esym for phenomenologic models.
|
|
10
|
+
|
|
11
|
+
The plot is 2x2 with:
|
|
12
|
+
|
|
13
|
+
[0,0]: esym function of the density. [0,1]: esym function of the Fermi momentum.
|
|
14
|
+
|
|
15
|
+
[0,0]: esym/esym,FFG function of the density. [0,1]: esym/esym,FFG function of the Fermi momentum.
|
|
11
16
|
|
|
12
17
|
:param pname: name of the figure (*.png)
|
|
13
18
|
:type pname: str.
|
|
14
|
-
:param
|
|
15
|
-
:type
|
|
16
|
-
:param
|
|
17
|
-
:type
|
|
18
|
-
:param theo_tables: object instantiated on the reference band.
|
|
19
|
-
:type theo_tables: object.
|
|
20
|
-
|
|
19
|
+
:param models: list of phenomenological models.
|
|
20
|
+
:type models: array of str.
|
|
21
|
+
:param band: object instantiated on the reference band.
|
|
22
|
+
:type band: object.
|
|
21
23
|
"""
|
|
22
24
|
#
|
|
23
|
-
print(f
|
|
25
|
+
print(f"Plot name: {pname}")
|
|
24
26
|
#
|
|
25
|
-
fig, axs = plt.subplots(2,2)
|
|
26
|
-
fig.tight_layout()
|
|
27
|
-
fig.subplots_adjust(left=0.12, bottom=0.12, right=
|
|
27
|
+
fig, axs = plt.subplots(2, 2)
|
|
28
|
+
fig.tight_layout() # Or equivalently, "plt.tight_layout()"
|
|
29
|
+
fig.subplots_adjust( left=0.12, bottom=0.12, right=0.95, top=0.88, wspace=0.05, hspace=0.05 )
|
|
28
30
|
#
|
|
29
|
-
axs[0,0].set_ylabel(r
|
|
30
|
-
axs[0,0].set_xlim([0, 0.
|
|
31
|
-
axs[0,0].set_ylim([0, 50])
|
|
31
|
+
axs[0, 0].set_ylabel(r"$E_\mathrm{sym}$ (MeV)")
|
|
32
|
+
axs[0, 0].set_xlim([0, 0.33])
|
|
33
|
+
axs[0, 0].set_ylim([0, 50])
|
|
34
|
+
axs[0, 0].tick_params("x", labelbottom=False)
|
|
32
35
|
#
|
|
33
|
-
axs[0,1].set_xlim([0.5, 2.0])
|
|
34
|
-
axs[0,1].set_ylim([0, 50])
|
|
36
|
+
axs[0, 1].set_xlim([0.5, 2.0])
|
|
37
|
+
axs[0, 1].set_ylim([0, 50])
|
|
38
|
+
axs[0, 1].tick_params("x", labelbottom=False)
|
|
39
|
+
axs[0, 1].tick_params("y", labelleft=False)
|
|
35
40
|
#
|
|
36
|
-
axs[1,0].set_ylabel(r
|
|
37
|
-
axs[1,0].set_xlabel(r
|
|
38
|
-
axs[1,0].set_xlim([0, 0.
|
|
39
|
-
axs[1,0].set_ylim([1,
|
|
41
|
+
axs[1, 0].set_ylabel(r"$E_\mathrm{sym}/E_\mathrm{sym, FFG}$")
|
|
42
|
+
axs[1, 0].set_xlabel(r"$n_\mathrm{nuc}$ (fm$^{-3}$)")
|
|
43
|
+
axs[1, 0].set_xlim([0, 0.33])
|
|
44
|
+
axs[1, 0].set_ylim([1, 3.6])
|
|
40
45
|
#
|
|
41
|
-
axs[1,1].set_xlabel(r
|
|
42
|
-
axs[1,1].set_xlim([0.5, 2.0])
|
|
43
|
-
axs[1,1].set_ylim([1,
|
|
46
|
+
axs[1, 1].set_xlabel(r"$k_F$ (fm$^{-1}$)")
|
|
47
|
+
axs[1, 1].set_xlim([0.5, 2.0])
|
|
48
|
+
axs[1, 1].set_ylim([1, 3.6])
|
|
49
|
+
axs[1, 1].tick_params("y", labelleft=False)
|
|
44
50
|
#
|
|
45
51
|
for model in models:
|
|
46
52
|
#
|
|
47
|
-
params, params_lower = nuda.matter.pheno_params(
|
|
53
|
+
params, params_lower = nuda.matter.pheno_params(model=model)
|
|
48
54
|
#
|
|
49
55
|
for param in params:
|
|
50
56
|
#
|
|
51
|
-
print(
|
|
52
|
-
pheno = nuda.matter.setupPhenoEsym(
|
|
53
|
-
if nuda.env.verb_output:
|
|
57
|
+
print("in Sample: model, param", model, param)
|
|
58
|
+
pheno = nuda.matter.setupPhenoEsym(model=model, param=param)
|
|
59
|
+
if nuda.env.verb_output:
|
|
60
|
+
pheno.print_outputs()
|
|
54
61
|
#
|
|
55
|
-
check = nuda.matter.setupCheck(
|
|
62
|
+
check = nuda.matter.setupCheck(eos=pheno, band=band)
|
|
56
63
|
#
|
|
57
64
|
if check.isInside:
|
|
58
|
-
lstyle =
|
|
65
|
+
lstyle = "solid"
|
|
59
66
|
else:
|
|
60
|
-
lstyle =
|
|
67
|
+
lstyle = "dashed"
|
|
61
68
|
#
|
|
62
|
-
#print("esym:",pheno.esym)
|
|
63
|
-
#print("den:",pheno.den)
|
|
69
|
+
# print("esym:",pheno.esym)
|
|
70
|
+
# print("den:",pheno.den)
|
|
64
71
|
if pheno.esym is not None:
|
|
65
|
-
print("esym_err:",pheno.esym_err)
|
|
72
|
+
print("esym_err:", pheno.esym_err)
|
|
66
73
|
if pheno.esym_err is None:
|
|
67
74
|
if check.isInside:
|
|
68
|
-
axs[0,0].plot(
|
|
75
|
+
axs[0, 0].plot(
|
|
76
|
+
pheno.den,
|
|
77
|
+
pheno.esym,
|
|
78
|
+
marker=pheno.marker,
|
|
79
|
+
linestyle=lstyle,
|
|
80
|
+
label=pheno.label,
|
|
81
|
+
)
|
|
69
82
|
else:
|
|
70
|
-
axs[0,0].plot(
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
axs[
|
|
83
|
+
axs[0, 0].plot(
|
|
84
|
+
pheno.den, pheno.esym, marker=pheno.marker, linestyle=lstyle
|
|
85
|
+
)
|
|
86
|
+
axs[0, 1].plot(
|
|
87
|
+
pheno.kf, pheno.esym, marker=pheno.marker, linestyle=lstyle
|
|
88
|
+
)
|
|
89
|
+
axs[1, 0].plot(
|
|
90
|
+
pheno.den,
|
|
91
|
+
pheno.esym / nuda.esymffg_nr(pheno.kf),
|
|
92
|
+
marker=pheno.marker,
|
|
93
|
+
linestyle=lstyle,
|
|
94
|
+
)
|
|
95
|
+
axs[1, 1].plot(
|
|
96
|
+
pheno.kf,
|
|
97
|
+
pheno.esym / nuda.esymffg_nr(pheno.kf),
|
|
98
|
+
marker=pheno.marker,
|
|
99
|
+
linestyle=lstyle,
|
|
100
|
+
)
|
|
74
101
|
else:
|
|
75
|
-
axs[0,0].errorbar(
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
102
|
+
axs[0, 0].errorbar(
|
|
103
|
+
pheno.den,
|
|
104
|
+
pheno.esym,
|
|
105
|
+
yerr=pheno.esym_err,
|
|
106
|
+
marker=pheno.marker,
|
|
107
|
+
linestyle=lstyle,
|
|
108
|
+
errorevery=pheno.every,
|
|
109
|
+
label=pheno.label,
|
|
110
|
+
)
|
|
111
|
+
axs[0, 1].errorbar(
|
|
112
|
+
pheno.kf,
|
|
113
|
+
pheno.esym,
|
|
114
|
+
yerr=pheno.esym_err,
|
|
115
|
+
marker=pheno.marker,
|
|
116
|
+
linestyle=lstyle,
|
|
117
|
+
errorevery=pheno.every,
|
|
118
|
+
)
|
|
119
|
+
axs[1, 0].errorbar(
|
|
120
|
+
pheno.den,
|
|
121
|
+
pheno.esym / nuda.esymffg_nr(pheno.kf),
|
|
122
|
+
yerr=pheno.esym_err / nuda.esymffg_nr(pheno.kf),
|
|
123
|
+
marker=pheno.marker,
|
|
124
|
+
linestyle=lstyle,
|
|
125
|
+
errorevery=pheno.every,
|
|
126
|
+
)
|
|
127
|
+
axs[1, 1].errorbar(
|
|
128
|
+
pheno.kf,
|
|
129
|
+
pheno.esym / nuda.esymffg_nr(pheno.kf),
|
|
130
|
+
yerr=pheno.esym_err / nuda.esymffg_nr(pheno.kf),
|
|
131
|
+
marker=pheno.marker,
|
|
132
|
+
linestyle=lstyle,
|
|
133
|
+
errorevery=pheno.every,
|
|
134
|
+
)
|
|
79
135
|
#
|
|
80
|
-
axs[0,0].fill_between(
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
axs[
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
136
|
+
axs[0, 0].fill_between(
|
|
137
|
+
band.den,
|
|
138
|
+
y1=(band.e2a_int - band.e2a_std),
|
|
139
|
+
y2=(band.e2a_int + band.e2a_std),
|
|
140
|
+
color=band.color,
|
|
141
|
+
alpha=band.alpha,
|
|
142
|
+
visible=True,
|
|
143
|
+
)
|
|
144
|
+
axs[0, 0].plot(
|
|
145
|
+
band.den,
|
|
146
|
+
(band.e2a_int - band.e2a_std),
|
|
147
|
+
color="k",
|
|
148
|
+
linestyle="dashed",
|
|
149
|
+
visible=True, zorder = 100
|
|
150
|
+
)
|
|
151
|
+
axs[0, 0].plot(
|
|
152
|
+
band.den,
|
|
153
|
+
(band.e2a_int + band.e2a_std),
|
|
154
|
+
color="k",
|
|
155
|
+
linestyle="dashed",
|
|
156
|
+
visible=True, zorder = 100
|
|
157
|
+
)
|
|
158
|
+
axs[0, 1].fill_between(
|
|
159
|
+
band.kfn,
|
|
160
|
+
y1=(band.e2a_int - band.e2a_std),
|
|
161
|
+
y2=(band.e2a_int + band.e2a_std),
|
|
162
|
+
color=band.color,
|
|
163
|
+
alpha=band.alpha,
|
|
164
|
+
visible=True,
|
|
165
|
+
)
|
|
166
|
+
axs[0, 1].plot(
|
|
167
|
+
band.kfn,
|
|
168
|
+
(band.e2a_int - band.e2a_std),
|
|
169
|
+
color="k",
|
|
170
|
+
linestyle="dashed",
|
|
171
|
+
visible=True, zorder = 100
|
|
172
|
+
)
|
|
173
|
+
axs[0, 1].plot(
|
|
174
|
+
band.kfn,
|
|
175
|
+
(band.e2a_int + band.e2a_std),
|
|
176
|
+
color="k",
|
|
177
|
+
linestyle="dashed",
|
|
178
|
+
visible=True, zorder = 100
|
|
179
|
+
)
|
|
180
|
+
axs[1, 0].fill_between(
|
|
181
|
+
band.den,
|
|
182
|
+
y1=(band.e2a_int - band.e2a_std) / nuda.esymffg_nr(band.kfn),
|
|
183
|
+
y2=(band.e2a_int + band.e2a_std) / nuda.esymffg_nr(band.kfn),
|
|
184
|
+
color=band.color,
|
|
185
|
+
alpha=band.alpha,
|
|
186
|
+
visible=True,
|
|
187
|
+
)
|
|
188
|
+
axs[1, 0].plot(
|
|
189
|
+
band.den,
|
|
190
|
+
(band.e2a_int - band.e2a_std) / nuda.esymffg_nr(band.kfn),
|
|
191
|
+
color="k",
|
|
192
|
+
linestyle="dashed",
|
|
193
|
+
visible=True, zorder = 100
|
|
194
|
+
)
|
|
195
|
+
axs[1, 0].plot(
|
|
196
|
+
band.den,
|
|
197
|
+
(band.e2a_int + band.e2a_std) / nuda.esymffg_nr(band.kfn),
|
|
198
|
+
color="k",
|
|
199
|
+
linestyle="dashed",
|
|
200
|
+
visible=True, zorder = 100
|
|
201
|
+
)
|
|
202
|
+
axs[1, 1].fill_between(
|
|
203
|
+
band.kf,
|
|
204
|
+
y1=(band.e2a_int - band.e2a_std) / nuda.esymffg_nr(band.kfn),
|
|
205
|
+
y2=(band.e2a_int + band.e2a_std) / nuda.esymffg_nr(band.kfn),
|
|
206
|
+
color=band.color,
|
|
207
|
+
alpha=band.alpha,
|
|
208
|
+
visible=True,
|
|
209
|
+
)
|
|
210
|
+
axs[1, 1].plot(
|
|
211
|
+
band.kfn,
|
|
212
|
+
(band.e2a_int - band.e2a_std) / nuda.esymffg_nr(band.kfn),
|
|
213
|
+
color="k",
|
|
214
|
+
linestyle="dashed",
|
|
215
|
+
visible=True, zorder = 100
|
|
216
|
+
)
|
|
217
|
+
axs[1, 1].plot(
|
|
218
|
+
band.kfn,
|
|
219
|
+
(band.e2a_int + band.e2a_std) / nuda.esymffg_nr(band.kfn),
|
|
220
|
+
color="k",
|
|
221
|
+
linestyle="dashed",
|
|
222
|
+
visible=True, zorder = 100
|
|
223
|
+
)
|
|
224
|
+
# FFG symmetry energy
|
|
225
|
+
#axs[0, 0].plot(pheno.den, nuda.esymffg_nr(pheno.kf), linestyle="dotted")
|
|
226
|
+
#axs[0, 1].plot(pheno.kf, nuda.esymffg_nr(pheno.kf), linestyle="dotted")
|
|
95
227
|
|
|
96
|
-
#axs[1,0].legend(loc='upper right',fontsize='8')
|
|
97
|
-
fig.legend(
|
|
228
|
+
# axs[1,0].legend(loc='upper right',fontsize='8')
|
|
229
|
+
fig.legend(
|
|
230
|
+
loc="upper left",
|
|
231
|
+
bbox_to_anchor=(0.1, 1.0),
|
|
232
|
+
columnspacing=2,
|
|
233
|
+
fontsize="8",
|
|
234
|
+
ncol=4,
|
|
235
|
+
frameon=False,
|
|
236
|
+
)
|
|
98
237
|
#
|
|
99
238
|
if pname is not None:
|
|
100
|
-
|
|
101
|
-
|
|
239
|
+
plt.savefig(pname, dpi=300)
|
|
240
|
+
plt.close()
|
|
102
241
|
#
|