nucleardatapy 1.0.0__py3-none-any.whl → 1.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. nucleardatapy/astro/setup_mr.py +115 -33
  2. nucleardatapy/create_folder.py +2 -2
  3. nucleardatapy/crust/setup_crust.py +5 -5
  4. nucleardatapy/data/astro/HESS/J1731-347.dat +4 -0
  5. nucleardatapy/data/astro/NICER/J0030+0451.dat +6 -6
  6. nucleardatapy/data/astro/NICER/J0437-4715.dat +4 -3
  7. nucleardatapy/data/astro/NICER/J0614-3329.dat +4 -0
  8. nucleardatapy/data/astro/NICER/J0740+6620.dat +5 -5
  9. nucleardatapy/data/hnuclei/1991-2L-Yamamoto.csv +6 -0
  10. nucleardatapy/data/hnuclei/2013-2L-Ahn.csv +1 -1
  11. nucleardatapy/data/hnuclei/2019-2L-Ekawa.csv +7 -0
  12. nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-414-E2A.dat +21 -0
  13. nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-414-TD.dat +22 -0
  14. nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-450-E2A.dat +20 -0
  15. nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-450-TD.dat +22 -0
  16. nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-500-E2A.dat +23 -0
  17. nucleardatapy/data/matter/micro/2020-SCGF-NM-N3LO-500-TD.dat +22 -0
  18. nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-414-E2A.dat +15 -0
  19. nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-414-TD.dat +21 -0
  20. nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-450-E2A.dat +15 -0
  21. nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-450-TD.dat +21 -0
  22. nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-500-E2A.dat +20 -0
  23. nucleardatapy/data/matter/micro/2020-SCGF-SM-N3LO-500-TD.dat +20 -0
  24. nucleardatapy/data/matter/micro/2024-ABI-NM-DeltaNNLO450.dat +28 -0
  25. nucleardatapy/data/matter/micro/2024-ABI-NM-DeltaNNLO500.dat +28 -0
  26. nucleardatapy/data/matter/micro/2024-ABI-NM-DeltaNNLOgo394.dat +28 -0
  27. nucleardatapy/data/matter/micro/2024-ABI-NM-DeltaNNLOgo450.dat +28 -0
  28. nucleardatapy/data/matter/micro/2024-ABI-NM-NNLOsat.dat +28 -0
  29. nucleardatapy/data/matter/micro/2024-ABI-SM-DeltaNNLO450.dat +28 -0
  30. nucleardatapy/data/matter/micro/2024-ABI-SM-DeltaNNLO500.dat +28 -0
  31. nucleardatapy/data/matter/micro/2024-ABI-SM-DeltaNNLOgo394.dat +28 -0
  32. nucleardatapy/data/matter/micro/2024-ABI-SM-DeltaNNLOgo450.dat +28 -0
  33. nucleardatapy/data/matter/micro/2024-ABI-SM-NNLOsat.dat +28 -0
  34. nucleardatapy/fig/astro_setupGW_fig.py +4 -2
  35. nucleardatapy/fig/astro_setupMR_fig.py +14 -8
  36. nucleardatapy/fig/astro_setupMasses_fig.py +4 -2
  37. nucleardatapy/fig/astro_setupMtov_fig.py +6 -2
  38. nucleardatapy/fig/astro_setupMup_fig.py +4 -2
  39. nucleardatapy/fig/corr_setupEsymDen_fig.py +10 -4
  40. nucleardatapy/fig/corr_setupEsymLsym_fig.py +7 -3
  41. nucleardatapy/fig/corr_setupKsatQsat_fig.py +4 -2
  42. nucleardatapy/fig/crust_setupCrust_fig.py +6 -4
  43. nucleardatapy/fig/eos_setupAMBeq_fig.py +162 -134
  44. nucleardatapy/fig/eos_setupAMLeq_fig.py +35 -32
  45. nucleardatapy/fig/eos_setupAM_asy_lep_fig.py +39 -30
  46. nucleardatapy/fig/eos_setupAM_asy_nuc_fig.py +39 -30
  47. nucleardatapy/fig/eos_setupAM_asy_tot_fig.py +39 -30
  48. nucleardatapy/fig/eos_setupAM_fig.py +45 -30
  49. nucleardatapy/fig/eos_setupCC_fig.py +54 -24
  50. nucleardatapy/fig/hnuc_setupChart_fig.py +17 -14
  51. nucleardatapy/fig/hnuc_setupRE1LExp_fig.py +12 -2
  52. nucleardatapy/fig/matter_all_fig.py +55 -38
  53. nucleardatapy/fig/matter_setupCheck_fig.py +6 -3
  54. nucleardatapy/fig/matter_setupFFGLep_fig.py +13 -9
  55. nucleardatapy/fig/matter_setupFFGNuc_fig.py +22 -14
  56. nucleardatapy/fig/matter_setupHIC_fig.py +9 -9
  57. nucleardatapy/fig/matter_setupMicroEsym_fig.py +31 -30
  58. nucleardatapy/fig/matter_setupMicro_LP_fig.py +11 -5
  59. nucleardatapy/fig/matter_setupMicro_band_fig.py +11 -6
  60. nucleardatapy/fig/matter_setupMicro_effmass_fig.py +5 -4
  61. nucleardatapy/fig/matter_setupMicro_err_NM_fig.py +4 -2
  62. nucleardatapy/fig/matter_setupMicro_fig.py +30 -22
  63. nucleardatapy/fig/matter_setupMicro_gap_fig.py +22 -12
  64. nucleardatapy/fig/matter_setupNEPStats_fig.py +13 -3
  65. nucleardatapy/fig/matter_setupPhenoEsym_fig.py +28 -27
  66. nucleardatapy/fig/matter_setupPheno_fig.py +22 -17
  67. nucleardatapy/fig/nuc_setupBEExp_chart_fig.py +40 -31
  68. nucleardatapy/fig/nuc_setupBEExp_fig.py +49 -46
  69. nucleardatapy/fig/nuc_setupBETheo_fig.py +55 -50
  70. nucleardatapy/fig/nuc_setupISGMRExp_fig.py +7 -10
  71. nucleardatapy/fig/nuc_setupRchExp_fig.py +12 -20
  72. nucleardatapy/fig/nuc_setupRchTheo_fig.py +16 -20
  73. nucleardatapy/fig/nuc_setupRnpExp_fig.py +12 -0
  74. nucleardatapy/fig/nuc_setupRnpTheo_fig.py +14 -2
  75. nucleardatapy/hnuc/setup_re2L_exp.py +30 -7
  76. nucleardatapy/matter/setup_micro.py +424 -12
  77. nucleardatapy/matter/setup_micro_esym.py +46 -42
  78. nucleardatapy/matter/setup_nep.py +1 -1
  79. nucleardatapy/matter/setup_pheno.py +10 -6
  80. nucleardatapy/matter/setup_pheno_esym.py +14 -6
  81. nucleardatapy/nuc/setup_be_exp.py +4 -2
  82. nucleardatapy/nuc/setup_be_theo.py +19 -12
  83. {nucleardatapy-1.0.0.dist-info → nucleardatapy-1.0.1.dist-info}/METADATA +1 -1
  84. {nucleardatapy-1.0.0.dist-info → nucleardatapy-1.0.1.dist-info}/RECORD +87 -61
  85. {nucleardatapy-1.0.0.dist-info → nucleardatapy-1.0.1.dist-info}/WHEEL +0 -0
  86. {nucleardatapy-1.0.0.dist-info → nucleardatapy-1.0.1.dist-info}/licenses/LICENSE +0 -0
  87. {nucleardatapy-1.0.0.dist-info → nucleardatapy-1.0.1.dist-info}/top_level.txt +0 -0
@@ -5,19 +5,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 nuclear chart (N versus Z).\
9
- The plot is 1x2 with:\
10
- [0]: nuclear chart.
8
+ Plot the nucleon contribution to the energy per nucleon in asymmetric matter 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 table: table.
15
- :type table: str.
16
- :param version: version of table to run on.
17
- :type version: str.
18
- :param theo_tables: object instantiated on the reference band.
19
- :type theo_tables: object.
20
-
16
+ :param micro_mbs: array with names of many-body framework for microscopic interactions.
17
+ :type micro_mbs: array of str.
18
+ :param pheno_models: array of interaction names for phenomenologic interactions.
19
+ :type pheno_models: array of str.
20
+ :param 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=5,frameon=False)
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 nuclear chart (N versus Z).\
120
- The plot is 1x2 with:\
121
- [0]: nuclear chart.
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 table: table.
126
- :type table: str.
127
- :param version: version of table to run on.
128
- :type version: str.
129
- :param theo_tables: object instantiated on the reference band.
130
- :type theo_tables: object.
131
-
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=5,frameon=False)
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 nuclear chart (N versus Z).\
230
- The plot is 1x2 with:\
231
- [0]: nuclear chart.
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 table: table.
236
- :type table: str.
237
- :param version: version of table to run on.
238
- :type version: str.
239
- :param theo_tables: object instantiated on the reference band.
240
- :type theo_tables: object.
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=5,frameon=False)
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 nuclear chart (N versus Z).\
340
- The plot is 1x2 with:\
341
- [0]: nuclear chart.
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 table: table.
346
- :type table: str.
347
- :param version: version of table to run on.
348
- :type version: str.
349
- :param theo_tables: object instantiated on the reference band.
350
- :type theo_tables: object.
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'$_\text{lep}^\text{int}$ (MeV)',fontsize='14')
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=5,frameon=False)
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 nuclear chart (N versus Z).\
453
- The plot is 1x2 with:\
454
- [0]: nuclear chart.
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 table: table.
459
- :type table: str.
460
- :param version: version of table to run on.
461
- :type version: str.
462
- :param theo_tables: object instantiated on the reference band.
463
- :type theo_tables: object.
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=5,frameon=False)
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 nuclear chart (N versus Z).\
565
- The plot is 1x2 with:\
566
- [0]: nuclear chart.
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 table: table.
571
- :type table: str.
572
- :param version: version of table to run on.
573
- :type version: str.
574
- :param theo_tables: object instantiated on the reference band.
575
- :type theo_tables: object.
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=5,frameon=False)
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 nuclear chart (N versus Z).\
678
- The plot is 1x2 with:\
679
- [0]: nuclear chart.
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 table: table.
684
- :type table: str.
685
- :param version: version of table to run on.
686
- :type version: str.
687
- :param theo_tables: object instantiated on the reference band.
688
- :type theo_tables: object.
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=5,frameon=False)
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 nuclear chart (N versus Z).\
789
- The plot is 1x2 with:\
790
- [0]: nuclear chart.
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 table: table.
795
- :type table: str.
796
- :param version: version of table to run on.
797
- :type version: str.
798
- :param theo_tables: object instantiated on the reference band.
799
- :type theo_tables: object.
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=5,frameon=False)
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 nuclear chart (N versus Z).\
913
- The plot is 1x2 with:\
914
- [0]: nuclear chart.
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 table: table.
919
- :type table: str.
920
- :param version: version of table to run on.
921
- :type version: str.
922
- :param theo_tables: object instantiated on the reference band.
923
- :type theo_tables: object.
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=5,frameon=False)
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=5,frameon=False)
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 nuclear chart (N versus Z).\
1147
- The plot is 1x2 with:\
1148
- [0]: nuclear chart.
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 table: table.
1153
- :type table: str.
1154
- :param version: version of table to run on.
1155
- :type version: str.
1156
- :param theo_tables: object instantiated on the reference band.
1157
- :type theo_tables: object.
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=5,frameon=False)
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 nuclear chart (N versus Z).\
1260
- The plot is 1x2 with:\
1261
- [0]: nuclear chart.
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 table: table.
1266
- :type table: str.
1267
- :param version: version of table to run on.
1268
- :type version: str.
1269
- :param theo_tables: object instantiated on the reference band.
1270
- :type theo_tables: object.
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=5,frameon=False)
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 nuclear chart (N versus Z).\
1372
- The plot is 1x2 with:\
1373
- [0]: nuclear chart.
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 table: table.
1378
- :type table: str.
1379
- :param version: version of table to run on.
1380
- :type version: str.
1381
- :param theo_tables: object instantiated on the reference band.
1382
- :type theo_tables: object.
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=5,frameon=False)
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 nuclear chart (N versus Z).\
9
- The plot is 1x2 with:\
10
- [0]: nuclear chart.
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 table: table.
15
- :type table: str.
16
- :param version: version of table to run on.
17
- :type version: str.
18
- :param theo_tables: object instantiated on the reference band.
19
- :type theo_tables: object.
20
-
16
+ :param micro_mbs: array with names of many-body framework for microscopic interactions.
17
+ :type micro_mbs: array of str.
18
+ :param pheno_models: array of interaction names for phenomenologic interactions.
19
+ :type pheno_models: array of str.
20
+ :param 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=5,frameon=False)
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 nuclear chart (N versus Z).\
122
- The plot is 1x2 with:\
123
- [0]: nuclear chart.
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 table: table.
128
- :type table: str.
129
- :param version: version of table to run on.
130
- :type version: str.
131
- :param theo_tables: object instantiated on the reference band.
132
- :type theo_tables: object.
133
-
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=5,frameon=False)
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 nuclear chart (N versus Z).\
237
- The plot is 1x2 with:\
238
- [0]: nuclear chart.
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 table: table.
243
- :type table: str.
244
- :param version: version of table to run on.
245
- :type version: str.
246
- :param theo_tables: object instantiated on the reference band.
247
- :type theo_tables: object.
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}')