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
|
@@ -5,19 +5,20 @@ import nucleardatapy as nuda
|
|
|
5
5
|
|
|
6
6
|
def nuc_setupBETheo_diff_fig( pname, tables, table_ref = '1995-DZ', Zref = 50 ):
|
|
7
7
|
"""
|
|
8
|
-
Plot
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
Plot the energy difference between theoretical mass tables with respect to `table_ref`.
|
|
9
|
+
|
|
10
|
+
The plot is 1x1 with:
|
|
11
|
+
|
|
12
|
+
[0]: show the energy difference as a function of N.
|
|
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 tables: tables.
|
|
17
|
+
:type tables: array of str.
|
|
18
|
+
:param table_ref: reference table.
|
|
19
|
+
:type table_ref: str.
|
|
20
|
+
:param Zref: Reference value for Z.
|
|
21
|
+
:type Zref: integer.
|
|
21
22
|
"""
|
|
22
23
|
#
|
|
23
24
|
print(f'Plot name: {pname}')
|
|
@@ -34,16 +35,16 @@ def nuc_setupBETheo_diff_fig( pname, tables, table_ref = '1995-DZ', Zref = 50 ):
|
|
|
34
35
|
fig.subplots_adjust(left=0.15, bottom=0.13, right=None, top=0.8)#, wspace=0.3, hspace=0.3)
|
|
35
36
|
#
|
|
36
37
|
#axs.set_title(r'Comparison of theoretical mass models',fontsize='12')
|
|
37
|
-
axs.set_ylabel(r'$E-E_{DZ}$ (MeV)',fontsize='
|
|
38
|
-
axs.set_xlabel(r'N',fontsize='
|
|
38
|
+
axs.set_ylabel(r'$E-E_{DZ}$ (MeV)',fontsize='14')
|
|
39
|
+
axs.set_xlabel(r'N',fontsize='14')
|
|
39
40
|
axs.set_ylim([-5, 5])
|
|
40
41
|
#axs.text(int(Zref)+5,-7,'For Z='+str(Zref),fontsize='12')
|
|
41
42
|
if Zref == 50:
|
|
42
43
|
axs.set_xlim( [ 40, 100 ] )
|
|
43
|
-
axs.text(55,4,'For Z='+str(Zref),fontsize='
|
|
44
|
+
axs.text(55,4,'For Z='+str(Zref),fontsize='14')
|
|
44
45
|
elif Zref == 82:
|
|
45
46
|
axs.set_xlim( [ 90, 150 ] )
|
|
46
|
-
axs.text(110,4,'For Z='+str(Zref),fontsize='
|
|
47
|
+
axs.text(110,4,'For Z='+str(Zref),fontsize='14')
|
|
47
48
|
#
|
|
48
49
|
# loop over the tables
|
|
49
50
|
#
|
|
@@ -68,19 +69,20 @@ def nuc_setupBETheo_diff_fig( pname, tables, table_ref = '1995-DZ', Zref = 50 ):
|
|
|
68
69
|
|
|
69
70
|
def nuc_setupBETheo_S2n_fig( pname, tables, Zref = 50 ):
|
|
70
71
|
"""
|
|
71
|
-
Plot
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
Plot S2n from the data extracted from the theoretical mass table.
|
|
73
|
+
|
|
74
|
+
The plot is 1x1 with:
|
|
75
|
+
|
|
76
|
+
[0]: show S2n as a function of N.
|
|
74
77
|
|
|
75
78
|
:param pname: name of the figure (*.png)
|
|
76
79
|
:type pname: str.
|
|
77
|
-
:param
|
|
78
|
-
:type
|
|
79
|
-
:param
|
|
80
|
-
:type
|
|
81
|
-
:param
|
|
82
|
-
:type
|
|
83
|
-
|
|
80
|
+
:param tables: tables.
|
|
81
|
+
:type tables: array of str.
|
|
82
|
+
:param versions: versions of the tables.
|
|
83
|
+
:type versions: array of str.
|
|
84
|
+
:param Zref: Reference value for Z.
|
|
85
|
+
:type Zref: integer.
|
|
84
86
|
"""
|
|
85
87
|
#
|
|
86
88
|
print(f'Plot name: {pname}')
|
|
@@ -95,27 +97,33 @@ def nuc_setupBETheo_S2n_fig( pname, tables, Zref = 50 ):
|
|
|
95
97
|
fig.subplots_adjust(left=0.15, bottom=0.13, right=None, top=0.8)#, wspace=0.3, hspace=0.3)
|
|
96
98
|
#
|
|
97
99
|
#axs.set_title(r'Comparison of theoretical mass models',fontsize='12')
|
|
98
|
-
axs.set_ylabel(r'$S_{2n}$ (MeV)',fontsize='
|
|
99
|
-
axs.set_xlabel(r'N',fontsize='
|
|
100
|
+
axs.set_ylabel(r'$S_{2n}$ (MeV)',fontsize='14')
|
|
101
|
+
axs.set_xlabel(r'N',fontsize='14')
|
|
100
102
|
axs.set_xlim([Zref-5, int(2.3*Zref)])
|
|
101
103
|
axs.set_xticks(np.arange(start=Zref-5,stop=2.3*Zref,step=5))
|
|
102
|
-
axs.set_ylim([
|
|
103
|
-
axs.text(int(Zref)
|
|
104
|
+
axs.set_ylim([-40, 0])
|
|
105
|
+
axs.text(int(Zref),-10,'For Z='+str(Zref),fontsize='14')
|
|
104
106
|
#
|
|
105
107
|
# loop over the tables
|
|
106
108
|
#
|
|
107
109
|
for i,table in enumerate( tables ):
|
|
108
110
|
#
|
|
109
111
|
mas = nuda.nuc.setupBETheo( table = table )
|
|
110
|
-
|
|
112
|
+
mas2 = mas.isotopes( Zref = Zref )
|
|
113
|
+
s2n = mas2.S2n( Zref = Zref )
|
|
111
114
|
#
|
|
112
|
-
axs.plot( s2n.S2n_N, s2n.
|
|
115
|
+
axs.plot( s2n.S2n_N, s2n.S2n_E, linestyle='solid', linewidth=1, label=table )
|
|
113
116
|
#
|
|
114
117
|
exp_table = 'AME'
|
|
115
118
|
exp_version = '2020'
|
|
119
|
+
#
|
|
116
120
|
mas_exp = nuda.nuc.setupBEExp( table = exp_table, version = exp_version )
|
|
117
|
-
|
|
118
|
-
|
|
121
|
+
mas_exp2 = mas_exp.select( state = 'gs', interp = 'n' )
|
|
122
|
+
mas_exp3 = mas_exp2.isotopes( Zref = Zref )
|
|
123
|
+
s2n_exp = mas_exp3.S2n( Zref = Zref )
|
|
124
|
+
#
|
|
125
|
+
axs.errorbar( s2n_exp.S2n_N, s2n_exp.S2n_E, yerr=s2n_exp.S2n_E_err, fmt='o', label=exp_table+' '+exp_version )
|
|
126
|
+
#axs.scatter( s2n_exp.S2n_N, s2n_exp.S2n_E, label=exp_table+' '+exp_version )
|
|
119
127
|
#axs.plot( s2n_exp.S2n_N, s2n_exp.S2n, linestyle='solid', linewidth=1, label=exp_table+' '+exp_version )
|
|
120
128
|
#N_diff, A_diff, BE_diff, BE_diff = mas.diff_exp( table_exp = 'AME', version_exp = '2020', Zref = Zref )
|
|
121
129
|
#axs.scatter( N_diff, BE_diff, label='AME2020' )
|
|
@@ -130,19 +138,20 @@ def nuc_setupBETheo_S2n_fig( pname, tables, Zref = 50 ):
|
|
|
130
138
|
|
|
131
139
|
def nuc_setupBETheo_S2p_fig( pname, tables, Nref = 50 ):
|
|
132
140
|
"""
|
|
133
|
-
Plot
|
|
134
|
-
|
|
135
|
-
|
|
141
|
+
Plot S2p from the data extracted from the theoretical mass table.
|
|
142
|
+
|
|
143
|
+
The plot is 1x1 with:
|
|
144
|
+
|
|
145
|
+
[0]: show S2p as a function of Z.
|
|
136
146
|
|
|
137
147
|
:param pname: name of the figure (*.png)
|
|
138
148
|
:type pname: str.
|
|
139
|
-
:param
|
|
140
|
-
:type
|
|
141
|
-
:param
|
|
142
|
-
:type
|
|
143
|
-
:param
|
|
144
|
-
:type
|
|
145
|
-
|
|
149
|
+
:param tables: tables.
|
|
150
|
+
:type tables: array of str.
|
|
151
|
+
:param versions: versions of the tables.
|
|
152
|
+
:type versions: array of str.
|
|
153
|
+
:param Nref: Reference value for N.
|
|
154
|
+
:type Nref: integer.
|
|
146
155
|
"""
|
|
147
156
|
#
|
|
148
157
|
print(f'Plot name: {pname}')
|
|
@@ -156,29 +165,34 @@ def nuc_setupBETheo_S2p_fig( pname, tables, Nref = 50 ):
|
|
|
156
165
|
fig.subplots_adjust(left=0.15, bottom=0.13, right=None, top=0.8)#, wspace=0.3, hspace=0.3)
|
|
157
166
|
#
|
|
158
167
|
#axs.set_title(r'Comparison of theoretical mass models',fontsize='12')
|
|
159
|
-
axs.set_ylabel(r'$S_{2p}$ (MeV)',fontsize='
|
|
160
|
-
axs.set_xlabel(r'Z',fontsize='
|
|
168
|
+
axs.set_ylabel(r'$S_{2p}$ (MeV)',fontsize='14')
|
|
169
|
+
axs.set_xlabel(r'Z',fontsize='14')
|
|
161
170
|
#axs.set_xlim([0.4*Nref, 1.3*Nref])
|
|
162
171
|
axs.set_xlim([0.5*Nref, 1.05*Nref])
|
|
163
172
|
#axs.set_xticks(np.arange(start=int(0.4*Nref),stop=1.3*Nref,step=5))
|
|
164
173
|
axs.set_xticks(np.arange(start=int(0.5*Nref),stop=1.05*Nref,step=5))
|
|
165
|
-
axs.set_ylim([
|
|
166
|
-
axs.text(int(0.7*Nref)
|
|
174
|
+
axs.set_ylim([-46, 0])
|
|
175
|
+
axs.text(int(0.7*Nref),-35,'For N='+str(Nref),fontsize='14')
|
|
167
176
|
#
|
|
168
177
|
# loop over the tables
|
|
169
178
|
#
|
|
170
179
|
for i,table in enumerate( tables ):
|
|
171
180
|
#
|
|
172
181
|
mas = nuda.nuc.setupBETheo( table = table )
|
|
173
|
-
|
|
182
|
+
mas2 = mas.isotones( Nref = Nref )
|
|
183
|
+
s2p = mas2.S2p( Nref = Nref )
|
|
174
184
|
#
|
|
175
|
-
axs.plot( s2p.S2p_Z, s2p.
|
|
185
|
+
axs.plot( s2p.S2p_Z, s2p.S2p_E, linestyle='solid', linewidth=1, label=table )
|
|
176
186
|
#
|
|
177
187
|
exp_table = 'AME'
|
|
178
188
|
exp_version = '2020'
|
|
179
189
|
mas_exp = nuda.nuc.setupBEExp( table = exp_table, version = exp_version )
|
|
180
|
-
|
|
181
|
-
|
|
190
|
+
mas_exp2 = mas_exp.select( state = 'gs', interp = 'n' )
|
|
191
|
+
mas_exp3 = mas_exp2.isotones( Nref = Nref )
|
|
192
|
+
s2p_exp = mas_exp3.S2p( Nref = Nref )
|
|
193
|
+
#
|
|
194
|
+
axs.errorbar( s2p_exp.S2p_Z, s2p_exp.S2p_E, yerr=s2p_exp.S2p_E_err, fmt='o', label=exp_table+' '+exp_version )
|
|
195
|
+
#axs.scatter( s2p_exp.S2p_Z, s2p_exp.S2p_E, label=exp_table+' '+exp_version )
|
|
182
196
|
#
|
|
183
197
|
#axs.legend(loc='upper right',fontsize='10', ncol=4)
|
|
184
198
|
fig.legend(loc='upper left',bbox_to_anchor=(0.15,1.0),columnspacing=2,fontsize='8',ncol=4,frameon=False)
|
|
@@ -190,19 +204,20 @@ def nuc_setupBETheo_S2p_fig( pname, tables, Nref = 50 ):
|
|
|
190
204
|
|
|
191
205
|
def nuc_setupBETheo_D3n_fig( pname, tables, Zref = 50 ):
|
|
192
206
|
"""
|
|
193
|
-
Plot
|
|
194
|
-
|
|
195
|
-
|
|
207
|
+
Plot D3n (3-point formula for the odd-even mass staggering) from the data extracted from the theoretical mass table.
|
|
208
|
+
|
|
209
|
+
The plot is 1x1 with:
|
|
210
|
+
|
|
211
|
+
[0]: show D3n as a function of N.
|
|
196
212
|
|
|
197
213
|
:param pname: name of the figure (*.png)
|
|
198
214
|
:type pname: str.
|
|
199
|
-
:param
|
|
200
|
-
:type
|
|
201
|
-
:param
|
|
202
|
-
:type
|
|
203
|
-
:param
|
|
204
|
-
:type
|
|
205
|
-
|
|
215
|
+
:param tables: tables.
|
|
216
|
+
:type tables: array of str.
|
|
217
|
+
:param versions: versions of the tables.
|
|
218
|
+
:type versions: array of str.
|
|
219
|
+
:param Zref: Reference value for Z.
|
|
220
|
+
:type Zref: integer.
|
|
206
221
|
"""
|
|
207
222
|
#
|
|
208
223
|
print(f'Plot name: {pname}')
|
|
@@ -220,7 +235,7 @@ def nuc_setupBETheo_D3n_fig( pname, tables, Zref = 50 ):
|
|
|
220
235
|
fig.subplots_adjust(left=0.12, bottom=0.12, right=None, top=0.8)#, wspace=0.3, hspace=0.3)
|
|
221
236
|
#
|
|
222
237
|
#axs.set_title(r'Comparison of theoretical mass models',fontsize='12')
|
|
223
|
-
axs.set_ylabel(r'$\Delta_{
|
|
238
|
+
axs.set_ylabel(r'$\Delta_{3n}$ (MeV)',fontsize='12')
|
|
224
239
|
axs.set_xlabel(r'N',fontsize='12')
|
|
225
240
|
axs.set_xlim([Zref-5, int(2.3*Zref)])
|
|
226
241
|
axs.set_xticks(np.arange(start=Zref-5,stop=2.3*Zref,step=5))
|
|
@@ -232,15 +247,24 @@ def nuc_setupBETheo_D3n_fig( pname, tables, Zref = 50 ):
|
|
|
232
247
|
for i,table in enumerate( tables ):
|
|
233
248
|
#
|
|
234
249
|
mas = nuda.nuc.setupBETheo( table = table )
|
|
235
|
-
|
|
250
|
+
mas2 = mas.isotopes( Zref = Zref )
|
|
251
|
+
D3n = mas2.D3n( Zref = Zref )
|
|
236
252
|
#
|
|
237
|
-
axs.plot(
|
|
253
|
+
axs.plot( D3n.D3n_N_even, D3n.D3n_E_even, linestyle='solid', linewidth=1, label=table+'(even)' )
|
|
238
254
|
#
|
|
239
255
|
exp_table = 'AME'
|
|
240
256
|
exp_version = '2020'
|
|
257
|
+
#
|
|
241
258
|
mas_exp = nuda.nuc.setupBEExp( table = exp_table, version = exp_version )
|
|
242
|
-
|
|
243
|
-
|
|
259
|
+
mas_exp2 = mas_exp.select( state = 'gs', interp = 'n' )
|
|
260
|
+
mas_exp3 = mas_exp2.isotopes( Zref = Zref )
|
|
261
|
+
D3n_exp = mas_exp3.D3n( Zref = Zref )
|
|
262
|
+
axs.errorbar( D3n_exp.D3n_N_even, D3n_exp.D3n_E_even, yerr=D3n_exp.D3n_E_err_even, fmt='o', label=exp_table+' '+exp_version+'(even)' )
|
|
263
|
+
#axs.scatter( D3n_exp.D3n_N_even, D3n_exp.D3n_E_even, label=exp_table+' '+exp_version+'(even)' )
|
|
264
|
+
#
|
|
265
|
+
# empirical relations:
|
|
266
|
+
axs.plot( D3n.D3n_N_even, nuda.nuc.delta_emp(D3n.D3n_N_even,Zref,formula='classic'), linestyle='solid', linewidth=3, label='classic' )
|
|
267
|
+
axs.plot( D3n.D3n_N_even, nuda.nuc.delta_emp(D3n.D3n_N_even,Zref,formula='Vogel'), linestyle='solid', linewidth=3, label='Vogel' )
|
|
244
268
|
#
|
|
245
269
|
#axs.legend(loc='upper right',fontsize='10', ncol=4)
|
|
246
270
|
fig.legend(loc='upper left',bbox_to_anchor=(0.1,1.0),columnspacing=2,fontsize='7',ncol=4,frameon=False)
|
|
@@ -252,19 +276,20 @@ def nuc_setupBETheo_D3n_fig( pname, tables, Zref = 50 ):
|
|
|
252
276
|
|
|
253
277
|
def nuc_setupBETheo_D3p_fig( pname, tables, Nref = 50 ):
|
|
254
278
|
"""
|
|
255
|
-
Plot
|
|
256
|
-
|
|
257
|
-
|
|
279
|
+
Plot D3p (3-point formula for the odd-even mass staggering) from the data extracted from the theoretical mass table.
|
|
280
|
+
|
|
281
|
+
The plot is 1x1 with:
|
|
282
|
+
|
|
283
|
+
[0]: show D3p as a function of Z.
|
|
258
284
|
|
|
259
285
|
:param pname: name of the figure (*.png)
|
|
260
286
|
:type pname: str.
|
|
261
|
-
:param
|
|
262
|
-
:type
|
|
263
|
-
:param
|
|
264
|
-
:type
|
|
265
|
-
:param
|
|
266
|
-
:type
|
|
267
|
-
|
|
287
|
+
:param tables: tables.
|
|
288
|
+
:type tables: array of str.
|
|
289
|
+
:param versions: versions of the tables.
|
|
290
|
+
:type versions: array of str.
|
|
291
|
+
:param Nref: Reference value for N.
|
|
292
|
+
:type Nref: integer.
|
|
268
293
|
"""
|
|
269
294
|
#
|
|
270
295
|
print(f'Plot name: {pname}')
|
|
@@ -282,7 +307,7 @@ def nuc_setupBETheo_D3p_fig( pname, tables, Nref = 50 ):
|
|
|
282
307
|
fig.subplots_adjust(left=0.12, bottom=0.12, right=None, top=0.8)#, wspace=0.3, hspace=0.3)
|
|
283
308
|
#
|
|
284
309
|
#axs.set_title(r'Comparison of theoretical mass models',fontsize='12')
|
|
285
|
-
axs.set_ylabel(r'$\Delta_{
|
|
310
|
+
axs.set_ylabel(r'$\Delta_{3p}$ (MeV)',fontsize='12')
|
|
286
311
|
axs.set_xlabel(r'Z',fontsize='12')
|
|
287
312
|
axs.set_xlim([0.4*Nref, 1.1*Nref])
|
|
288
313
|
axs.set_xticks(np.arange(start=int(0.4*Nref),stop=1.2*Nref,step=5))
|
|
@@ -294,20 +319,28 @@ def nuc_setupBETheo_D3p_fig( pname, tables, Nref = 50 ):
|
|
|
294
319
|
for i,table in enumerate( tables ):
|
|
295
320
|
#
|
|
296
321
|
mas = nuda.nuc.setupBETheo( table = table )
|
|
297
|
-
|
|
322
|
+
mas2 = mas.isotones( Nref = Nref )
|
|
323
|
+
D3p = mas2.D3p( Nref = Nref )
|
|
298
324
|
#
|
|
299
|
-
axs.plot(
|
|
325
|
+
axs.plot( D3p.D3p_Z_even, D3p.D3p_E_even, linestyle='solid', linewidth=1, label=table+'(even)' )
|
|
300
326
|
#
|
|
301
327
|
exp_table = 'AME'
|
|
302
328
|
exp_version = '2020'
|
|
329
|
+
#
|
|
303
330
|
mas_exp = nuda.nuc.setupBEExp( table = exp_table, version = exp_version )
|
|
304
|
-
|
|
305
|
-
|
|
331
|
+
mas_exp2 = mas_exp.select( state = 'gs', interp = 'n' )
|
|
332
|
+
mas_exp3 = mas_exp2.isotones( Nref = Nref )
|
|
333
|
+
D3p_exp = mas_exp3.D3p( Nref = Nref )
|
|
334
|
+
axs.errorbar( D3p_exp.D3p_Z_even, D3p_exp.D3p_E_even, yerr=D3p_exp.D3p_E_err_even, fmt='o', label=exp_table+' '+exp_version+'(even)' )
|
|
335
|
+
#axs.scatter( D3p_exp.D3p_Z_even, D3p_exp.D3p_E_even, label=exp_table+' '+exp_version+'(even)' )
|
|
336
|
+
#
|
|
337
|
+
# empirical relations:
|
|
338
|
+
axs.plot( D3p.D3p_Z_even, nuda.nuc.delta_emp(Nref,D3p.D3p_Z_even,formula='classic'), linestyle='solid', linewidth=3, label='classic' )
|
|
339
|
+
axs.plot( D3p.D3p_Z_even, nuda.nuc.delta_emp(Nref,D3p.D3p_Z_even,formula='Vogel'), linestyle='solid', linewidth=3, label='Vogel' )
|
|
306
340
|
#
|
|
307
341
|
#axs.legend(loc='upper right',fontsize='8', ncol=4)
|
|
308
342
|
fig.legend(loc='upper left',bbox_to_anchor=(0.1,1.0),columnspacing=2,fontsize='7',ncol=4,frameon=False)
|
|
309
343
|
#
|
|
310
|
-
#
|
|
311
344
|
if pname is not None:
|
|
312
345
|
plt.savefig(pname, dpi=200)
|
|
313
346
|
plt.close()
|
|
@@ -5,19 +5,16 @@ import nucleardatapy as nuda
|
|
|
5
5
|
|
|
6
6
|
def nuc_setupISGMRExp_fig( pname, tables ):
|
|
7
7
|
"""
|
|
8
|
-
Plot
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
Plot the experimental ISGMR energy from the tables.
|
|
9
|
+
|
|
10
|
+
The plot is 1x3 with:
|
|
11
|
+
|
|
12
|
+
[0]: for Zr. [1]: for Sn. [2]: for Pb.
|
|
11
13
|
|
|
12
14
|
:param pname: name of the figure (*.png)
|
|
13
15
|
:type pname: str.
|
|
14
|
-
:param
|
|
15
|
-
:type
|
|
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 tables: tables.
|
|
17
|
+
:type tables: array of str.
|
|
21
18
|
"""
|
|
22
19
|
#
|
|
23
20
|
print(f'Plot name: {pname}')
|
|
@@ -28,14 +25,14 @@ def nuc_setupISGMRExp_fig( pname, tables ):
|
|
|
28
25
|
#
|
|
29
26
|
fig, axs = plt.subplots(1,3)
|
|
30
27
|
fig.tight_layout() # Or equivalently, "plt.tight_layout()"
|
|
31
|
-
fig.subplots_adjust(left=0.12, bottom=0.15, right=
|
|
28
|
+
fig.subplots_adjust(left=0.12, bottom=0.15, right=0.95, top=0.85, wspace=0.1, hspace=0.3)
|
|
32
29
|
#
|
|
33
30
|
if obs == 'M12M0':
|
|
34
|
-
axs[0].set_ylabel(r'$E_{ISGMR}$
|
|
31
|
+
axs[0].set_ylabel(r'$E_{ISGMR}$ from $m_1/m_0$ (MeV)',fontsize='14')
|
|
35
32
|
elif obs == 'M12Mm1':
|
|
36
|
-
axs[0].set_ylabel(r'$E_{ISGMR}$
|
|
33
|
+
axs[0].set_ylabel(r'$E_{ISGMR}$ from $\sqrt{m_1/m_{-1}}$ (MeV)',fontsize='14')
|
|
37
34
|
elif obs == 'M12Mm1':
|
|
38
|
-
axs[0].set_ylabel(r'$E_{ISGMR}$
|
|
35
|
+
axs[0].set_ylabel(r'$E_{ISGMR}$ from $\sqrt{m_3/m_1}$ (MeV)',fontsize='14')
|
|
39
36
|
#
|
|
40
37
|
for k,table in enumerate( tables ):
|
|
41
38
|
#
|
|
@@ -44,7 +41,7 @@ def nuc_setupISGMRExp_fig( pname, tables ):
|
|
|
44
41
|
for i in [0,1,2]:
|
|
45
42
|
print('For Z = ',nucZ[i])
|
|
46
43
|
axs[i].set_title(nuda.param.elements[nucZ[i]-1])
|
|
47
|
-
axs[i].set_xlabel(r'A')
|
|
44
|
+
axs[i].set_xlabel(r'A',fontsize='14')
|
|
48
45
|
axs[i].set_ylim([13, 18])
|
|
49
46
|
if i>0: axs[i].tick_params('y', labelleft=False)
|
|
50
47
|
gmrs = gmr.select( Zref = nucZ[i], obs = obs )
|
|
@@ -5,19 +5,16 @@ import nucleardatapy as nuda
|
|
|
5
5
|
|
|
6
6
|
def nuc_setupRchExp_fig( pname, tables ):
|
|
7
7
|
"""
|
|
8
|
-
Plot
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
Plot the experimental charge radii from the tables.
|
|
9
|
+
|
|
10
|
+
The plot is 1x1 with:
|
|
11
|
+
|
|
12
|
+
[0]: Rch as a function of N.
|
|
11
13
|
|
|
12
14
|
:param pname: name of the figure (*.png)
|
|
13
15
|
:type pname: str.
|
|
14
|
-
:param
|
|
15
|
-
:type
|
|
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 tables: tables.
|
|
17
|
+
:type tables: array of str.
|
|
21
18
|
"""
|
|
22
19
|
#
|
|
23
20
|
print(f'Plot name: {pname}')
|
|
@@ -26,8 +23,8 @@ def nuc_setupRchExp_fig( pname, tables ):
|
|
|
26
23
|
fig.tight_layout() # Or equivalently, "plt.tight_layout()"
|
|
27
24
|
fig.subplots_adjust(left=0.12, bottom=0.15, right=None, top=0.85, wspace=0.3, hspace=0.3)
|
|
28
25
|
#
|
|
29
|
-
axs.set_ylabel(r'$R_{ch}$')
|
|
30
|
-
axs.set_xlabel(r'N')
|
|
26
|
+
axs.set_ylabel(r'$R_{ch}$ (fm)',fontsize='14')
|
|
27
|
+
axs.set_xlabel(r'N',fontsize='14')
|
|
31
28
|
axs.set_xlim([10, 140])
|
|
32
29
|
axs.set_ylim([3.2, 5.8])
|
|
33
30
|
#
|
|
@@ -53,19 +50,14 @@ def nuc_setupRchExp_fig( pname, tables ):
|
|
|
53
50
|
|
|
54
51
|
def nuc_setupRchExp_3Zref_fig( pname, tables ):
|
|
55
52
|
"""
|
|
56
|
-
Plot
|
|
57
|
-
The plot is 1x1 with
|
|
58
|
-
[0]:
|
|
53
|
+
Plot the experimental charge radii from the tables.\\
|
|
54
|
+
The plot is 1x1 with:\\
|
|
55
|
+
[0]: Rch as a function of N. \\
|
|
59
56
|
|
|
60
57
|
:param pname: name of the figure (*.png)
|
|
61
58
|
:type pname: str.
|
|
62
|
-
:param
|
|
63
|
-
:type
|
|
64
|
-
:param version: version of table to run on.
|
|
65
|
-
:type version: str.
|
|
66
|
-
:param theo_tables: object instantiated on the reference band.
|
|
67
|
-
:type theo_tables: object.
|
|
68
|
-
|
|
59
|
+
:param tables: tables.
|
|
60
|
+
:type tables: array of str.
|
|
69
61
|
"""
|
|
70
62
|
#
|
|
71
63
|
print(f'Plot name: {pname}')
|
|
@@ -5,19 +5,18 @@ import nucleardatapy as nuda
|
|
|
5
5
|
|
|
6
6
|
def nuc_setupRchTheo_fig( pname, tables, table_exp ):
|
|
7
7
|
"""
|
|
8
|
-
Plot
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
Plot the theoretical charge radii from the tables and compare to the experimental value.
|
|
9
|
+
|
|
10
|
+
The plot is 1x1 with:
|
|
11
|
+
|
|
12
|
+
[0]: Rch as a function of N.
|
|
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 theo_tables: object instantiated on the reference band.
|
|
19
|
-
:type theo_tables: object.
|
|
20
|
-
|
|
16
|
+
:param tables: theoretical tables.
|
|
17
|
+
:type tables: array of str.
|
|
18
|
+
:param table_exp: experimental table.
|
|
19
|
+
:type table_exp: str.
|
|
21
20
|
"""
|
|
22
21
|
#
|
|
23
22
|
print(f'Plot name: {pname}')
|
|
@@ -28,28 +27,13 @@ def nuc_setupRchTheo_fig( pname, tables, table_exp ):
|
|
|
28
27
|
fig.tight_layout() # Or equivalently, "plt.tight_layout()"
|
|
29
28
|
fig.subplots_adjust(left=0.12, bottom=0.15, right=None, top=0.9, wspace=0.35, hspace=0.3)
|
|
30
29
|
#
|
|
31
|
-
axs.set_ylabel(r'$R_{ch}$')
|
|
32
|
-
axs.set_xlabel(r'N')
|
|
30
|
+
axs.set_ylabel(r'$R_{ch}$ (fm)',fontsize='14')
|
|
31
|
+
axs.set_xlabel(r'N',fontsize='14')
|
|
33
32
|
axs.set_xlim([10, 160])
|
|
34
33
|
axs.set_ylim([3.0, 6.5])
|
|
35
34
|
#
|
|
36
35
|
Zrefs = [ 20, 28, 40, 50, 60, 70, 82, 90 ]
|
|
37
36
|
#
|
|
38
|
-
for indZ,Zref in enumerate(Zrefs):
|
|
39
|
-
rchExpIsot = nuda.nuc.setupRchExpIsotopes( rch_exp, Zref = Zref )
|
|
40
|
-
if indZ == 0:
|
|
41
|
-
axs.errorbar( rchExpIsot.N, rchExpIsot.Rch, yerr=rchExpIsot.Rch_err, color='k', fmt='s', markersize=3, label=table_exp )
|
|
42
|
-
axs.plot( rchExpIsot.N, nuda.nuc.rch_emp( rchExpIsot.A, rchExpIsot.Z, 'classic' ), linestyle='dashed', color='k', label='empirical(classic)' )
|
|
43
|
-
axs.plot( rchExpIsot.N, nuda.nuc.rch_emp( rchExpIsot.A, rchExpIsot.Z, '1994-NPP' ), linestyle='dashed', color='red', label='empirical(NPP-1994)' )
|
|
44
|
-
axs.plot( rchExpIsot.N, nuda.nuc.rch_emp( rchExpIsot.A, rchExpIsot.Z, '2013-BAKS-1' ), linestyle='dotted', color='k', label='empirical(BAKS-1-2013)' )
|
|
45
|
-
axs.plot( rchExpIsot.N, nuda.nuc.rch_emp( rchExpIsot.A, rchExpIsot.Z, '2013-BAKS-3' ), linestyle='dotted', color='red', label='empirical(BAKS-3-2013)' )
|
|
46
|
-
else:
|
|
47
|
-
axs.errorbar( rchExpIsot.N, rchExpIsot.Rch, yerr=rchExpIsot.Rch_err, color='k', fmt='s', markersize=3 )
|
|
48
|
-
axs.plot( rchExpIsot.N, nuda.nuc.rch_emp( rchExpIsot.A, rchExpIsot.Z, 'classic' ), linestyle='dashed', color='k' )
|
|
49
|
-
axs.plot( rchExpIsot.N, nuda.nuc.rch_emp( rchExpIsot.A, rchExpIsot.Z, '1994-NPP' ), linestyle='dashed', color='red' )
|
|
50
|
-
axs.plot( rchExpIsot.N, nuda.nuc.rch_emp( rchExpIsot.A, rchExpIsot.Z, '2013-BAKS-1' ), linestyle='dotted', color='k' )
|
|
51
|
-
axs.plot( rchExpIsot.N, nuda.nuc.rch_emp( rchExpIsot.A, rchExpIsot.Z, '2013-BAKS-3' ), linestyle='dotted', color='red' )
|
|
52
|
-
#
|
|
53
37
|
for indT,table in enumerate(tables):
|
|
54
38
|
#
|
|
55
39
|
rch = nuda.nuc.setupRchTheo( table = table )
|
|
@@ -66,7 +50,23 @@ def nuc_setupRchTheo_fig( pname, tables, table_exp ):
|
|
|
66
50
|
#else:
|
|
67
51
|
# axs.plot( rchIsot.N, nuda.nuc.rch_emp( rchIsot.A, rchIsot.Z, 'classic' ), linestyle='dashed', color='k' )
|
|
68
52
|
#
|
|
69
|
-
|
|
53
|
+
#
|
|
54
|
+
for indZ,Zref in enumerate(Zrefs):
|
|
55
|
+
rchExpIsot = nuda.nuc.setupRchExpIsotopes( rch_exp, Zref = Zref )
|
|
56
|
+
if indZ == 0:
|
|
57
|
+
axs.errorbar( rchExpIsot.N, rchExpIsot.Rch, yerr=rchExpIsot.Rch_err, color='k', fmt='s', markersize=3, label=table_exp )
|
|
58
|
+
axs.plot( rchExpIsot.N, nuda.nuc.rch_emp( rchExpIsot.A, rchExpIsot.Z, 'classic' ), linestyle='dashed', color='k', label='empirical(classic)' )
|
|
59
|
+
axs.plot( rchExpIsot.N, nuda.nuc.rch_emp( rchExpIsot.A, rchExpIsot.Z, '1994-NPP' ), linestyle='dashed', color='red', label='empirical(NPP-1994)' )
|
|
60
|
+
axs.plot( rchExpIsot.N, nuda.nuc.rch_emp( rchExpIsot.A, rchExpIsot.Z, '2013-BAKS-1' ), linestyle='dotted', color='k', label='empirical(BAKS-1-2013)' )
|
|
61
|
+
axs.plot( rchExpIsot.N, nuda.nuc.rch_emp( rchExpIsot.A, rchExpIsot.Z, '2013-BAKS-3' ), linestyle='dotted', color='red', label='empirical(BAKS-3-2013)' )
|
|
62
|
+
else:
|
|
63
|
+
axs.errorbar( rchExpIsot.N, rchExpIsot.Rch, yerr=rchExpIsot.Rch_err, color='k', fmt='s', markersize=3 )
|
|
64
|
+
axs.plot( rchExpIsot.N, nuda.nuc.rch_emp( rchExpIsot.A, rchExpIsot.Z, 'classic' ), linestyle='dashed', color='k' )
|
|
65
|
+
axs.plot( rchExpIsot.N, nuda.nuc.rch_emp( rchExpIsot.A, rchExpIsot.Z, '1994-NPP' ), linestyle='dashed', color='red' )
|
|
66
|
+
axs.plot( rchExpIsot.N, nuda.nuc.rch_emp( rchExpIsot.A, rchExpIsot.Z, '2013-BAKS-1' ), linestyle='dotted', color='k' )
|
|
67
|
+
axs.plot( rchExpIsot.N, nuda.nuc.rch_emp( rchExpIsot.A, rchExpIsot.Z, '2013-BAKS-3' ), linestyle='dotted', color='red' )
|
|
68
|
+
#
|
|
69
|
+
axs.legend(loc='lower right',fontsize='10',ncol=2,frameon=False)
|
|
70
70
|
#
|
|
71
71
|
axs.text( 50,3.7,'Ca')
|
|
72
72
|
axs.text( 70,4.2,'Ni')
|
|
@@ -84,19 +84,16 @@ def nuc_setupRchTheo_fig( pname, tables, table_exp ):
|
|
|
84
84
|
|
|
85
85
|
def nuc_setupRchTheo_3Zref_fig( pname, tables, table_exp ):
|
|
86
86
|
"""
|
|
87
|
-
Plot
|
|
88
|
-
The plot is 1x1 with
|
|
89
|
-
[0]:
|
|
87
|
+
Plot the theoretical charge radii from the tables and compare to the experimental value.\\
|
|
88
|
+
The plot is 1x1 with:\\
|
|
89
|
+
[0]: Rch as a function of N. \\
|
|
90
90
|
|
|
91
91
|
:param pname: name of the figure (*.png)
|
|
92
92
|
:type pname: str.
|
|
93
|
-
:param
|
|
94
|
-
:type
|
|
95
|
-
:param
|
|
96
|
-
:type
|
|
97
|
-
:param theo_tables: object instantiated on the reference band.
|
|
98
|
-
:type theo_tables: object.
|
|
99
|
-
|
|
93
|
+
:param tables: theoretical tables.
|
|
94
|
+
:type tables: array of str.
|
|
95
|
+
:param table_exp: experimental table.
|
|
96
|
+
:type table_exp: str.
|
|
100
97
|
"""
|
|
101
98
|
#
|
|
102
99
|
print(f'Plot name: {pname}')
|
|
@@ -108,8 +105,8 @@ def nuc_setupRchTheo_3Zref_fig( pname, tables, table_exp ):
|
|
|
108
105
|
fig.subplots_adjust(left=0.12, bottom=0.15, right=None, top=0.9, wspace=0.35, hspace=0.3)
|
|
109
106
|
#
|
|
110
107
|
axs[0].set_title(r'Zr')
|
|
111
|
-
axs[0].set_ylabel(r'$R_{ch}$')
|
|
112
|
-
axs[0].set_xlabel(r'A')
|
|
108
|
+
axs[0].set_ylabel(r'$R_{ch}$ (fm)',fontsize='14')
|
|
109
|
+
axs[0].set_xlabel(r'A',fontsize='14')
|
|
113
110
|
axs[0].set_xlim([88, 98])
|
|
114
111
|
axs[0].set_ylim([4.25, 4.45])
|
|
115
112
|
#
|