nucleardatapy 0.2.0__py3-none-any.whl → 1.0.0__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 (165) hide show
  1. nucleardatapy/__init__.py +3 -1
  2. nucleardatapy/astro/setup_gw.py +18 -18
  3. nucleardatapy/astro/setup_mr.py +9 -1
  4. nucleardatapy/astro/setup_mup.py +10 -10
  5. nucleardatapy/corr/setup_EsymDen.py +0 -5
  6. nucleardatapy/corr/setup_EsymLsym.py +50 -17
  7. nucleardatapy/corr/setup_KsatQsat.py +170 -69
  8. nucleardatapy/crust/setup_crust.py +403 -120
  9. nucleardatapy/data/astro/NICER/J0740+6620.dat +1 -0
  10. nucleardatapy/data/crust/2018-PCPFDDG-BSK22.dat +83 -0
  11. nucleardatapy/data/crust/2018-PCPFDDG-BSK24.dat +74 -0
  12. nucleardatapy/data/crust/2018-PCPFDDG-BSK25.dat +130 -0
  13. nucleardatapy/data/crust/2018-PCPFDDG-BSK26.dat +81 -0
  14. nucleardatapy/data/matter/micro/2006-BHF/{2006-BHF-E2A-NM.dat → 2006-BHF-Av18-E2A-NM.dat} +8 -8
  15. nucleardatapy/data/matter/micro/2006-BHF/2006-BHF-Av18-effmass-SM.dat +11 -0
  16. nucleardatapy/data/matter/micro/2006-BHF/2006-BHF-Av18-effmass-beta0.2.dat +11 -0
  17. nucleardatapy/data/matter/micro/2006-BHF/2006-BHF-Av18-effmass-beta0.4.dat +11 -0
  18. nucleardatapy/data/matter/nep/NEPESkyrme.dat +2 -3
  19. nucleardatapy/data/matter/nep/NEPGSkyrme.dat +7 -0
  20. nucleardatapy/data/matter/nep/NEPSkyrme.dat +4 -2
  21. nucleardatapy/data/matter/nep/NEPxEFT.dat +8 -0
  22. nucleardatapy/data/matter/nep/best67DDSkyrme.dat +28 -0
  23. nucleardatapy/data/matter/nep/best90DDSkyrme.dat +46 -0
  24. nucleardatapy/data/matter/nep/best95DDSkyrme.dat +54 -0
  25. nucleardatapy/data/matter/pheno/ESkyrme/BSk31-NM.dat +996 -996
  26. nucleardatapy/data/matter/pheno/ESkyrme/BSk31-SM.dat +991 -991
  27. nucleardatapy/data/matter/pheno/ESkyrme/BSkG4-NM.dat +1002 -0
  28. nucleardatapy/data/matter/pheno/ESkyrme/BSkG4-SM.dat +1002 -0
  29. nucleardatapy/data/matter/pheno/Skyrme/BSkG1-NM.dat +102 -0
  30. nucleardatapy/data/matter/pheno/Skyrme/BSkG1-SM.dat +102 -0
  31. nucleardatapy/data/matter/pheno/Skyrme/BSkG2-NM.dat +102 -0
  32. nucleardatapy/data/matter/pheno/Skyrme/BSkG2-SM.dat +102 -0
  33. nucleardatapy/data/nuclei/masses/Theory/2023-BSkG3.txt +0 -4
  34. nucleardatapy/data/nuclei/masses/Theory/2025-BSkG4.txt +0 -1
  35. nucleardatapy/env.py +1 -1
  36. nucleardatapy/eos/__init__.py +4 -3
  37. nucleardatapy/eos/setupCC.py +429 -0
  38. nucleardatapy/eos/setup_am.py +71 -34
  39. nucleardatapy/eos/setup_am_Beq.py +48 -17
  40. nucleardatapy/eos/setup_am_Leq.py +81 -50
  41. nucleardatapy/fig/__init__.py +29 -7
  42. nucleardatapy/fig/astro_setupGW_fig.py +5 -5
  43. nucleardatapy/fig/astro_setupMR_fig.py +12 -10
  44. nucleardatapy/fig/astro_setupMasses_fig.py +4 -4
  45. nucleardatapy/fig/astro_setupMtov_fig.py +4 -4
  46. nucleardatapy/fig/astro_setupMup_fig.py +5 -5
  47. nucleardatapy/fig/corr_setupEsymDen_fig.py +12 -5
  48. nucleardatapy/fig/corr_setupEsymLsym_fig.py +18 -5
  49. nucleardatapy/fig/corr_setupKsatQsat_fig.py +19 -15
  50. nucleardatapy/fig/crust_setupCrust_fig.py +7 -7
  51. nucleardatapy/fig/eos_setupAMBeq_fig.py +1338 -64
  52. nucleardatapy/fig/eos_setupAMLeq_fig.py +200 -68
  53. nucleardatapy/fig/eos_setupAM_asy_lep_fig.py +364 -0
  54. nucleardatapy/fig/eos_setupAM_asy_nuc_fig.py +337 -0
  55. nucleardatapy/fig/eos_setupAM_asy_tot_fig.py +343 -0
  56. nucleardatapy/fig/eos_setupAM_fig.py +470 -47
  57. nucleardatapy/fig/eos_setupCC_fig.py +240 -0
  58. nucleardatapy/fig/hnuc_setupChart_fig.py +2 -2
  59. nucleardatapy/fig/hnuc_setupRE1LExp_fig.py +4 -4
  60. nucleardatapy/fig/matter_all_fig.py +954 -0
  61. nucleardatapy/fig/matter_setupCheck_fig.py +103 -0
  62. nucleardatapy/fig/matter_setupFFGLep_fig.py +70 -0
  63. nucleardatapy/fig/matter_setupFFGNuc_fig.py +268 -104
  64. nucleardatapy/fig/matter_setupHIC_fig.py +98 -58
  65. nucleardatapy/fig/matter_setupMicroEsym_fig.py +267 -51
  66. nucleardatapy/fig/matter_setupMicro_LP_fig.py +175 -78
  67. nucleardatapy/fig/matter_setupMicro_band_fig.py +116 -47
  68. nucleardatapy/fig/matter_setupMicro_effmass_fig.py +264 -34
  69. nucleardatapy/fig/matter_setupMicro_err_NM_fig.py +41 -18
  70. nucleardatapy/fig/matter_setupMicro_fig.py +332 -98
  71. nucleardatapy/fig/matter_setupMicro_gap_fig.py +219 -92
  72. nucleardatapy/fig/matter_setupNEPStats_fig.py +96 -0
  73. nucleardatapy/fig/matter_setupPhenoEsym_fig.py +201 -61
  74. nucleardatapy/fig/matter_setupPheno_fig.py +392 -85
  75. nucleardatapy/fig/nuc_setupBEExp_chart_fig.py +286 -0
  76. nucleardatapy/fig/nuc_setupBEExp_fig.py +232 -70
  77. nucleardatapy/fig/nuc_setupBETheo_fig.py +344 -0
  78. nucleardatapy/fig/nuc_setupISGMRExp_fig.py +59 -0
  79. nucleardatapy/fig/nuc_setupRchExp_fig.py +139 -0
  80. nucleardatapy/fig/nuc_setupRchTheo_fig.py +143 -0
  81. nucleardatapy/fig/nuc_setupRnpExp_fig.py +88 -0
  82. nucleardatapy/fig/nuc_setupRnpTheo_fig.py +133 -0
  83. nucleardatapy/hello.py +6 -0
  84. nucleardatapy/hnuc/__init__.py +3 -3
  85. nucleardatapy/hnuc/{setup_be1L_exp.py → setup_re1L_exp.py} +6 -6
  86. nucleardatapy/hnuc/{setup_be1Xi_exp.py → setup_re1Xi_exp.py} +5 -5
  87. nucleardatapy/hnuc/{setup_be2L_exp.py → setup_re2L_exp.py} +6 -6
  88. nucleardatapy/matter/__init__.py +14 -13
  89. nucleardatapy/matter/setup_check.py +97 -0
  90. nucleardatapy/matter/setup_ffg.py +72 -38
  91. nucleardatapy/matter/setup_hic.py +91 -74
  92. nucleardatapy/matter/setup_micro.py +1698 -1019
  93. nucleardatapy/matter/setup_micro_band.py +11 -6
  94. nucleardatapy/matter/setup_micro_effmass.py +55 -2
  95. nucleardatapy/matter/setup_micro_esym.py +39 -34
  96. nucleardatapy/matter/setup_micro_gap.py +26 -19
  97. nucleardatapy/matter/setup_micro_lp.py +20 -19
  98. nucleardatapy/matter/setup_nep.py +175 -92
  99. nucleardatapy/matter/{setup_nep_model_dist.py → setup_nep_stat_model.py} +13 -8
  100. nucleardatapy/matter/{setup_nep_dist.py → setup_nep_stat_models.py} +12 -8
  101. nucleardatapy/matter/setup_pheno.py +121 -45
  102. nucleardatapy/matter/setup_pheno_esym.py +14 -19
  103. nucleardatapy/nuc/__init__.py +2 -2
  104. nucleardatapy/nuc/setup_be_exp.py +345 -333
  105. nucleardatapy/nuc/setup_be_theo.py +366 -178
  106. nucleardatapy/nuc/setup_isgmr_exp.py +4 -4
  107. nucleardatapy/nuc/setup_rch_exp.py +49 -6
  108. nucleardatapy/nuc/setup_rch_theo.py +72 -3
  109. nucleardatapy/nuc/{setup_nskin_exp.py → setup_rnp_exp.py} +59 -65
  110. nucleardatapy/nuc/{setup_nskin_theo.py → setup_rnp_theo.py} +35 -39
  111. nucleardatapy-1.0.0.dist-info/METADATA +553 -0
  112. {nucleardatapy-0.2.0.dist-info → nucleardatapy-1.0.0.dist-info}/RECORD +156 -128
  113. {nucleardatapy-0.2.0.dist-info → nucleardatapy-1.0.0.dist-info}/WHEEL +1 -1
  114. tests/test_corr_setupKsatQsat.py +3 -1
  115. tests/test_matter_setupMicro.py +37 -10
  116. nucleardatapy/data/matter/pheno/ESkyrme/BSkG1-NM.dat +0 -1002
  117. nucleardatapy/data/matter/pheno/ESkyrme/BSkG1-SM.dat +0 -1002
  118. nucleardatapy/data/matter/pheno/ESkyrme/BSkG2-NM.dat +0 -1002
  119. nucleardatapy/data/matter/pheno/ESkyrme/BSkG2-SM.dat +0 -1002
  120. nucleardatapy/fig/matter_ENM_fig.py +0 -119
  121. nucleardatapy/fig/matter_ESM_fig.py +0 -119
  122. nucleardatapy/fig/matter_Esym_fig.py +0 -122
  123. nucleardatapy/fig/matter_setupNEPModelDist_fig.py +0 -68
  124. nucleardatapy-0.2.0.dist-info/METADATA +0 -115
  125. /nucleardatapy/data/LandauParameters/micro/{2006-IBHF-NM-AV18.dat → 2006-EBHF-NM-AV18.dat} +0 -0
  126. /nucleardatapy/data/LandauParameters/micro/{2006-IBHF-SM-AV18.dat → 2006-EBHF-SM-AV18.dat} +0 -0
  127. /nucleardatapy/data/crust/{2022-crustGMRS-BSK14.dat → 2022-GMRS-BSK14.dat} +0 -0
  128. /nucleardatapy/data/crust/{2022-crustGMRS-BSK16.dat → 2022-GMRS-BSK16.dat} +0 -0
  129. /nucleardatapy/data/crust/{2022-crustGMRS-DHSL59.dat → 2022-GMRS-DHSL59.dat} +0 -0
  130. /nucleardatapy/data/crust/{2022-crustGMRS-DHSL69.dat → 2022-GMRS-DHSL69.dat} +0 -0
  131. /nucleardatapy/data/crust/{2022-crustGMRS-F0.dat → 2022-GMRS-F0.dat} +0 -0
  132. /nucleardatapy/data/crust/{2022-crustGMRS-H1.dat → 2022-GMRS-H1.dat} +0 -0
  133. /nucleardatapy/data/crust/{2022-crustGMRS-H2.dat → 2022-GMRS-H2.dat} +0 -0
  134. /nucleardatapy/data/crust/{2022-crustGMRS-H3.dat → 2022-GMRS-H3.dat} +0 -0
  135. /nucleardatapy/data/crust/{2022-crustGMRS-H4.dat → 2022-GMRS-H4.dat} +0 -0
  136. /nucleardatapy/data/crust/{2022-crustGMRS-H5.dat → 2022-GMRS-H5.dat} +0 -0
  137. /nucleardatapy/data/crust/{2022-crustGMRS-H7.dat → 2022-GMRS-H7.dat} +0 -0
  138. /nucleardatapy/data/crust/{2022-crustGMRS-LNS5.dat → 2022-GMRS-LNS5.dat} +0 -0
  139. /nucleardatapy/data/crust/{2022-crustGMRS-RATP.dat → 2022-GMRS-RATP.dat} +0 -0
  140. /nucleardatapy/data/crust/{2022-crustGMRS-SGII.dat → 2022-GMRS-SGII.dat} +0 -0
  141. /nucleardatapy/data/crust/{2022-crustGMRS-SLY5.dat → 2022-GMRS-SLY5.dat} +0 -0
  142. /nucleardatapy/data/matter/micro/2006-BHF/{2006-BHF-E2A-AM.dat → 2006-BHF-Av18-E2A-AM.dat} +0 -0
  143. /nucleardatapy/data/matter/micro/2006-BHF/{2006-BHF-E2A-SM.dat → 2006-BHF-Av18-E2A-SM.dat} +0 -0
  144. /nucleardatapy/data/matter/micro/2006-BHF/{2006-BHF-Esym2-SM.dat → 2006-BHF-Av18-Esym2-SM.dat} +0 -0
  145. /nucleardatapy/data/matter/micro/2006-BHF/{2006-BHF-GAP-NM-FreeSpectrum.dat → 2006-BHF-Av18-GAP-NM-FreeSpectrum.dat} +0 -0
  146. /nucleardatapy/data/matter/micro/2006-BHF/{2006-BHF-GAP-NM-SelfEnergy.dat → 2006-BHF-Av18-GAP-NM-SelfEnergy.dat} +0 -0
  147. /nucleardatapy/data/matter/micro/2006-BHF/{2006-BHF-GAP-SM-FreeSpectrum.dat → 2006-BHF-Av18-GAP-SM-FreeSpectrum.dat} +0 -0
  148. /nucleardatapy/data/matter/micro/2006-BHF/{2006-BHF-GAP-SM-SelfEnergy.dat → 2006-BHF-Av18-GAP-SM-SelfEnergy.dat} +0 -0
  149. /nucleardatapy/data/matter/micro/{2013-QMC-NM.dat → 2013-MBPT-NM.dat} +0 -0
  150. /nucleardatapy/data/matter/micro/{2020-MBPT-NM-DHSL59.dat → 2019-MBPT-NM-DHSL59.dat} +0 -0
  151. /nucleardatapy/data/matter/micro/{2020-MBPT-NM-DHSL69.dat → 2019-MBPT-NM-DHSL69.dat} +0 -0
  152. /nucleardatapy/data/matter/micro/{2020-MBPT-SM-DHSL59.dat → 2019-MBPT-SM-DHSL59.dat} +0 -0
  153. /nucleardatapy/data/matter/micro/{2020-MBPT-SM-DHSL69.dat → 2019-MBPT-SM-DHSL69.dat} +0 -0
  154. /nucleardatapy/data/matter/micro/{2023-MBPT-NM.csv → 2020-MBPT-NM.csv} +0 -0
  155. /nucleardatapy/data/matter/micro/{2023-MBPT-SM.csv → 2020-MBPT-SM.csv} +0 -0
  156. /nucleardatapy/data/nuclei/{nskin → rnp}/208Pb.dat +0 -0
  157. /nucleardatapy/data/nuclei/{nskin → rnp}/48Ca.dat +0 -0
  158. /nucleardatapy/data/{NeutronSkin/ddrhNskin-208Pb.dat → rnp/ddrhrnp-208Pb.dat} +0 -0
  159. /nucleardatapy/data/{NeutronSkin/ddrhNskin-48Ca.dat → rnp/ddrhrnp-48Ca.dat} +0 -0
  160. /nucleardatapy/data/{NeutronSkin/nlrhNskin-208Pb.dat → rnp/nlrhrnp-208Pb.dat} +0 -0
  161. /nucleardatapy/data/{NeutronSkin/nlrhNskin-48Ca.dat → rnp/nlrhrnp-48Ca.dat} +0 -0
  162. /nucleardatapy/data/{NeutronSkin/skyrmeNskin-208Pb.dat → rnp/skyrmernp-208Pb.dat} +0 -0
  163. /nucleardatapy/data/{NeutronSkin/skyrmeNskin-48Ca.dat → rnp/skyrmernp-48Ca.dat} +0 -0
  164. {nucleardatapy-0.2.0.dist-info → nucleardatapy-1.0.0.dist-info/licenses}/LICENSE +0 -0
  165. {nucleardatapy-0.2.0.dist-info → nucleardatapy-1.0.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,553 @@
1
+ Metadata-Version: 2.4
2
+ Name: nucleardatapy
3
+ Version: 1.0.0
4
+ Summary: A toolkit for nuclear data processing and meta-analyses.
5
+ Author: Jerome Margueron, Sudhanva Lalit, Mariana Dutra, Guilherme Grams, Rohit Kumar
6
+ License: Attribution-NonCommercial-NoDerivatives 4.0 International
7
+
8
+ =======================================================================
9
+
10
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
11
+ does not provide legal services or legal advice. Distribution of
12
+ Creative Commons public licenses does not create a lawyer-client or
13
+ other relationship. Creative Commons makes its licenses and related
14
+ information available on an "as-is" basis. Creative Commons gives no
15
+ warranties regarding its licenses, any material licensed under their
16
+ terms and conditions, or any related information. Creative Commons
17
+ disclaims all liability for damages resulting from their use to the
18
+ fullest extent possible.
19
+
20
+ Using Creative Commons Public Licenses
21
+
22
+ Creative Commons public licenses provide a standard set of terms and
23
+ conditions that creators and other rights holders may use to share
24
+ original works of authorship and other material subject to copyright
25
+ and certain other rights specified in the public license below. The
26
+ following considerations are for informational purposes only, are not
27
+ exhaustive, and do not form part of our licenses.
28
+
29
+ Considerations for licensors: Our public licenses are
30
+ intended for use by those authorized to give the public
31
+ permission to use material in ways otherwise restricted by
32
+ copyright and certain other rights. Our licenses are
33
+ irrevocable. Licensors should read and understand the terms
34
+ and conditions of the license they choose before applying it.
35
+ Licensors should also secure all rights necessary before
36
+ applying our licenses so that the public can reuse the
37
+ material as expected. Licensors should clearly mark any
38
+ material not subject to the license. This includes other CC-
39
+ licensed material, or material used under an exception or
40
+ limitation to copyright. More considerations for licensors:
41
+ wiki.creativecommons.org/Considerations_for_licensors
42
+
43
+ Considerations for the public: By using one of our public
44
+ licenses, a licensor grants the public permission to use the
45
+ licensed material under specified terms and conditions. If
46
+ the licensor's permission is not necessary for any reason--for
47
+ example, because of any applicable exception or limitation to
48
+ copyright--then that use is not regulated by the license. Our
49
+ licenses grant only permissions under copyright and certain
50
+ other rights that a licensor has authority to grant. Use of
51
+ the licensed material may still be restricted for other
52
+ reasons, including because others have copyright or other
53
+ rights in the material. A licensor may make special requests,
54
+ such as asking that all changes be marked or described.
55
+ Although not required by our licenses, you are encouraged to
56
+ respect those requests where reasonable. More considerations
57
+ for the public:
58
+ wiki.creativecommons.org/Considerations_for_licensees
59
+
60
+ =======================================================================
61
+
62
+ Creative Commons Attribution-NonCommercial-NoDerivatives 4.0
63
+ International Public License
64
+
65
+ By exercising the Licensed Rights (defined below), You accept and agree
66
+ to be bound by the terms and conditions of this Creative Commons
67
+ Attribution-NonCommercial-NoDerivatives 4.0 International Public
68
+ License ("Public License"). To the extent this Public License may be
69
+ interpreted as a contract, You are granted the Licensed Rights in
70
+ consideration of Your acceptance of these terms and conditions, and the
71
+ Licensor grants You such rights in consideration of benefits the
72
+ Licensor receives from making the Licensed Material available under
73
+ these terms and conditions.
74
+
75
+
76
+ Section 1 -- Definitions.
77
+
78
+ a. Adapted Material means material subject to Copyright and Similar
79
+ Rights that is derived from or based upon the Licensed Material
80
+ and in which the Licensed Material is translated, altered,
81
+ arranged, transformed, or otherwise modified in a manner requiring
82
+ permission under the Copyright and Similar Rights held by the
83
+ Licensor. For purposes of this Public License, where the Licensed
84
+ Material is a musical work, performance, or sound recording,
85
+ Adapted Material is always produced where the Licensed Material is
86
+ synched in timed relation with a moving image.
87
+
88
+ b. Copyright and Similar Rights means copyright and/or similar rights
89
+ closely related to copyright including, without limitation,
90
+ performance, broadcast, sound recording, and Sui Generis Database
91
+ Rights, without regard to how the rights are labeled or
92
+ categorized. For purposes of this Public License, the rights
93
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
94
+ Rights.
95
+
96
+ c. Effective Technological Measures means those measures that, in the
97
+ absence of proper authority, may not be circumvented under laws
98
+ fulfilling obligations under Article 11 of the WIPO Copyright
99
+ Treaty adopted on December 20, 1996, and/or similar international
100
+ agreements.
101
+
102
+ d. Exceptions and Limitations means fair use, fair dealing, and/or
103
+ any other exception or limitation to Copyright and Similar Rights
104
+ that applies to Your use of the Licensed Material.
105
+
106
+ e. Licensed Material means the artistic or literary work, database,
107
+ or other material to which the Licensor applied this Public
108
+ License.
109
+
110
+ f. Licensed Rights means the rights granted to You subject to the
111
+ terms and conditions of this Public License, which are limited to
112
+ all Copyright and Similar Rights that apply to Your use of the
113
+ Licensed Material and that the Licensor has authority to license.
114
+
115
+ g. Licensor means the individual(s) or entity(ies) granting rights
116
+ under this Public License.
117
+
118
+ h. NonCommercial means not primarily intended for or directed towards
119
+ commercial advantage or monetary compensation. For purposes of
120
+ this Public License, the exchange of the Licensed Material for
121
+ other material subject to Copyright and Similar Rights by digital
122
+ file-sharing or similar means is NonCommercial provided there is
123
+ no payment of monetary compensation in connection with the
124
+ exchange.
125
+
126
+ i. Share means to provide material to the public by any means or
127
+ process that requires permission under the Licensed Rights, such
128
+ as reproduction, public display, public performance, distribution,
129
+ dissemination, communication, or importation, and to make material
130
+ available to the public including in ways that members of the
131
+ public may access the material from a place and at a time
132
+ individually chosen by them.
133
+
134
+ j. Sui Generis Database Rights means rights other than copyright
135
+ resulting from Directive 96/9/EC of the European Parliament and of
136
+ the Council of 11 March 1996 on the legal protection of databases,
137
+ as amended and/or succeeded, as well as other essentially
138
+ equivalent rights anywhere in the world.
139
+
140
+ k. You means the individual or entity exercising the Licensed Rights
141
+ under this Public License. Your has a corresponding meaning.
142
+
143
+
144
+ Section 2 -- Scope.
145
+
146
+ a. License grant.
147
+
148
+ 1. Subject to the terms and conditions of this Public License,
149
+ the Licensor hereby grants You a worldwide, royalty-free,
150
+ non-sublicensable, non-exclusive, irrevocable license to
151
+ exercise the Licensed Rights in the Licensed Material to:
152
+
153
+ a. reproduce and Share the Licensed Material, in whole or
154
+ in part, for NonCommercial purposes only; and
155
+
156
+ b. produce and reproduce, but not Share, Adapted Material
157
+ for NonCommercial purposes only.
158
+
159
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
160
+ Exceptions and Limitations apply to Your use, this Public
161
+ License does not apply, and You do not need to comply with
162
+ its terms and conditions.
163
+
164
+ 3. Term. The term of this Public License is specified in Section
165
+ 6(a).
166
+
167
+ 4. Media and formats; technical modifications allowed. The
168
+ Licensor authorizes You to exercise the Licensed Rights in
169
+ all media and formats whether now known or hereafter created,
170
+ and to make technical modifications necessary to do so. The
171
+ Licensor waives and/or agrees not to assert any right or
172
+ authority to forbid You from making technical modifications
173
+ necessary to exercise the Licensed Rights, including
174
+ technical modifications necessary to circumvent Effective
175
+ Technological Measures. For purposes of this Public License,
176
+ simply making modifications authorized by this Section 2(a)
177
+ (4) never produces Adapted Material.
178
+
179
+ 5. Downstream recipients.
180
+
181
+ a. Offer from the Licensor -- Licensed Material. Every
182
+ recipient of the Licensed Material automatically
183
+ receives an offer from the Licensor to exercise the
184
+ Licensed Rights under the terms and conditions of this
185
+ Public License.
186
+
187
+ b. No downstream restrictions. You may not offer or impose
188
+ any additional or different terms or conditions on, or
189
+ apply any Effective Technological Measures to, the
190
+ Licensed Material if doing so restricts exercise of the
191
+ Licensed Rights by any recipient of the Licensed
192
+ Material.
193
+
194
+ 6. No endorsement. Nothing in this Public License constitutes or
195
+ may be construed as permission to assert or imply that You
196
+ are, or that Your use of the Licensed Material is, connected
197
+ with, or sponsored, endorsed, or granted official status by,
198
+ the Licensor or others designated to receive attribution as
199
+ provided in Section 3(a)(1)(A)(i).
200
+
201
+ b. Other rights.
202
+
203
+ 1. Moral rights, such as the right of integrity, are not
204
+ licensed under this Public License, nor are publicity,
205
+ privacy, and/or other similar personality rights; however, to
206
+ the extent possible, the Licensor waives and/or agrees not to
207
+ assert any such rights held by the Licensor to the limited
208
+ extent necessary to allow You to exercise the Licensed
209
+ Rights, but not otherwise.
210
+
211
+ 2. Patent and trademark rights are not licensed under this
212
+ Public License.
213
+
214
+ 3. To the extent possible, the Licensor waives any right to
215
+ collect royalties from You for the exercise of the Licensed
216
+ Rights, whether directly or through a collecting society
217
+ under any voluntary or waivable statutory or compulsory
218
+ licensing scheme. In all other cases the Licensor expressly
219
+ reserves any right to collect such royalties, including when
220
+ the Licensed Material is used other than for NonCommercial
221
+ purposes.
222
+
223
+
224
+ Section 3 -- License Conditions.
225
+
226
+ Your exercise of the Licensed Rights is expressly made subject to the
227
+ following conditions.
228
+
229
+ a. Attribution.
230
+
231
+ 1. If You Share the Licensed Material, You must:
232
+
233
+ a. retain the following if it is supplied by the Licensor
234
+ with the Licensed Material:
235
+
236
+ i. identification of the creator(s) of the Licensed
237
+ Material and any others designated to receive
238
+ attribution, in any reasonable manner requested by
239
+ the Licensor (including by pseudonym if
240
+ designated);
241
+
242
+ ii. a copyright notice;
243
+
244
+ iii. a notice that refers to this Public License;
245
+
246
+ iv. a notice that refers to the disclaimer of
247
+ warranties;
248
+
249
+ v. a URI or hyperlink to the Licensed Material to the
250
+ extent reasonably practicable;
251
+
252
+ b. indicate if You modified the Licensed Material and
253
+ retain an indication of any previous modifications; and
254
+
255
+ c. indicate the Licensed Material is licensed under this
256
+ Public License, and include the text of, or the URI or
257
+ hyperlink to, this Public License.
258
+
259
+ For the avoidance of doubt, You do not have permission under
260
+ this Public License to Share Adapted Material.
261
+
262
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
263
+ reasonable manner based on the medium, means, and context in
264
+ which You Share the Licensed Material. For example, it may be
265
+ reasonable to satisfy the conditions by providing a URI or
266
+ hyperlink to a resource that includes the required
267
+ information.
268
+
269
+ 3. If requested by the Licensor, You must remove any of the
270
+ information required by Section 3(a)(1)(A) to the extent
271
+ reasonably practicable.
272
+
273
+
274
+ Section 4 -- Sui Generis Database Rights.
275
+
276
+ Where the Licensed Rights include Sui Generis Database Rights that
277
+ apply to Your use of the Licensed Material:
278
+
279
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
280
+ to extract, reuse, reproduce, and Share all or a substantial
281
+ portion of the contents of the database for NonCommercial purposes
282
+ only and provided You do not Share Adapted Material;
283
+
284
+ b. if You include all or a substantial portion of the database
285
+ contents in a database in which You have Sui Generis Database
286
+ Rights, then the database in which You have Sui Generis Database
287
+ Rights (but not its individual contents) is Adapted Material; and
288
+
289
+ c. You must comply with the conditions in Section 3(a) if You Share
290
+ all or a substantial portion of the contents of the database.
291
+
292
+ For the avoidance of doubt, this Section 4 supplements and does not
293
+ replace Your obligations under this Public License where the Licensed
294
+ Rights include other Copyright and Similar Rights.
295
+
296
+
297
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
298
+
299
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
300
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
301
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
302
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
303
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
304
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
305
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
306
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
307
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
308
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
309
+
310
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
311
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
312
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
313
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
314
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
315
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
316
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
317
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
318
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
319
+
320
+ c. The disclaimer of warranties and limitation of liability provided
321
+ above shall be interpreted in a manner that, to the extent
322
+ possible, most closely approximates an absolute disclaimer and
323
+ waiver of all liability.
324
+
325
+
326
+ Section 6 -- Term and Termination.
327
+
328
+ a. This Public License applies for the term of the Copyright and
329
+ Similar Rights licensed here. However, if You fail to comply with
330
+ this Public License, then Your rights under this Public License
331
+ terminate automatically.
332
+
333
+ b. Where Your right to use the Licensed Material has terminated under
334
+ Section 6(a), it reinstates:
335
+
336
+ 1. automatically as of the date the violation is cured, provided
337
+ it is cured within 30 days of Your discovery of the
338
+ violation; or
339
+
340
+ 2. upon express reinstatement by the Licensor.
341
+
342
+ For the avoidance of doubt, this Section 6(b) does not affect any
343
+ right the Licensor may have to seek remedies for Your violations
344
+ of this Public License.
345
+
346
+ c. For the avoidance of doubt, the Licensor may also offer the
347
+ Licensed Material under separate terms or conditions or stop
348
+ distributing the Licensed Material at any time; however, doing so
349
+ will not terminate this Public License.
350
+
351
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
352
+ License.
353
+
354
+
355
+ Section 7 -- Other Terms and Conditions.
356
+
357
+ a. The Licensor shall not be bound by any additional or different
358
+ terms or conditions communicated by You unless expressly agreed.
359
+
360
+ b. Any arrangements, understandings, or agreements regarding the
361
+ Licensed Material not stated herein are separate from and
362
+ independent of the terms and conditions of this Public License.
363
+
364
+
365
+ Section 8 -- Interpretation.
366
+
367
+ a. For the avoidance of doubt, this Public License does not, and
368
+ shall not be interpreted to, reduce, limit, restrict, or impose
369
+ conditions on any use of the Licensed Material that could lawfully
370
+ be made without permission under this Public License.
371
+
372
+ b. To the extent possible, if any provision of this Public License is
373
+ deemed unenforceable, it shall be automatically reformed to the
374
+ minimum extent necessary to make it enforceable. If the provision
375
+ cannot be reformed, it shall be severed from this Public License
376
+ without affecting the enforceability of the remaining terms and
377
+ conditions.
378
+
379
+ c. No term or condition of this Public License will be waived and no
380
+ failure to comply consented to unless expressly agreed to by the
381
+ Licensor.
382
+
383
+ d. Nothing in this Public License constitutes or may be interpreted
384
+ as a limitation upon, or waiver of, any privileges and immunities
385
+ that apply to the Licensor or You, including from the legal
386
+ processes of any jurisdiction or authority.
387
+
388
+ =======================================================================
389
+
390
+ Creative Commons is not a party to its public
391
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
392
+ its public licenses to material it publishes and in those instances
393
+ will be considered the "Licensor". The text of the Creative Commons
394
+ public licenses is dedicated to the public domain under the CC0 Public
395
+ Domain Dedication. Except for the limited purpose of indicating that
396
+ material is shared under a Creative Commons public license or as
397
+ otherwise permitted by the Creative Commons policies published at
398
+ creativecommons.org/policies, Creative Commons does not authorize the
399
+ use of the trademark "Creative Commons" or any other trademark or logo
400
+ of Creative Commons without its prior written consent including,
401
+ without limitation, in connection with any unauthorized modifications
402
+ to any of its public licenses or any other arrangements,
403
+ understandings, or agreements concerning use of licensed material. For
404
+ the avoidance of doubt, this paragraph does not form part of the
405
+ public licenses.
406
+
407
+ Creative Commons may be contacted at creativecommons.org.
408
+
409
+ Classifier: Intended Audience :: Science/Research
410
+ Classifier: License :: Other/Proprietary License
411
+ Classifier: Programming Language :: Python
412
+ Classifier: Programming Language :: Python :: 3
413
+ Classifier: Operating System :: OS Independent
414
+ Requires-Python: >=3.9
415
+ Description-Content-Type: text/markdown
416
+ License-File: LICENSE
417
+ Requires-Dist: numpy
418
+ Requires-Dist: scipy
419
+ Requires-Dist: pandas
420
+ Dynamic: license-file
421
+
422
+ # The toolkit `nucleardatapy`
423
+
424
+ ## Purpose:
425
+
426
+ <img align="right" width="250" src="book/logo.png">
427
+
428
+ The purpose of this toolkit is to provide an easy access to theoretical or experimental or observational data and allows meta-analyses in a straightforward way.
429
+
430
+ This python toolkit is designed to provide:
431
+
432
+ 1. microscopic calculations in nuclear matter,
433
+ 2. phenomenological predictions in nuclear matter,
434
+ 3. experimental data for finite nuclei,
435
+ 4. astrophysical observations and theoretical predictions.
436
+
437
+ All data are provided with their reference, so when using these data in a scientific paper, reference to data should be provided explicitly. The reference to this toolkit could be given, but it should not mask the reference to the original source of data.
438
+
439
+ ## Installation of the toolkit:
440
+
441
+ To install the toolkit, launch:
442
+
443
+ ```
444
+ $ pip install nucleardatapy
445
+ ```
446
+
447
+ This installs the latest version of the toolkit.
448
+
449
+ If the github repository is downloaded, one can also install the toolkit using
450
+
451
+ ```
452
+ $ pip install -e .
453
+ ```
454
+
455
+ from within the root folder of the nucleardatapy directory.
456
+
457
+ ## Test the python toolkit
458
+
459
+ A set of tests can be easily performed. They are stored in tests/ folder.
460
+
461
+ Launch:
462
+
463
+ ```
464
+ $ bash run_tests.sh
465
+ ```
466
+
467
+ ## Short introduction to the toolkit:
468
+
469
+ The call of the toolkit in python code is performed in the usual way:
470
+
471
+ ```Python
472
+ import nucleardatapy as nuda
473
+ ```
474
+
475
+ The list of functions and global variables available in the toolkit can be printed from the following instruction:
476
+
477
+ ```Python
478
+ print(dir(nuda))
479
+ ```
480
+
481
+ A detailed view of the function can be obtained in the following way
482
+
483
+ ```Python
484
+ print(help(nuda))
485
+ ```
486
+
487
+ The toolkit classes instantiate objects that contain all the information available. For instance, the following command
488
+
489
+ ```Python
490
+ mass = nuda.astro.setupMasses()
491
+ ```
492
+
493
+ instantiates the object `mass` with the mass of PSR J1614-2230 which is the default case. All the properties of this object can be listed in the following way:
494
+
495
+ ```Python
496
+ mass.__dict__
497
+ ```
498
+
499
+ ## Documentation
500
+
501
+ The documentation for the toolkit can be found here: [https://nucleardatapy.readthedocs.io/en/latest/index.html](https://nucleardatapy.readthedocs.io/en/latest/index.html). The documentation is also available in the docs/ folder and can be built using the following command:
502
+
503
+ ```
504
+ sphinx-build -b html docs docs/build_html
505
+ ```
506
+
507
+ The pdf version of the documentation can be found by clicking this [link](https://github.com/jeromemargueron/nucleardatapy/blob/main/docs/nucleardatapy.pdf).
508
+
509
+ ## Tutorials
510
+
511
+ The tutorials to get started with nucleardatapy toolkit can be found here: [https://jeromemargueron.github.io/nucleardatapy/landing.html](https://jeromemargueron.github.io/nucleardatapy/landing.html). The tutorials are written using `jupyter notebook` and can be tried on your computer by downloading them or by using `google-colab`. In the github repository, the tutorials are available in the book/notebooks folder.
512
+
513
+ ## Use nucleardatapy python toolkit
514
+
515
+ The GitHub folder `nucleardatapy/nucleardatapy_samples/` contains a lot of examples on how to use the function and to draw figures. They are all python scripts that can be launched with `python3`. For instance, you can grab these samples anywhere in your computer and try:
516
+
517
+ ```
518
+ $ python3 matter_setupMicro_script.py
519
+ ```
520
+
521
+ There are also tutorials that can be employed to learn how to use the different functions in the toolkit.
522
+
523
+ ## Get started
524
+
525
+ Here is an example to obtain microscopic results for APR equation of state:
526
+
527
+ ```Python
528
+ import nucleardatapy as nuda
529
+
530
+ # Instantiate a micro object
531
+ micro = nuda.matter.setMicro( model = '1998-VAR-AM-APR')
532
+
533
+ # print outputs
534
+ micro.print_outputs( )
535
+ ```
536
+
537
+ More examples are shown in the associated paper[Give reference here], as well as in the sample folder or tutorials as previously written.
538
+
539
+ ## Contributing
540
+
541
+ The file `how_to_contribute.md` details how contributors could join our team or share their results.
542
+
543
+ ## License
544
+
545
+ CC BY-NC-ND 4.0
546
+
547
+ ## Report issues
548
+
549
+ Issues can be reported using [GitHub Issues](https://github.com/jeromemargueron/nucleardatapy/issues).
550
+
551
+ ## Thanks
552
+
553
+ A special thanks to all contributors who accepted to share their results in this toolkit.