nnpdf-data 0.0.1__py3-none-any.whl → 0.0.3__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 (509) hide show
  1. nnpdf_data/__init__.py +11 -67
  2. nnpdf_data/_version.py +1 -1
  3. nnpdf_data/commondata/ATHENA_NC_105GEV_EP/metadata.yaml +32 -33
  4. nnpdf_data/commondata/ATHENA_NC_140GEV_EP/metadata.yaml +32 -33
  5. nnpdf_data/commondata/ATHENA_NC_29GEV_EP/metadata.yaml +32 -33
  6. nnpdf_data/commondata/ATHENA_NC_45GEV_EP/metadata.yaml +32 -33
  7. nnpdf_data/commondata/ATHENA_NC_63GEV_EP/metadata.yaml +32 -33
  8. nnpdf_data/commondata/ATLAS_1JET_13TEV_DIF/metadata.yaml +70 -72
  9. nnpdf_data/commondata/ATLAS_1JET_13TEV_DIF/uncertainties_altcorr1_lumi.yaml +1 -1
  10. nnpdf_data/commondata/ATLAS_1JET_13TEV_DIF/uncertainties_lumi.yaml +1 -1
  11. nnpdf_data/commondata/ATLAS_1JET_8TEV_R06/metadata.yaml +7 -5
  12. nnpdf_data/commondata/ATLAS_2JET_13TEV_DIF/metadata.yaml +35 -36
  13. nnpdf_data/commondata/ATLAS_2JET_13TEV_DIF/uncertainties_lumi.yaml +1 -1
  14. nnpdf_data/commondata/ATLAS_2JET_7TEV_R06/metadata.yaml +45 -46
  15. nnpdf_data/commondata/ATLAS_DY_13TEV/kinematics_TOT.yaml +6 -18
  16. nnpdf_data/commondata/ATLAS_DY_13TEV/metadata.yaml +8 -14
  17. nnpdf_data/commondata/ATLAS_DY_7TEV_36PB/kinematics_ETA.yaml +90 -90
  18. nnpdf_data/commondata/ATLAS_DY_7TEV_36PB/metadata.yaml +16 -17
  19. nnpdf_data/commondata/ATLAS_DY_7TEV_46FB/kinematics_CC.yaml +138 -138
  20. nnpdf_data/commondata/ATLAS_DY_7TEV_46FB/metadata.yaml +14 -15
  21. nnpdf_data/commondata/ATLAS_PH_13TEV/data_XSEC.yaml +54 -0
  22. nnpdf_data/commondata/ATLAS_PH_13TEV/kinematics_XSEC.yaml +251 -251
  23. nnpdf_data/commondata/ATLAS_PH_13TEV/metadata.yaml +27 -27
  24. nnpdf_data/commondata/ATLAS_PH_13TEV/uncertainties_XSEC.yaml +5246 -0
  25. nnpdf_data/commondata/ATLAS_PH_8TEV/data_XSEC.yaml +50 -0
  26. nnpdf_data/commondata/ATLAS_PH_8TEV/kinematics_XSEC.yaml +589 -0
  27. nnpdf_data/commondata/ATLAS_PH_8TEV/metadata.yaml +59 -0
  28. nnpdf_data/commondata/ATLAS_PH_8TEV/uncertainties_XSEC.yaml +1645 -0
  29. nnpdf_data/commondata/ATLAS_SINGLETOP_13TEV/kinematics_TCHANNEL-XSEC.yaml +2 -10
  30. nnpdf_data/commondata/ATLAS_SINGLETOP_13TEV/metadata.yaml +13 -24
  31. nnpdf_data/commondata/ATLAS_SINGLETOP_13TEV/uncertainties_TCHANNEL-XSEC.yaml +107 -0
  32. nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/data_T-Y-NORM.yaml +4 -0
  33. nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/data_TBAR-Y-NORM.yaml +4 -0
  34. nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/kinematics_T-Y-NORM.yaml +19 -19
  35. nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/kinematics_TBAR-Y-NORM.yaml +19 -19
  36. nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/kinematics_TCHANNEL-XSEC.yaml +7 -7
  37. nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/metadata.yaml +67 -68
  38. nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/uncertainties_T-Y-NORM.yaml +72 -0
  39. nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/uncertainties_TBAR-Y-NORM.yaml +65 -0
  40. nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/uncertainties_TCHANNEL-XSEC.yaml +147 -0
  41. nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/data_T-RAP-NORM.yaml +4 -0
  42. nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/data_TBAR-RAP-NORM.yaml +4 -0
  43. nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/data_TCHANNEL-XSEC.yaml +2 -0
  44. nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/kinematics_T-RAP-NORM.yaml +18 -18
  45. nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/kinematics_TBAR-RAP-NORM.yaml +18 -18
  46. nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/kinematics_TCHANNEL-XSEC.yaml +7 -7
  47. nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/metadata.yaml +66 -67
  48. nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/uncertainties_T-RAP-NORM.yaml +135 -0
  49. nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/uncertainties_TBAR-RAP-NORM.yaml +135 -0
  50. nnpdf_data/commondata/{CMS_SINGLETOP_8TEV/uncertainties_legacy_TCHANNEL-XSEC.yaml → ATLAS_SINGLETOP_8TEV/uncertainties_TCHANNEL-XSEC.yaml} +2 -2
  51. nnpdf_data/commondata/ATLAS_TTBAR_13TEV_HADR_DIF/metadata.yaml +165 -171
  52. nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/data_d2Sig_dmttBar_dpTt.yaml +16 -0
  53. nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/data_d2Sig_dmttBar_dpTt_norm.yaml +16 -0
  54. nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/data_d2Sig_dpTt_dyt.yaml +14 -0
  55. nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/data_d2Sig_dpTt_dyt_norm.yaml +14 -0
  56. nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/kinematics_d2Sig_dmttBar_dpTt.yaml +181 -0
  57. nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/kinematics_d2Sig_dmttBar_dpTt_norm.yaml +181 -0
  58. nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/kinematics_d2Sig_dpTt_dyt.yaml +157 -0
  59. nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/kinematics_d2Sig_dpTt_dyt_norm.yaml +157 -0
  60. nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/metadata.yaml +335 -229
  61. nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/uncertainties_d2Sig_dmttBar_dpTt.yaml +287 -0
  62. nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/uncertainties_d2Sig_dmttBar_dpTt_norm.yaml +287 -0
  63. nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/uncertainties_d2Sig_dpTt_dyt.yaml +223 -0
  64. nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/uncertainties_d2Sig_dpTt_dyt_norm.yaml +223 -0
  65. nnpdf_data/commondata/ATLAS_TTBAR_13TEV_TOT/metadata.yaml +7 -4
  66. nnpdf_data/commondata/ATLAS_TTBAR_13TEV_TOT/uncertainties.yaml +1 -1
  67. nnpdf_data/commondata/ATLAS_TTBAR_7TEV_TOT/metadata.yaml +7 -4
  68. nnpdf_data/commondata/ATLAS_TTBAR_7TEV_TOT/uncertainties.yaml +1 -1
  69. nnpdf_data/commondata/ATLAS_TTBAR_8TEV_2L_DIF/metadata.yaml +1 -6
  70. nnpdf_data/commondata/ATLAS_TTBAR_8TEV_LJ_DIF/metadata.yaml +17 -18
  71. nnpdf_data/commondata/ATLAS_TTBAR_8TEV_LJ_DIF/uncertainties_dSig_dmttBar.yaml +1 -1
  72. nnpdf_data/commondata/ATLAS_TTBAR_8TEV_LJ_DIF/uncertainties_dSig_dpTt.yaml +1 -1
  73. nnpdf_data/commondata/ATLAS_TTBAR_8TEV_LJ_DIF/uncertainties_dSig_dyt.yaml +1 -1
  74. nnpdf_data/commondata/ATLAS_TTBAR_8TEV_LJ_DIF/uncertainties_dSig_dyttBar.yaml +1 -1
  75. nnpdf_data/commondata/ATLAS_TTBAR_8TEV_TOT/metadata.yaml +8 -4
  76. nnpdf_data/commondata/ATLAS_TTBAR_8TEV_TOT/uncertainties.yaml +1 -1
  77. nnpdf_data/commondata/ATLAS_WCHARM_7TEV/kinematics_WM-YL.yaml +56 -100
  78. nnpdf_data/commondata/ATLAS_WCHARM_7TEV/kinematics_WP-YL.yaml +56 -100
  79. nnpdf_data/commondata/ATLAS_WCHARM_7TEV/metadata.yaml +50 -62
  80. nnpdf_data/commondata/ATLAS_WCHARM_7TEV/uncertainties_WM-YL.yaml +1742 -0
  81. nnpdf_data/commondata/ATLAS_WCHARM_7TEV/uncertainties_WP-YL.yaml +1742 -0
  82. nnpdf_data/commondata/ATLAS_WJ_8TEV/data_WM-PT.yaml +17 -0
  83. nnpdf_data/commondata/ATLAS_WJ_8TEV/data_WP-PT.yaml +17 -0
  84. nnpdf_data/commondata/ATLAS_WJ_8TEV/kinematics_WM-PT.yaml +80 -144
  85. nnpdf_data/commondata/ATLAS_WJ_8TEV/kinematics_WP-PT.yaml +80 -144
  86. nnpdf_data/commondata/ATLAS_WJ_8TEV/metadata.yaml +75 -70
  87. nnpdf_data/commondata/ATLAS_WJ_8TEV/uncertainties_WM-PT.yaml +1402 -0
  88. nnpdf_data/commondata/ATLAS_WJ_8TEV/uncertainties_WP-PT.yaml +1402 -0
  89. nnpdf_data/commondata/ATLAS_WPWM_13TEV/data.yaml +3 -0
  90. nnpdf_data/commondata/ATLAS_WPWM_13TEV/kinematics.yaml +17 -0
  91. nnpdf_data/commondata/ATLAS_WPWM_13TEV/metadata.yaml +21 -25
  92. nnpdf_data/commondata/ATLAS_WPWM_13TEV/uncertainties.yaml +32 -0
  93. nnpdf_data/commondata/ATLAS_WPWM_13TEV/uncertainties_legacy_TOT.yaml +1 -1
  94. nnpdf_data/commondata/ATLAS_WPWM_7TEV_36PB/data.yaml +23 -0
  95. nnpdf_data/commondata/ATLAS_WPWM_7TEV_36PB/kinematics.yaml +265 -0
  96. nnpdf_data/commondata/ATLAS_WPWM_7TEV_36PB/metadata.yaml +26 -26
  97. nnpdf_data/commondata/ATLAS_WPWM_7TEV_36PB/uncertainties.yaml +860 -0
  98. nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/data.yaml +23 -0
  99. nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/kinematics.yaml +265 -0
  100. nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/metadata.yaml +24 -24
  101. nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/uncertainties.yaml +3486 -0
  102. nnpdf_data/commondata/ATLAS_Z0J_13TEV_PT/metadata.yaml +29 -30
  103. nnpdf_data/commondata/ATLAS_Z0J_8TEV/metadata.yaml +0 -2
  104. nnpdf_data/commondata/ATLAS_Z0_13TEV/data.yaml +2 -0
  105. nnpdf_data/commondata/ATLAS_Z0_13TEV/kinematics.yaml +9 -0
  106. nnpdf_data/commondata/ATLAS_Z0_13TEV/metadata.yaml +17 -22
  107. nnpdf_data/commondata/ATLAS_Z0_13TEV/uncertainties.yaml +27 -0
  108. nnpdf_data/commondata/ATLAS_Z0_13TEV/uncertainties_legacy_TOT.yaml +1 -1
  109. nnpdf_data/commondata/ATLAS_Z0_7TEV_36PB/data.yaml +9 -0
  110. nnpdf_data/commondata/ATLAS_Z0_7TEV_36PB/kinematics.yaml +97 -0
  111. nnpdf_data/commondata/ATLAS_Z0_7TEV_36PB/metadata.yaml +26 -26
  112. nnpdf_data/commondata/ATLAS_Z0_7TEV_36PB/uncertainties.yaml +398 -0
  113. nnpdf_data/commondata/ATLAS_Z0_7TEV_46FB/data_cc.yaml +25 -0
  114. nnpdf_data/commondata/ATLAS_Z0_7TEV_46FB/data_cf.yaml +16 -0
  115. nnpdf_data/commondata/ATLAS_Z0_7TEV_46FB/kinematics_cc.yaml +289 -0
  116. nnpdf_data/commondata/ATLAS_Z0_7TEV_46FB/kinematics_cf.yaml +181 -0
  117. nnpdf_data/commondata/ATLAS_Z0_7TEV_46FB/metadata.yaml +49 -49
  118. nnpdf_data/commondata/ATLAS_Z0_7TEV_46FB/uncertainties_cc.yaml +3754 -0
  119. nnpdf_data/commondata/ATLAS_Z0_7TEV_46FB/uncertainties_cf.yaml +2548 -0
  120. nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/data.yaml +14 -0
  121. nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/kinematics.yaml +53 -0
  122. nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/metadata.yaml +17 -27
  123. nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/uncertainties.yaml +206 -0
  124. nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS/kinematics.yaml +49 -0
  125. nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS/metadata.yaml +22 -27
  126. nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS/uncertainties.yaml +92 -0
  127. nnpdf_data/commondata/ATLAS_Z0_8TEV_HIMASS/data.yaml +49 -0
  128. nnpdf_data/commondata/ATLAS_Z0_8TEV_HIMASS/kinematics.yaml +577 -0
  129. nnpdf_data/commondata/ATLAS_Z0_8TEV_HIMASS/metadata.yaml +27 -27
  130. nnpdf_data/commondata/ATLAS_Z0_8TEV_HIMASS/uncertainties.yaml +1978 -0
  131. nnpdf_data/commondata/ATLAS_Z0_8TEV_LOWMASS/{data_legacy_M-Y.yaml → data.yaml} +22 -22
  132. nnpdf_data/commondata/ATLAS_Z0_8TEV_LOWMASS/kinematics.yaml +1009 -0
  133. nnpdf_data/commondata/ATLAS_Z0_8TEV_LOWMASS/metadata.yaml +29 -28
  134. nnpdf_data/commondata/ATLAS_Z0_8TEV_LOWMASS/uncertainties.yaml +24466 -0
  135. nnpdf_data/commondata/ATLAS_Z0_8TEV_ZMASS/metadata.yaml +26 -27
  136. nnpdf_data/commondata/BCDMS_NC_NOTFIXED_D/data_rqcd.yaml +160 -0
  137. nnpdf_data/commondata/BCDMS_NC_NOTFIXED_D/data_rzero.yaml +160 -0
  138. nnpdf_data/commondata/BCDMS_NC_NOTFIXED_D/kinematics_EM-F2-HEPDATA.yaml +1273 -0
  139. nnpdf_data/commondata/BCDMS_NC_NOTFIXED_D/kinematics_EM-F2.yaml +762 -762
  140. nnpdf_data/commondata/BCDMS_NC_NOTFIXED_D/metadata.yaml +81 -28
  141. nnpdf_data/commondata/BCDMS_NC_NOTFIXED_D/uncertainties_rqcd.yaml +491 -0
  142. nnpdf_data/commondata/BCDMS_NC_NOTFIXED_D/uncertainties_rzero.yaml +491 -0
  143. nnpdf_data/commondata/BCDMS_NC_NOTFIXED_P/data_rqcd.yaml +178 -0
  144. nnpdf_data/commondata/BCDMS_NC_NOTFIXED_P/data_rzero.yaml +178 -0
  145. nnpdf_data/commondata/BCDMS_NC_NOTFIXED_P/kinematics_EM-F2-HEPDATA.yaml +2125 -0
  146. nnpdf_data/commondata/BCDMS_NC_NOTFIXED_P/kinematics_EM-F2.yaml +1053 -1053
  147. nnpdf_data/commondata/BCDMS_NC_NOTFIXED_P/metadata.yaml +84 -25
  148. nnpdf_data/commondata/BCDMS_NC_NOTFIXED_P/uncertainties_rqcd.yaml +545 -0
  149. nnpdf_data/commondata/BCDMS_NC_NOTFIXED_P/uncertainties_rzero.yaml +545 -0
  150. nnpdf_data/commondata/CDF_Z0_1P96TEV/kinematics_ZRAP.yaml +174 -174
  151. nnpdf_data/commondata/CDF_Z0_1P96TEV/metadata.yaml +27 -28
  152. nnpdf_data/commondata/CDF_Z0_1P96TEV/{uncertainties_legacy_ZRAP.yaml → uncertainties_ZRAP.yaml} +11 -11
  153. nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/{kinematics_NU-SIGMARED.yaml → kinematics.yaml} +2428 -2428
  154. nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/metadata.yaml +56 -52
  155. nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/uncertainties_nb_hepdata.yaml +2446 -0
  156. nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/uncertainties_nu_hepdata.yaml +2446 -0
  157. nnpdf_data/commondata/CMS_1JET_13TEV_DIF/metadata.yaml +66 -68
  158. nnpdf_data/commondata/CMS_1JET_8TEV/metadata.yaml +9 -8
  159. nnpdf_data/commondata/CMS_2JET_7TEV/metadata.yaml +30 -31
  160. nnpdf_data/commondata/CMS_SINGLETOP_13TEV/kinematics_TCHANNEL-XSEC.yaml +2 -10
  161. nnpdf_data/commondata/CMS_SINGLETOP_13TEV/metadata.yaml +11 -22
  162. nnpdf_data/commondata/CMS_SINGLETOP_7TEV/kinematics_TCHANNEL-XSEC.yaml +2 -10
  163. nnpdf_data/commondata/CMS_SINGLETOP_7TEV/metadata.yaml +11 -22
  164. nnpdf_data/commondata/CMS_SINGLETOP_7TEV/{uncertainties_legacy_TCHANNEL-XSEC.yaml → uncertainties_TCHANNEL-XSEC.yaml} +1 -1
  165. nnpdf_data/commondata/CMS_SINGLETOP_8TEV/kinematics_TCHANNEL-XSEC.yaml +2 -10
  166. nnpdf_data/commondata/CMS_SINGLETOP_8TEV/metadata.yaml +14 -25
  167. nnpdf_data/commondata/CMS_SINGLETOP_8TEV/uncertainties_TCHANNEL-XSEC.yaml +12 -0
  168. nnpdf_data/commondata/CMS_TTBAR_13TEV_2L_DIF/metadata.yaml +2 -12
  169. nnpdf_data/commondata/CMS_TTBAR_13TEV_LJ_2016_DIF/{kinematics_YTTBAR.yaml → kinematics_YT.yaml} +33 -33
  170. nnpdf_data/commondata/CMS_TTBAR_13TEV_LJ_2016_DIF/metadata.yaml +20 -21
  171. nnpdf_data/commondata/CMS_TTBAR_13TEV_LJ_DIF/metadata.yaml +256 -266
  172. nnpdf_data/commondata/CMS_TTBAR_13TEV_TOT/metadata.yaml +8 -4
  173. nnpdf_data/commondata/CMS_TTBAR_13TEV_TOT/uncertainties.yaml +1 -1
  174. nnpdf_data/commondata/CMS_TTBAR_5TEV_TOT/metadata.yaml +1 -2
  175. nnpdf_data/commondata/CMS_TTBAR_7TEV_TOT/metadata.yaml +7 -4
  176. nnpdf_data/commondata/CMS_TTBAR_7TEV_TOT/uncertainties.yaml +1 -1
  177. nnpdf_data/commondata/CMS_TTBAR_8TEV_2L_DIF/metadata.yaml +10 -11
  178. nnpdf_data/commondata/CMS_TTBAR_8TEV_LJ_DIF/metadata.yaml +1 -5
  179. nnpdf_data/commondata/CMS_TTBAR_8TEV_TOT/metadata.yaml +7 -4
  180. nnpdf_data/commondata/CMS_TTBAR_8TEV_TOT/uncertainties.yaml +1 -1
  181. nnpdf_data/commondata/CMS_WCHARM_13TEV/data_WPWM-TOT-UNNORM.yaml +6 -0
  182. nnpdf_data/commondata/CMS_WCHARM_13TEV/kinematics_WPWM-TOT-UNNORM.yaml +26 -46
  183. nnpdf_data/commondata/{ATLAS_Z0_7TEV_LOMASS/kinematics_M.yaml → CMS_WCHARM_13TEV/kinematics_legacy_WPWM-TOT-UNNORM.yaml} +15 -27
  184. nnpdf_data/commondata/CMS_WCHARM_13TEV/metadata.yaml +26 -29
  185. nnpdf_data/commondata/CMS_WCHARM_13TEV/uncertainties_WPWM-TOT-UNNORM.yaml +128 -0
  186. nnpdf_data/commondata/CMS_WCHARM_7TEV/kinematics_WPWM-RATIO.yaml +26 -46
  187. nnpdf_data/commondata/CMS_WCHARM_7TEV/kinematics_WPWM-TOT.yaml +26 -46
  188. nnpdf_data/commondata/CMS_WCHARM_7TEV/metadata.yaml +38 -51
  189. nnpdf_data/commondata/CMS_WCHARM_7TEV/uncertainties_WPWM-RATIO.yaml +20 -0
  190. nnpdf_data/commondata/CMS_WCHARM_7TEV/uncertainties_WPWM-TOT.yaml +56 -0
  191. nnpdf_data/commondata/CMS_WPWM_13TEV_ETA/metadata.yaml +52 -54
  192. nnpdf_data/commondata/CMS_WPWM_7TEV_ELECTRON/kinematics.yaml +11 -11
  193. nnpdf_data/commondata/CMS_WPWM_7TEV_ELECTRON/metadata.yaml +8 -9
  194. nnpdf_data/commondata/CMS_WPWM_7TEV_MUON/kinematics.yaml +11 -11
  195. nnpdf_data/commondata/CMS_WPWM_7TEV_MUON/metadata.yaml +7 -9
  196. nnpdf_data/commondata/CMS_WPWM_8TEV_MUON/kinematics.yaml +22 -22
  197. nnpdf_data/commondata/CMS_WPWM_8TEV_MUON/metadata.yaml +5 -7
  198. nnpdf_data/commondata/CMS_Z0J_8TEV/{data_legacy_PT-Y.yaml → data_PT-Y.yaml} +7 -7
  199. nnpdf_data/commondata/CMS_Z0J_8TEV/kinematics_PT-Y.yaml +560 -560
  200. nnpdf_data/commondata/CMS_Z0J_8TEV/metadata.yaml +43 -41
  201. nnpdf_data/commondata/CMS_Z0J_8TEV/uncertainties_PT-Y.yaml +2806 -0
  202. nnpdf_data/commondata/CMS_Z0J_8TEV/uncertainties_PT-Y_sys_10.yaml +2755 -2759
  203. nnpdf_data/commondata/CMS_Z0J_8TEV/uncertainties_legacy_PT-Y_sys_10.yaml +2864 -0
  204. nnpdf_data/commondata/CMS_Z0_7TEV_DIMUON/kinematics.yaml +132 -132
  205. nnpdf_data/commondata/CMS_Z0_7TEV_DIMUON/metadata.yaml +7 -8
  206. nnpdf_data/commondata/COMPASS15_NC_NOTFIXED_MUD/metadata.yaml +32 -33
  207. nnpdf_data/commondata/COMPASS15_NC_NOTFIXED_MUP/metadata.yaml +32 -33
  208. nnpdf_data/commondata/D0_WPWM_1P96TEV/data_ASY.yaml +11 -0
  209. nnpdf_data/commondata/D0_WPWM_1P96TEV/kinematics_ASY.yaml +68 -68
  210. nnpdf_data/commondata/D0_WPWM_1P96TEV/metadata.yaml +26 -26
  211. nnpdf_data/commondata/D0_WPWM_1P96TEV/uncertainties_ASY.yaml +114 -0
  212. nnpdf_data/commondata/D0_Z0_1P96TEV/data_ZRAP.yaml +29 -0
  213. nnpdf_data/commondata/D0_Z0_1P96TEV/kinematics_ZRAP.yaml +174 -174
  214. nnpdf_data/commondata/D0_Z0_1P96TEV/metadata.yaml +26 -26
  215. nnpdf_data/commondata/D0_Z0_1P96TEV/uncertainties_ZRAP.yaml +66 -0
  216. nnpdf_data/commondata/DYE605_Z0_38P8GEV_DW/{kinematics_PXSEC.yaml → kinematics.yaml} +476 -476
  217. nnpdf_data/commondata/DYE605_Z0_38P8GEV_DW/metadata.yaml +28 -29
  218. nnpdf_data/commondata/DYE605_Z0_38P8GEV_DW/uncertainties.yaml +123248 -0
  219. nnpdf_data/commondata/DYE866_Z0_800GEV/data.yaml +185 -0
  220. nnpdf_data/commondata/DYE866_Z0_800GEV/{kinematics_PXSEC.yaml → kinematics.yaml} +802 -802
  221. nnpdf_data/commondata/DYE866_Z0_800GEV/kinematics_legacy.yaml +2209 -0
  222. nnpdf_data/commondata/DYE866_Z0_800GEV/metadata.yaml +27 -27
  223. nnpdf_data/commondata/DYE866_Z0_800GEV/uncertainties.yaml +566 -0
  224. nnpdf_data/commondata/DYE866_Z0_800GEV_DW_RATIO/{kinematics_PDXSECRATIO.yaml → kinematics.yaml} +68 -68
  225. nnpdf_data/commondata/DYE866_Z0_800GEV_DW_RATIO/metadata.yaml +27 -28
  226. nnpdf_data/commondata/DYE866_Z0_800GEV_DW_RATIO/uncertainties.yaml +1940 -0
  227. nnpdf_data/commondata/DYE906_Z0_120GEV_DW/{kinematics_PDXSECRATIO.yaml → kinematics.yaml} +32 -32
  228. nnpdf_data/commondata/DYE906_Z0_120GEV_DW/metadata.yaml +24 -25
  229. nnpdf_data/commondata/DYE906_Z0_120GEV_DW/uncertainties.yaml +1082 -0
  230. nnpdf_data/commondata/E142_NC_NOTFIXED_EN/metadata.yaml +31 -32
  231. nnpdf_data/commondata/E143_NC_NOTFIXED_ED/metadata.yaml +32 -33
  232. nnpdf_data/commondata/E143_NC_NOTFIXED_EP/metadata.yaml +32 -33
  233. nnpdf_data/commondata/E154_NC_9GEV_EN/metadata.yaml +32 -33
  234. nnpdf_data/commondata/E155_NC_9GEV_EN/metadata.yaml +39 -40
  235. nnpdf_data/commondata/E155_NC_9GEV_EP/metadata.yaml +39 -40
  236. nnpdf_data/commondata/EICC_NC_15GEV_EP/metadata.yaml +31 -32
  237. nnpdf_data/commondata/EICC_NC_22GEV_EP/metadata.yaml +31 -32
  238. nnpdf_data/commondata/EIC_NC_211GEV_EP/metadata.yaml +31 -32
  239. nnpdf_data/commondata/EIC_NC_43GEV_EP/metadata.yaml +31 -32
  240. nnpdf_data/commondata/EIC_NC_67GEV_EP/metadata.yaml +31 -32
  241. nnpdf_data/commondata/EMC_NC_250GEV/kinematics.yaml +253 -0
  242. nnpdf_data/commondata/EMC_NC_250GEV/metadata.yaml +29 -26
  243. nnpdf_data/commondata/EMC_NC_250GEV/uncertainties_rzero.yaml +77 -0
  244. nnpdf_data/commondata/EMC_NC_NOTFIXED_MUP/metadata.yaml +31 -32
  245. nnpdf_data/commondata/H1_1JET_319GEV_290PB-1_DIF/metadata.yaml +103 -107
  246. nnpdf_data/commondata/H1_1JET_319GEV_351PB-1_DIF/metadata.yaml +57 -59
  247. nnpdf_data/commondata/H1_2JET_319GEV_290PB-1_DIF/metadata.yaml +59 -61
  248. nnpdf_data/commondata/H1_2JET_319GEV_351PB-1_DIF/metadata.yaml +57 -59
  249. nnpdf_data/commondata/HERA_CC_318GEV/kinematics_EM-SIGMARED.yaml +126 -126
  250. nnpdf_data/commondata/HERA_CC_318GEV/kinematics_EP-SIGMARED.yaml +117 -117
  251. nnpdf_data/commondata/HERA_CC_318GEV/metadata.yaml +41 -43
  252. nnpdf_data/commondata/HERA_CC_318GEV/uncertainties_EM-SIGMARED.yaml +7868 -0
  253. nnpdf_data/commondata/HERA_CC_318GEV/uncertainties_EP-SIGMARED.yaml +7355 -0
  254. nnpdf_data/commondata/HERA_NC_225GEV/kinematics_EP-SIGMARED.yaml +627 -627
  255. nnpdf_data/commondata/HERA_NC_225GEV/metadata.yaml +21 -22
  256. nnpdf_data/commondata/HERA_NC_225GEV/uncertainties_EP-SIGMARED.yaml +36425 -0
  257. nnpdf_data/commondata/HERA_NC_251GEV/kinematics_EP-SIGMARED.yaml +780 -780
  258. nnpdf_data/commondata/HERA_NC_251GEV/metadata.yaml +21 -22
  259. nnpdf_data/commondata/HERA_NC_251GEV/uncertainties_EP-SIGMARED.yaml +45146 -0
  260. nnpdf_data/commondata/HERA_NC_300GEV/kinematics_EP-SIGMARED.yaml +336 -336
  261. nnpdf_data/commondata/HERA_NC_300GEV/metadata.yaml +21 -22
  262. nnpdf_data/commondata/HERA_NC_300GEV/uncertainties_EP-SIGMARED.yaml +19838 -0
  263. nnpdf_data/commondata/HERA_NC_318GEV/kinematics_EM-SIGMARED.yaml +477 -477
  264. nnpdf_data/commondata/HERA_NC_318GEV/kinematics_EP-SIGMARED.yaml +1455 -1455
  265. nnpdf_data/commondata/HERA_NC_318GEV/metadata.yaml +41 -43
  266. nnpdf_data/commondata/HERA_NC_318GEV/uncertainties_EM-SIGMARED.yaml +27875 -0
  267. nnpdf_data/commondata/HERA_NC_318GEV/uncertainties_EP-SIGMARED.yaml +83621 -0
  268. nnpdf_data/commondata/HERA_NC_318GEV_EAVG/kinematics_BOTTOM-SIGMARED.yaml +108 -108
  269. nnpdf_data/commondata/HERA_NC_318GEV_EAVG/kinematics_CHARM-SIGMARED.yaml +208 -208
  270. nnpdf_data/commondata/HERA_NC_318GEV_EAVG/metadata.yaml +41 -43
  271. nnpdf_data/commondata/HERA_NC_318GEV_EAVG/uncertainties_BOTTOM-SIGMARED.yaml +5241 -0
  272. nnpdf_data/commondata/HERA_NC_318GEV_EAVG/uncertainties_CHARM-SIGMARED.yaml +9466 -0
  273. nnpdf_data/commondata/HERMES97_NC_7GEV_EN/metadata.yaml +32 -33
  274. nnpdf_data/commondata/HERMES_NC_7GEV_ED/metadata.yaml +32 -33
  275. nnpdf_data/commondata/HERMES_NC_7GEV_EP/metadata.yaml +32 -33
  276. nnpdf_data/commondata/JLABE06_NC_3GEV_EN/metadata.yaml +32 -33
  277. nnpdf_data/commondata/JLABE97_NC_NOTFIXED_EN/metadata.yaml +31 -32
  278. nnpdf_data/commondata/JLABE99_NC_3GEV_EN/metadata.yaml +32 -33
  279. nnpdf_data/commondata/JLABEG1B_NC_NOTFIXED_ED/metadata.yaml +32 -512
  280. nnpdf_data/commondata/JLABEG1B_NC_NOTFIXED_EP/metadata.yaml +32 -172
  281. nnpdf_data/commondata/JLABEG1DVCS_NC_3GEV_EP/metadata.yaml +33 -34
  282. nnpdf_data/commondata/JLABEG1DVCS_NC_5GEV_ED/metadata.yaml +33 -34
  283. nnpdf_data/commondata/LHCB_DY_7TEV_MUON/metadata.yaml +6 -41
  284. nnpdf_data/commondata/LHCB_DY_8TEV_MUON/metadata.yaml +11 -47
  285. nnpdf_data/commondata/LHCB_WPWM_7TEV_MUON/metadata.yaml +5 -23
  286. nnpdf_data/commondata/LHCB_WPWM_8TEV_MUON/metadata.yaml +5 -23
  287. nnpdf_data/commondata/LHCB_Z0J_13TEV_2022/metadata.yaml +19 -25
  288. nnpdf_data/commondata/LHCB_Z0_13TEV/metadata.yaml +4 -6
  289. nnpdf_data/commondata/LHCB_Z0_13TEV/uncertainties_dielectron.yaml +1 -1
  290. nnpdf_data/commondata/LHCB_Z0_13TEV/uncertainties_dimuon.yaml +1 -1
  291. nnpdf_data/commondata/LHCB_Z0_13TEV_2022/metadata.yaml +24 -30
  292. nnpdf_data/commondata/LHCB_Z0_13TEV_2022/uncertainties_dimuon_y.yaml +1 -1
  293. nnpdf_data/commondata/LHCB_Z0_7TEV_DIELECTRON/metadata.yaml +2 -3
  294. nnpdf_data/commondata/LHCB_Z0_7TEV_MUON/metadata.yaml +2 -3
  295. nnpdf_data/commondata/LHCB_Z0_8TEV_DIELECTRON/metadata.yaml +2 -3
  296. nnpdf_data/commondata/LHCB_Z0_8TEV_MUON/metadata.yaml +4 -24
  297. nnpdf_data/commondata/NMC_NC_NOTFIXED/{kinematics_EM-F2.yaml → kinematics.yaml} +1040 -1040
  298. nnpdf_data/commondata/NMC_NC_NOTFIXED/metadata.yaml +30 -28
  299. nnpdf_data/commondata/NMC_NC_NOTFIXED/uncertainties_hepdata.yaml +530 -0
  300. nnpdf_data/commondata/NMC_NC_NOTFIXED_D/data_EM-F2-HEPDATA.yaml +159 -0
  301. nnpdf_data/commondata/NMC_NC_NOTFIXED_D/kinematics_EM-F2-HEPDATA.yaml +1265 -0
  302. nnpdf_data/commondata/NMC_NC_NOTFIXED_D/metadata.yaml +59 -0
  303. nnpdf_data/commondata/NMC_NC_NOTFIXED_D/uncertainties_EM-F2-HEPDATA.yaml +326 -0
  304. nnpdf_data/commondata/NMC_NC_NOTFIXED_P/data_EM-F2-HEPDATA.yaml +159 -0
  305. nnpdf_data/commondata/NMC_NC_NOTFIXED_P/kinematics_EM-F2-HEPDATA.yaml +1265 -0
  306. nnpdf_data/commondata/NMC_NC_NOTFIXED_P/kinematics_EM-SIGMARED.yaml +2336 -2920
  307. nnpdf_data/commondata/NMC_NC_NOTFIXED_P/metadata.yaml +68 -25
  308. nnpdf_data/commondata/NMC_NC_NOTFIXED_P/uncertainties_EM-F2-HEPDATA.yaml +326 -0
  309. nnpdf_data/commondata/NNPDF_FIATLUX_NOTFIXED/metadata.yaml +2 -2
  310. nnpdf_data/commondata/NNPDF_INTEG_1GEV/kinematics_XDELTA.yaml +0 -4
  311. nnpdf_data/commondata/NNPDF_INTEG_1GEV/kinematics_flavour.yaml +0 -2
  312. nnpdf_data/commondata/NNPDF_INTEG_1GEV/metadata.yaml +8 -42
  313. nnpdf_data/commondata/NNPDF_INTEG_3GEV/metadata.yaml +5 -5
  314. nnpdf_data/commondata/NNPDF_POS_2P24GEV/kinematics_DYD.yaml +60 -60
  315. nnpdf_data/commondata/NNPDF_POS_2P24GEV/kinematics_DYS.yaml +60 -60
  316. nnpdf_data/commondata/NNPDF_POS_2P24GEV/kinematics_DYU.yaml +60 -60
  317. nnpdf_data/commondata/NNPDF_POS_2P24GEV/metadata.yaml +52 -80
  318. nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/{data_legacy_dw_NB-SIGMARED.yaml → data_NB.yaml} +22 -22
  319. nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/{data_legacy_dw_NU-SIGMARED.yaml → data_NU.yaml} +11 -11
  320. nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/{kinematics_NB-SIGMARED.yaml → kinematics_NB.yaml} +180 -180
  321. nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/{kinematics_NU-SIGMARED.yaml → kinematics_NU.yaml} +180 -180
  322. nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/metadata.yaml +55 -50
  323. nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/uncertainties_NB_hepdata.yaml +198 -0
  324. nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/uncertainties_NU_hepdata.yaml +198 -0
  325. nnpdf_data/commondata/PHENIX-2009_SHP_200GEV_PI0/metadata.yaml +22 -23
  326. nnpdf_data/commondata/PHENIX-2013_SHP_510GEV_PI0/metadata.yaml +22 -23
  327. nnpdf_data/commondata/PHENIX_1JET_200GEV/metadata.yaml +25 -36
  328. nnpdf_data/commondata/SLAC_NC_NOTFIXED_D/kinematics_EM-F2.yaml +633 -633
  329. nnpdf_data/commondata/SLAC_NC_NOTFIXED_D/metadata.yaml +20 -20
  330. nnpdf_data/commondata/SLAC_NC_NOTFIXED_P/kinematics_EM-F2.yaml +633 -633
  331. nnpdf_data/commondata/SLAC_NC_NOTFIXED_P/metadata.yaml +20 -20
  332. nnpdf_data/commondata/SMCSX_NC_17GEV_MUP/metadata.yaml +33 -34
  333. nnpdf_data/commondata/SMCSX_NC_24GEV_MUD/metadata.yaml +33 -34
  334. nnpdf_data/commondata/SMC_NC_NOTFIXED_MUD/metadata.yaml +32 -33
  335. nnpdf_data/commondata/SMC_NC_NOTFIXED_MUP/metadata.yaml +32 -33
  336. nnpdf_data/commondata/STAR-2004_1JET_200GEV/metadata.yaml +26 -37
  337. nnpdf_data/commondata/STAR-2005_1JET_200GEV/metadata.yaml +26 -37
  338. nnpdf_data/commondata/STAR-2006_1JET_200GEV/metadata.yaml +26 -37
  339. nnpdf_data/commondata/STAR-2006_SHP_200GEV_PI0/metadata.yaml +22 -23
  340. nnpdf_data/commondata/STAR-2009_1JET_200GEV/metadata.yaml +52 -74
  341. nnpdf_data/commondata/STAR-2009_2JET_200GEV/metadata.yaml +75 -93
  342. nnpdf_data/commondata/STAR-2009_2JET_200GEV_MIDRAP/metadata.yaml +50 -62
  343. nnpdf_data/commondata/STAR-2012_1JET_510GEV/metadata.yaml +26 -42
  344. nnpdf_data/commondata/STAR-2012_2JET_510GEV/metadata.yaml +100 -124
  345. nnpdf_data/commondata/STAR-2013_1JET_510GEV/metadata.yaml +25 -36
  346. nnpdf_data/commondata/STAR-2013_2JET_510GEV/metadata.yaml +100 -124
  347. nnpdf_data/commondata/STAR-2013_SHP_510GEV_PI0/metadata.yaml +44 -46
  348. nnpdf_data/commondata/STAR-2015_1JET_200GEV/metadata.yaml +50 -72
  349. nnpdf_data/commondata/STAR-2015_2JET_200GEV_MIDRAP/metadata.yaml +50 -62
  350. nnpdf_data/commondata/STAR_WMWP_510GEV/metadata.yaml +60 -62
  351. nnpdf_data/commondata/ZEUS_1JET_300GEV_38P6PB-1_DIF/metadata.yaml +35 -36
  352. nnpdf_data/commondata/ZEUS_1JET_319GEV_82PB-1_DIF/metadata.yaml +35 -36
  353. nnpdf_data/commondata/ZEUS_2JET_319GEV_374PB-1_DIF/metadata.yaml +35 -36
  354. nnpdf_data/commondata/dataset_names.yml +4 -1
  355. nnpdf_data/commondataparser.py +64 -29
  356. nnpdf_data/coredata.py +10 -6
  357. nnpdf_data/filter_utils/hera_utils.py +73 -0
  358. nnpdf_data/filter_utils/nmc_hepdata_utils.py +59 -0
  359. nnpdf_data/filter_utils/utils.py +16 -4
  360. nnpdf_data/process_options.py +128 -14
  361. nnpdf_data/theory.py +0 -13
  362. nnpdf_data/theory_cards/40005000.yaml +48 -0
  363. nnpdf_data/theory_cards/40005001.yaml +48 -0
  364. nnpdf_data/theory_cards/40005002.yaml +48 -0
  365. nnpdf_data/theory_cards/40005003.yaml +48 -0
  366. nnpdf_data/theory_cards/40005004.yaml +48 -0
  367. nnpdf_data/theory_cards/40005005.yaml +48 -0
  368. nnpdf_data/theory_cards/40005006.yaml +48 -0
  369. nnpdf_data/theory_cards/40005007.yaml +48 -0
  370. nnpdf_data/theory_cards/40005008.yaml +48 -0
  371. nnpdf_data/theory_cards/40005009.yaml +48 -0
  372. nnpdf_data/theory_cards/40005010.yaml +48 -0
  373. nnpdf_data/theory_cards/40005011.yaml +48 -0
  374. nnpdf_data/theory_cards/40005012.yaml +48 -0
  375. nnpdf_data/theory_cards/40005013.yaml +48 -0
  376. nnpdf_data/theory_cards/40005014.yaml +48 -0
  377. nnpdf_data/theory_cards/40005015.yaml +48 -0
  378. nnpdf_data/theory_cards/40005016.yaml +48 -0
  379. nnpdf_data/theory_cards/40005017.yaml +48 -0
  380. nnpdf_data/theory_cards/40005018.yaml +48 -0
  381. nnpdf_data/theory_cards/40005019.yaml +48 -0
  382. nnpdf_data/theory_cards/40005020.yaml +48 -0
  383. nnpdf_data/theory_cards/40005021.yaml +48 -0
  384. nnpdf_data/theory_cards/40005022.yaml +48 -0
  385. nnpdf_data/theory_cards/40005023.yaml +48 -0
  386. nnpdf_data/theory_cards/40005024.yaml +48 -0
  387. nnpdf_data/theory_cards/40005025.yaml +48 -0
  388. nnpdf_data/theory_cards/40005026.yaml +48 -0
  389. nnpdf_data/theory_cards/40007000.yaml +47 -0
  390. nnpdf_data/theory_cards/40007001.yaml +47 -0
  391. nnpdf_data/theory_cards/40007002.yaml +47 -0
  392. nnpdf_data/theory_cards/40007003.yaml +47 -0
  393. nnpdf_data/theory_cards/40007004.yaml +47 -0
  394. nnpdf_data/theory_cards/40007005.yaml +47 -0
  395. nnpdf_data/theory_cards/40007006.yaml +47 -0
  396. nnpdf_data/theory_cards/40007007.yaml +47 -0
  397. nnpdf_data/theory_cards/40007008.yaml +47 -0
  398. nnpdf_data/theory_cards/40007009.yaml +47 -0
  399. nnpdf_data/theory_cards/40007010.yaml +47 -0
  400. nnpdf_data/theory_cards/40007011.yaml +47 -0
  401. nnpdf_data/theory_cards/40007012.yaml +47 -0
  402. nnpdf_data/theory_cards/40007013.yaml +47 -0
  403. nnpdf_data/theory_cards/40008000.yaml +48 -0
  404. nnpdf_data/theory_cards/40008001.yaml +48 -0
  405. nnpdf_data/theory_cards/40008002.yaml +48 -0
  406. nnpdf_data/theory_cards/40008003.yaml +48 -0
  407. nnpdf_data/theory_cards/40008004.yaml +48 -0
  408. nnpdf_data/theory_cards/40008005.yaml +48 -0
  409. nnpdf_data/theory_cards/40008006.yaml +48 -0
  410. nnpdf_data/theory_cards/40008007.yaml +48 -0
  411. nnpdf_data/theory_cards/40008008.yaml +48 -0
  412. nnpdf_data/theory_cards/40008009.yaml +48 -0
  413. nnpdf_data/theory_cards/40008010.yaml +48 -0
  414. nnpdf_data/theory_cards/40008011.yaml +48 -0
  415. nnpdf_data/theory_cards/40008012.yaml +48 -0
  416. nnpdf_data/theory_cards/40008013.yaml +48 -0
  417. nnpdf_data/theory_cards/40009000.yaml +41 -0
  418. nnpdf_data/theory_cards/40009001.yaml +41 -0
  419. nnpdf_data/theory_cards/40009002.yaml +41 -0
  420. nnpdf_data/theory_cards/40010000.yaml +41 -0
  421. nnpdf_data/theory_cards/40010001.yaml +41 -0
  422. nnpdf_data/theory_cards/40010002.yaml +41 -0
  423. nnpdf_data/theory_cards/40010003.yaml +41 -0
  424. nnpdf_data/theory_cards/40010004.yaml +41 -0
  425. nnpdf_data/theory_cards/40010005.yaml +41 -0
  426. nnpdf_data/theory_cards/40010006.yaml +41 -0
  427. nnpdf_data/theory_cards/40010007.yaml +41 -0
  428. nnpdf_data/theory_cards/40010008.yaml +41 -0
  429. nnpdf_data/theory_cards/40010009.yaml +41 -0
  430. nnpdf_data/theory_cards/40010010.yaml +41 -0
  431. nnpdf_data/theory_cards/40010011.yaml +41 -0
  432. nnpdf_data/theory_cards/40010012.yaml +41 -0
  433. nnpdf_data/theory_cards/40011000.yaml +41 -0
  434. nnpdf_data/theory_cards/40011001.yaml +41 -0
  435. nnpdf_data/theory_cards/40011002.yaml +41 -0
  436. nnpdf_data/theory_cards/40011003.yaml +41 -0
  437. nnpdf_data/theory_cards/40011004.yaml +41 -0
  438. nnpdf_data/theory_cards/40011005.yaml +41 -0
  439. nnpdf_data/theory_cards/40011006.yaml +41 -0
  440. nnpdf_data/theory_cards/40011007.yaml +41 -0
  441. nnpdf_data/theory_cards/40011008.yaml +41 -0
  442. nnpdf_data/theory_cards/40011009.yaml +41 -0
  443. nnpdf_data/theory_cards/40011010.yaml +41 -0
  444. nnpdf_data/theory_cards/40011011.yaml +41 -0
  445. nnpdf_data/theory_cards/40011012.yaml +41 -0
  446. nnpdf_data/theory_cards/40012000.yaml +41 -0
  447. nnpdf_data/theory_cards/40012001.yaml +41 -0
  448. nnpdf_data/theory_cards/40012002.yaml +41 -0
  449. nnpdf_data/theory_cards/40012003.yaml +41 -0
  450. nnpdf_data/theory_cards/40012004.yaml +41 -0
  451. nnpdf_data/theory_cards/40012005.yaml +41 -0
  452. nnpdf_data/theory_cards/40012006.yaml +41 -0
  453. nnpdf_data/theory_cards/40012007.yaml +41 -0
  454. nnpdf_data/theory_cards/40012008.yaml +41 -0
  455. nnpdf_data/theory_cards/40012009.yaml +41 -0
  456. nnpdf_data/theory_cards/40012010.yaml +41 -0
  457. nnpdf_data/theory_cards/40012011.yaml +41 -0
  458. nnpdf_data/theory_cards/40012012.yaml +41 -0
  459. nnpdf_data/theorydbutils.py +23 -24
  460. nnpdf_data/utils.py +7 -15
  461. nnpdf_data/validphys_compatibility.py +99 -6
  462. {nnpdf_data-0.0.1.dist-info → nnpdf_data-0.0.3.dist-info}/METADATA +4 -5
  463. {nnpdf_data-0.0.1.dist-info → nnpdf_data-0.0.3.dist-info}/RECORD +504 -294
  464. {nnpdf_data-0.0.1.dist-info → nnpdf_data-0.0.3.dist-info}/WHEEL +1 -1
  465. nnpdf_data/commondata/ATLAS_Z0_8TEV_LOWMASS/kinematics_M-Y.yaml +0 -1009
  466. nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/kinematics_NB-SIGMARED.yaml +0 -7285
  467. nnpdf_data/commondata/DYE866_Z0_800GEV_DW_RATIO/uncertainties_legacy_PDXSECRATIO.yaml +0 -1940
  468. nnpdf_data/commondata/DYE906_Z0_120GEV_DW/uncertainties_legacy_PDXSECRATIO.yaml +0 -1082
  469. nnpdf_data/commondata/EMC_NC_250GEV/kinematics_EM-F2C.yaml +0 -253
  470. /nnpdf_data/commondata/{ATLAS_SINGLETOP_8TEV/data_legacy_TCHANNEL-XSEC.yaml → ATLAS_SINGLETOP_13TEV/data_TCHANNEL-XSEC.yaml} +0 -0
  471. /nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/{data_legacy_TCHANNEL-XSEC.yaml → data_TCHANNEL-XSEC.yaml} +0 -0
  472. /nnpdf_data/commondata/ATLAS_WCHARM_7TEV/{data_legacy_WM-YL.yaml → data_WM-YL.yaml} +0 -0
  473. /nnpdf_data/commondata/ATLAS_WCHARM_7TEV/{data_legacy_WP-YL.yaml → data_WP-YL.yaml} +0 -0
  474. /nnpdf_data/commondata/ATLAS_WCHARM_7TEV/{uncertainties_WM-YL_sys_10.yaml → uncertainties_legacy_WM-YL_sys_10.yaml} +0 -0
  475. /nnpdf_data/commondata/ATLAS_WCHARM_7TEV/{uncertainties_WP-YL_sys_10.yaml → uncertainties_legacy_WP-YL_sys_10.yaml} +0 -0
  476. /nnpdf_data/commondata/ATLAS_WJ_8TEV/{uncertainties_WM-PT_sys_ATLAS.yaml → uncertainties_legacy_WM-PT_sys_ATLAS.yaml} +0 -0
  477. /nnpdf_data/commondata/ATLAS_WJ_8TEV/{uncertainties_WM-PT_sys_NP.yaml → uncertainties_legacy_WM-PT_sys_NP.yaml} +0 -0
  478. /nnpdf_data/commondata/ATLAS_WJ_8TEV/{uncertainties_WP-PT_sys_ATLAS.yaml → uncertainties_legacy_WP-PT_sys_ATLAS.yaml} +0 -0
  479. /nnpdf_data/commondata/ATLAS_WJ_8TEV/{uncertainties_WP-PT_sys_NP.yaml → uncertainties_legacy_WP-PT_sys_NP.yaml} +0 -0
  480. /nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS/{data_legacy_M.yaml → data.yaml} +0 -0
  481. /nnpdf_data/commondata/CDF_Z0_1P96TEV/{data_legacy_ZRAP.yaml → data_ZRAP.yaml} +0 -0
  482. /nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/{data_legacy_NB-SIGMARED.yaml → data_nb.yaml} +0 -0
  483. /nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/{data_legacy_NU-SIGMARED.yaml → data_nu.yaml} +0 -0
  484. /nnpdf_data/commondata/CMS_SINGLETOP_13TEV/{data_legacy_TCHANNEL-XSEC.yaml → data_TCHANNEL-XSEC.yaml} +0 -0
  485. /nnpdf_data/commondata/CMS_SINGLETOP_13TEV/{uncertainties_legacy_TCHANNEL-XSEC.yaml → uncertainties_TCHANNEL-XSEC.yaml} +0 -0
  486. /nnpdf_data/commondata/CMS_SINGLETOP_7TEV/{data_legacy_TCHANNEL-XSEC.yaml → data_TCHANNEL-XSEC.yaml} +0 -0
  487. /nnpdf_data/commondata/CMS_SINGLETOP_8TEV/{data_legacy_TCHANNEL-XSEC.yaml → data_TCHANNEL-XSEC.yaml} +0 -0
  488. /nnpdf_data/commondata/CMS_TTBAR_13TEV_LJ_2016_DIF/{data_legacy_YTTBAR.yaml → data_legacy_YT.yaml} +0 -0
  489. /nnpdf_data/commondata/CMS_TTBAR_13TEV_LJ_2016_DIF/{uncertainties_legacy_YTTBAR.yaml → uncertainties_legacy_YT.yaml} +0 -0
  490. /nnpdf_data/commondata/CMS_WCHARM_13TEV/{uncertainties_WPWM-TOT-UNNORM_sys_10.yaml → uncertainties_legacy_WPWM-TOT-UNNORM_sys_10.yaml} +0 -0
  491. /nnpdf_data/commondata/CMS_WCHARM_7TEV/{data_legacy_WPWM-RATIO.yaml → data_WPWM-RATIO.yaml} +0 -0
  492. /nnpdf_data/commondata/CMS_WCHARM_7TEV/{data_legacy_WPWM-TOT.yaml → data_WPWM-TOT.yaml} +0 -0
  493. /nnpdf_data/commondata/CMS_Z0J_8TEV/{uncertainties_PT-Y_sys_10_NNPDF31.yaml → uncertainties_legacy_PT-Y_sys_10_NNPDF31.yaml} +0 -0
  494. /nnpdf_data/commondata/CMS_Z0J_8TEV/{uncertainties_PT-Y_sys_NNPDF31.yaml → uncertainties_legacy_PT-Y_sys_NNPDF31.yaml} +0 -0
  495. /nnpdf_data/commondata/DYE605_Z0_38P8GEV_DW/{data_legacy_PXSEC.yaml → data.yaml} +0 -0
  496. /nnpdf_data/commondata/DYE866_Z0_800GEV/{data_legacy_PXSEC.yaml → data_legacy.yaml} +0 -0
  497. /nnpdf_data/commondata/DYE866_Z0_800GEV_DW_RATIO/{data_legacy_PDXSECRATIO.yaml → data.yaml} +0 -0
  498. /nnpdf_data/commondata/DYE906_Z0_120GEV_DW/{data_legacy_PDXSECRATIO.yaml → data.yaml} +0 -0
  499. /nnpdf_data/commondata/EMC_NC_250GEV/{data_legacy_EM-F2C.yaml → data_rzero.yaml} +0 -0
  500. /nnpdf_data/commondata/HERA_CC_318GEV/{data_legacy_EM-SIGMARED.yaml → data_EM-SIGMARED.yaml} +0 -0
  501. /nnpdf_data/commondata/HERA_CC_318GEV/{data_legacy_EP-SIGMARED.yaml → data_EP-SIGMARED.yaml} +0 -0
  502. /nnpdf_data/commondata/HERA_NC_225GEV/{data_legacy_EP-SIGMARED.yaml → data_EP-SIGMARED.yaml} +0 -0
  503. /nnpdf_data/commondata/HERA_NC_251GEV/{data_legacy_EP-SIGMARED.yaml → data_EP-SIGMARED.yaml} +0 -0
  504. /nnpdf_data/commondata/HERA_NC_300GEV/{data_legacy_EP-SIGMARED.yaml → data_EP-SIGMARED.yaml} +0 -0
  505. /nnpdf_data/commondata/HERA_NC_318GEV/{data_legacy_EM-SIGMARED.yaml → data_EM-SIGMARED.yaml} +0 -0
  506. /nnpdf_data/commondata/HERA_NC_318GEV/{data_legacy_EP-SIGMARED.yaml → data_EP-SIGMARED.yaml} +0 -0
  507. /nnpdf_data/commondata/HERA_NC_318GEV_EAVG/{data_legacy_BOTTOM-SIGMARED.yaml → data_BOTTOM-SIGMARED.yaml} +0 -0
  508. /nnpdf_data/commondata/HERA_NC_318GEV_EAVG/{data_legacy_CHARM-SIGMARED.yaml → data_CHARM-SIGMARED.yaml} +0 -0
  509. /nnpdf_data/commondata/NMC_NC_NOTFIXED/{data_legacy_EM-F2.yaml → data.yaml} +0 -0
@@ -0,0 +1,41 @@
1
+ ID: 40_012_003
2
+ Comments: Same as 40_009_002, but alphas=0.116
3
+ PTO: 2
4
+ FNS: FONLL-C
5
+ DAMP: 0
6
+ IC: 1
7
+ Q0: 1.65
8
+ ModEv: TRN
9
+ XIR: 1.0
10
+ XIF: 1.0
11
+ NfFF: 5
12
+ QED: 0
13
+ HQ: POLE
14
+ mc: 1.51
15
+ Qmc: 1.51
16
+ kcThr: 1.0
17
+ mb: 4.92
18
+ Qmb: 4.92
19
+ kbThr: 1.0
20
+ mt: 175.0
21
+ Qmt: 172.5
22
+ ktThr: 1.0
23
+ CKM:
24
+ - 0.97428
25
+ - 0.2253
26
+ - 0.00347
27
+ - 0.2252
28
+ - 0.97345
29
+ - 0.041
30
+ - 0.00862
31
+ - 0.0403
32
+ - 0.999152
33
+ MZ: 91.1876
34
+ MW: 80.398
35
+ GF: 1.1663787e-05
36
+ SIN2TW: 0.23126
37
+ TMC: 1
38
+ MP: 0.938
39
+ Qref: 91.2
40
+ alphas: 0.116
41
+ alphaqed: 0.0077553
@@ -0,0 +1,41 @@
1
+ ID: 40_012_004
2
+ Comments: Same as 40_009_002, but alphas=0.117
3
+ PTO: 2
4
+ FNS: FONLL-C
5
+ DAMP: 0
6
+ IC: 1
7
+ Q0: 1.65
8
+ ModEv: TRN
9
+ XIR: 1.0
10
+ XIF: 1.0
11
+ NfFF: 5
12
+ QED: 0
13
+ HQ: POLE
14
+ mc: 1.51
15
+ Qmc: 1.51
16
+ kcThr: 1.0
17
+ mb: 4.92
18
+ Qmb: 4.92
19
+ kbThr: 1.0
20
+ mt: 175.0
21
+ Qmt: 172.5
22
+ ktThr: 1.0
23
+ CKM:
24
+ - 0.97428
25
+ - 0.2253
26
+ - 0.00347
27
+ - 0.2252
28
+ - 0.97345
29
+ - 0.041
30
+ - 0.00862
31
+ - 0.0403
32
+ - 0.999152
33
+ MZ: 91.1876
34
+ MW: 80.398
35
+ GF: 1.1663787e-05
36
+ SIN2TW: 0.23126
37
+ TMC: 1
38
+ MP: 0.938
39
+ Qref: 91.2
40
+ alphas: 0.117
41
+ alphaqed: 0.0077553
@@ -0,0 +1,41 @@
1
+ ID: 40_012_005
2
+ Comments: Same as 40_009_002, but alphas=0.119
3
+ PTO: 2
4
+ FNS: FONLL-C
5
+ DAMP: 0
6
+ IC: 1
7
+ Q0: 1.65
8
+ ModEv: TRN
9
+ XIR: 1.0
10
+ XIF: 1.0
11
+ NfFF: 5
12
+ QED: 0
13
+ HQ: POLE
14
+ mc: 1.51
15
+ Qmc: 1.51
16
+ kcThr: 1.0
17
+ mb: 4.92
18
+ Qmb: 4.92
19
+ kbThr: 1.0
20
+ mt: 175.0
21
+ Qmt: 172.5
22
+ ktThr: 1.0
23
+ CKM:
24
+ - 0.97428
25
+ - 0.2253
26
+ - 0.00347
27
+ - 0.2252
28
+ - 0.97345
29
+ - 0.041
30
+ - 0.00862
31
+ - 0.0403
32
+ - 0.999152
33
+ MZ: 91.1876
34
+ MW: 80.398
35
+ GF: 1.1663787e-05
36
+ SIN2TW: 0.23126
37
+ TMC: 1
38
+ MP: 0.938
39
+ Qref: 91.2
40
+ alphas: 0.119
41
+ alphaqed: 0.0077553
@@ -0,0 +1,41 @@
1
+ ID: 40_012_006
2
+ Comments: Same as 40_009_002, but alphas=0.120
3
+ PTO: 2
4
+ FNS: FONLL-C
5
+ DAMP: 0
6
+ IC: 1
7
+ Q0: 1.65
8
+ ModEv: TRN
9
+ XIR: 1.0
10
+ XIF: 1.0
11
+ NfFF: 5
12
+ QED: 0
13
+ HQ: POLE
14
+ mc: 1.51
15
+ Qmc: 1.51
16
+ kcThr: 1.0
17
+ mb: 4.92
18
+ Qmb: 4.92
19
+ kbThr: 1.0
20
+ mt: 175.0
21
+ Qmt: 172.5
22
+ ktThr: 1.0
23
+ CKM:
24
+ - 0.97428
25
+ - 0.2253
26
+ - 0.00347
27
+ - 0.2252
28
+ - 0.97345
29
+ - 0.041
30
+ - 0.00862
31
+ - 0.0403
32
+ - 0.999152
33
+ MZ: 91.1876
34
+ MW: 80.398
35
+ GF: 1.1663787e-05
36
+ SIN2TW: 0.23126
37
+ TMC: 1
38
+ MP: 0.938
39
+ Qref: 91.2
40
+ alphas: 0.120
41
+ alphaqed: 0.0077553
@@ -0,0 +1,41 @@
1
+ ID: 40_012_007
2
+ Comments: Same as 40_009_002, but alphas=0.121
3
+ PTO: 2
4
+ FNS: FONLL-C
5
+ DAMP: 0
6
+ IC: 1
7
+ Q0: 1.65
8
+ ModEv: TRN
9
+ XIR: 1.0
10
+ XIF: 1.0
11
+ NfFF: 5
12
+ QED: 0
13
+ HQ: POLE
14
+ mc: 1.51
15
+ Qmc: 1.51
16
+ kcThr: 1.0
17
+ mb: 4.92
18
+ Qmb: 4.92
19
+ kbThr: 1.0
20
+ mt: 175.0
21
+ Qmt: 172.5
22
+ ktThr: 1.0
23
+ CKM:
24
+ - 0.97428
25
+ - 0.2253
26
+ - 0.00347
27
+ - 0.2252
28
+ - 0.97345
29
+ - 0.041
30
+ - 0.00862
31
+ - 0.0403
32
+ - 0.999152
33
+ MZ: 91.1876
34
+ MW: 80.398
35
+ GF: 1.1663787e-05
36
+ SIN2TW: 0.23126
37
+ TMC: 1
38
+ MP: 0.938
39
+ Qref: 91.2
40
+ alphas: 0.121
41
+ alphaqed: 0.0077553
@@ -0,0 +1,41 @@
1
+ ID: 40_012_008
2
+ Comments: Same as 40_009_002, but alphas=0.122
3
+ PTO: 2
4
+ FNS: FONLL-C
5
+ DAMP: 0
6
+ IC: 1
7
+ Q0: 1.65
8
+ ModEv: TRN
9
+ XIR: 1.0
10
+ XIF: 1.0
11
+ NfFF: 5
12
+ QED: 0
13
+ HQ: POLE
14
+ mc: 1.51
15
+ Qmc: 1.51
16
+ kcThr: 1.0
17
+ mb: 4.92
18
+ Qmb: 4.92
19
+ kbThr: 1.0
20
+ mt: 175.0
21
+ Qmt: 172.5
22
+ ktThr: 1.0
23
+ CKM:
24
+ - 0.97428
25
+ - 0.2253
26
+ - 0.00347
27
+ - 0.2252
28
+ - 0.97345
29
+ - 0.041
30
+ - 0.00862
31
+ - 0.0403
32
+ - 0.999152
33
+ MZ: 91.1876
34
+ MW: 80.398
35
+ GF: 1.1663787e-05
36
+ SIN2TW: 0.23126
37
+ TMC: 1
38
+ MP: 0.938
39
+ Qref: 91.2
40
+ alphas: 0.122
41
+ alphaqed: 0.0077553
@@ -0,0 +1,41 @@
1
+ ID: 40_012_009
2
+ Comments: Same as 40_009_002, but alphas=0.123
3
+ PTO: 2
4
+ FNS: FONLL-C
5
+ DAMP: 0
6
+ IC: 1
7
+ Q0: 1.65
8
+ ModEv: TRN
9
+ XIR: 1.0
10
+ XIF: 1.0
11
+ NfFF: 5
12
+ QED: 0
13
+ HQ: POLE
14
+ mc: 1.51
15
+ Qmc: 1.51
16
+ kcThr: 1.0
17
+ mb: 4.92
18
+ Qmb: 4.92
19
+ kbThr: 1.0
20
+ mt: 175.0
21
+ Qmt: 172.5
22
+ ktThr: 1.0
23
+ CKM:
24
+ - 0.97428
25
+ - 0.2253
26
+ - 0.00347
27
+ - 0.2252
28
+ - 0.97345
29
+ - 0.041
30
+ - 0.00862
31
+ - 0.0403
32
+ - 0.999152
33
+ MZ: 91.1876
34
+ MW: 80.398
35
+ GF: 1.1663787e-05
36
+ SIN2TW: 0.23126
37
+ TMC: 1
38
+ MP: 0.938
39
+ Qref: 91.2
40
+ alphas: 0.123
41
+ alphaqed: 0.0077553
@@ -0,0 +1,41 @@
1
+ ID: 40_012_010
2
+ Comments: Same as 40_009_002, but alphas=0.124
3
+ PTO: 2
4
+ FNS: FONLL-C
5
+ DAMP: 0
6
+ IC: 1
7
+ Q0: 1.65
8
+ ModEv: TRN
9
+ XIR: 1.0
10
+ XIF: 1.0
11
+ NfFF: 5
12
+ QED: 0
13
+ HQ: POLE
14
+ mc: 1.51
15
+ Qmc: 1.51
16
+ kcThr: 1.0
17
+ mb: 4.92
18
+ Qmb: 4.92
19
+ kbThr: 1.0
20
+ mt: 175.0
21
+ Qmt: 172.5
22
+ ktThr: 1.0
23
+ CKM:
24
+ - 0.97428
25
+ - 0.2253
26
+ - 0.00347
27
+ - 0.2252
28
+ - 0.97345
29
+ - 0.041
30
+ - 0.00862
31
+ - 0.0403
32
+ - 0.999152
33
+ MZ: 91.1876
34
+ MW: 80.398
35
+ GF: 1.1663787e-05
36
+ SIN2TW: 0.23126
37
+ TMC: 1
38
+ MP: 0.938
39
+ Qref: 91.2
40
+ alphas: 0.124
41
+ alphaqed: 0.0077553
@@ -0,0 +1,41 @@
1
+ ID: 40_012_011
2
+ Comments: Same as 40_009_002, but alphas=0.125
3
+ PTO: 2
4
+ FNS: FONLL-C
5
+ DAMP: 0
6
+ IC: 1
7
+ Q0: 1.65
8
+ ModEv: TRN
9
+ XIR: 1.0
10
+ XIF: 1.0
11
+ NfFF: 5
12
+ QED: 0
13
+ HQ: POLE
14
+ mc: 1.51
15
+ Qmc: 1.51
16
+ kcThr: 1.0
17
+ mb: 4.92
18
+ Qmb: 4.92
19
+ kbThr: 1.0
20
+ mt: 175.0
21
+ Qmt: 172.5
22
+ ktThr: 1.0
23
+ CKM:
24
+ - 0.97428
25
+ - 0.2253
26
+ - 0.00347
27
+ - 0.2252
28
+ - 0.97345
29
+ - 0.041
30
+ - 0.00862
31
+ - 0.0403
32
+ - 0.999152
33
+ MZ: 91.1876
34
+ MW: 80.398
35
+ GF: 1.1663787e-05
36
+ SIN2TW: 0.23126
37
+ TMC: 1
38
+ MP: 0.938
39
+ Qref: 91.2
40
+ alphas: 0.125
41
+ alphaqed: 0.0077553
@@ -0,0 +1,41 @@
1
+ ID: 40_012_012
2
+ Comments: Same as 40_009_002, but alphas=0.130
3
+ PTO: 2
4
+ FNS: FONLL-C
5
+ DAMP: 0
6
+ IC: 1
7
+ Q0: 1.65
8
+ ModEv: TRN
9
+ XIR: 1.0
10
+ XIF: 1.0
11
+ NfFF: 5
12
+ QED: 0
13
+ HQ: POLE
14
+ mc: 1.51
15
+ Qmc: 1.51
16
+ kcThr: 1.0
17
+ mb: 4.92
18
+ Qmb: 4.92
19
+ kbThr: 1.0
20
+ mt: 175.0
21
+ Qmt: 172.5
22
+ ktThr: 1.0
23
+ CKM:
24
+ - 0.97428
25
+ - 0.2253
26
+ - 0.00347
27
+ - 0.2252
28
+ - 0.97345
29
+ - 0.041
30
+ - 0.00862
31
+ - 0.0403
32
+ - 0.999152
33
+ MZ: 91.1876
34
+ MW: 80.398
35
+ GF: 1.1663787e-05
36
+ SIN2TW: 0.23126
37
+ TMC: 1
38
+ MP: 0.938
39
+ Qref: 91.2
40
+ alphas: 0.130
41
+ alphaqed: 0.0077553
@@ -19,7 +19,7 @@ class TheoryNotFoundInDatabase(Exception):
19
19
 
20
20
 
21
21
  @lru_cache
22
- def parse_theory_card(theory_card):
22
+ def _parse_theory_card(theory_card):
23
23
  """Read the theory card using validobj parsing
24
24
  Returns the theory as a dictionary
25
25
  """
@@ -27,6 +27,22 @@ def parse_theory_card(theory_card):
27
27
  return tcard.asdict()
28
28
 
29
29
 
30
+ @lru_cache
31
+ def _get_available_theory_cards(path):
32
+ """Since theoryfile names may contain underscores, the theoryfile name cannot uniquely be
33
+ determined from the theoryID. Therefore we create a mapping between the theoryid as python
34
+ int and the corresponding file.
35
+ """
36
+ available_theories = {}
37
+ for theoryfile in path.glob("*.yaml"):
38
+ tmp_id = int(theoryfile.stem)
39
+ if tmp_id in available_theories:
40
+ another = available_theories[tmp_id]
41
+ raise ValueError(f"Two theory files with same id: {theoryfile} and {another}")
42
+ available_theories[tmp_id] = theoryfile
43
+ return available_theories
44
+
45
+
30
46
  def fetch_theory(theory_database: Path, theoryID: int):
31
47
  """Looks in the theory card folder and returns a dictionary of theory info for the
32
48
  theory number specified by `theoryID`.
@@ -50,38 +66,23 @@ def fetch_theory(theory_database: Path, theoryID: int):
50
66
  >>> theory = fetch_theory(theory_cards, 700)
51
67
  """
52
68
 
53
- available_theories = get_available_theory_cards(theory_database)
69
+ available_theories = _get_available_theory_cards(theory_database)
54
70
  theoryID = int(theoryID)
55
71
  try:
56
72
  theoryfile = available_theories[theoryID]
57
73
  except KeyError as e:
58
74
  raise TheoryNotFoundInDatabase(f"Theorycard for theory not found: {e}")
59
75
 
60
- tdict = parse_theory_card(theoryfile)
76
+ tdict = _parse_theory_card(theoryfile)
61
77
  if tdict["ID"] != theoryID:
62
78
  raise ValueError(f"The theory ID in {theoryfile} doesn't correspond with its ID entry")
63
79
  return tdict
64
80
 
65
81
 
66
- @lru_cache
67
- def get_available_theory_cards(path):
68
- """Since theoryfile names may contain underscores, the theoryfile name cannot uniquely be
69
- determined from the theoryID. Therefore we create a mapping between the theoryid as python
70
- int and the corresponding file.
71
- """
72
- available_theories = {}
73
- for theoryfile in path.glob("*.yaml"):
74
- tmp_id = int(theoryfile.stem)
75
- if tmp_id in available_theories:
76
- another = available_theories[tmp_id]
77
- raise ValueError(f"Two theory files with same id: {theoryfile} and {another}")
78
- available_theories[tmp_id] = theoryfile
79
- return available_theories
80
-
81
-
82
82
  def fetch_all(theory_database: Path):
83
83
  """Looks in the theory database and returns a dataframe with theory info
84
- for all theories
84
+ for all theories that can be found in the folder ``theory_database``.
85
+ Every ``.yaml`` file found in the folder will be considered a possible theory.
85
86
 
86
87
  Parameters
87
88
  ----------
@@ -99,9 +100,7 @@ def fetch_all(theory_database: Path):
99
100
  >>> from nnpdf_data.theorydbutils import fetch_all
100
101
  >>> theory_df = fetch_all(theory_cards)
101
102
  """
102
- available_theories = get_available_theory_cards(theory_database)
103
- theories = []
104
- for theory_path in available_theories.values():
105
- theories.append(parse_theory_card(theory_path))
103
+ available_theories = _get_available_theory_cards(theory_database)
104
+ theories = [fetch_theory(theory_database, thid) for thid in available_theories]
106
105
  df = pd.DataFrame(theories)
107
106
  return df.set_index(['ID']).sort_index()
nnpdf_data/utils.py CHANGED
@@ -1,18 +1,10 @@
1
1
  import pathlib
2
2
 
3
- try:
4
- import ruamel.yaml as yaml
5
- except ImportError:
6
- import ruamel_yaml as yaml
7
-
3
+ from ruamel.yaml import YAML
8
4
  from validobj import ValidationError, parse_input
9
5
 
10
- try:
11
- # If libyaml is available, use the C loader
12
- Loader = yaml.CLoader
13
- except AttributeError:
14
- # fallback to the slow loader
15
- Loader = yaml.Loader
6
+ yaml_fast = YAML(typ='safe', pure=False)
7
+ yaml_safe = YAML(typ='safe')
16
8
 
17
9
 
18
10
  def quick_yaml_load(filepath):
@@ -20,7 +12,7 @@ def quick_yaml_load(filepath):
20
12
  https://pyyaml.org/wiki/LibYAML
21
13
  libyaml is available for most linux distributions
22
14
  """
23
- return yaml.load(filepath.read_text(encoding="utf-8"), Loader=Loader)
15
+ return yaml_fast.load(filepath.read_text(encoding="utf-8"))
24
16
 
25
17
 
26
18
  def parse_yaml_inp(input_yaml, spec):
@@ -36,14 +28,14 @@ def parse_yaml_inp(input_yaml, spec):
36
28
  return parse_input(inp, spec)
37
29
  except ValidationError as e:
38
30
  current_exc = e
39
- # In order to provide a more complete error information, use round_trip_load
31
+ # In order to provide a more complete error information, use round trip
40
32
  # to read the .yaml file again (insetad of using the CLoader)
41
- current_inp = yaml.round_trip_load(input_yaml.open("r", encoding="utf-8"))
33
+ current_inp = YAML(typ="rt").load(input_yaml.open("r", encoding="utf-8"))
42
34
  error_text_lines = []
43
35
  while current_exc:
44
36
  if hasattr(current_exc, 'wrong_field'):
45
37
  wrong_field = current_exc.wrong_field
46
- # Mappings compping from ``round_trip_load`` have an
38
+ # Mappings coming from YAML(rt) have an
47
39
  # ``lc`` attribute that gives a tuple of
48
40
  # ``(line_number, column)`` for a given item in
49
41
  # the mapping.
@@ -1,17 +1,23 @@
1
1
  """
2
- This file exists solely for me to be able to upload a package to PyPI for the nnpdf data which does not depend
3
- on the rest of the NNPDF code.
4
- This file should not be modified. Everything in this file is deprecated and should be removed, and the only reason
5
- this is needed is because we are still mixing new and old data.
2
+ This file exists solely for me to be able to upload a package to PyPI for the nnpdf data which does not depend
3
+ on the rest of the NNPDF code.
4
+ This file should not be modified. Everything in this file is deprecated and should be removed, and the only reason
5
+ this is needed is because we are still mixing new and old data.
6
6
 
7
- This also means that _things_ that would've been loaded as a kinematic transformation or result transformation
8
- are loaded as boring strings that cannot do anything, as it should be.
7
+ This also means that _things_ that would've been loaded as a kinematic transformation or result transformation
8
+ are loaded as boring strings that cannot do anything, as it should be.
9
9
  """
10
10
 
11
11
  import dataclasses
12
+ from functools import cache
13
+ import logging
14
+ import pathlib
12
15
  import typing
13
16
 
17
+ import ruamel.yaml as yaml
18
+
14
19
  labeler_functions = []
20
+ log = logging.getLogger(__name__)
15
21
 
16
22
 
17
23
  @dataclasses.dataclass
@@ -37,3 +43,90 @@ class PlottingOptions:
37
43
  normalize: typing.Optional[dict] = None
38
44
  # Note that this "PlottingOptions" start already digested, because it actually does nothing!
39
45
  already_digested: typing.Optional[bool] = True
46
+
47
+
48
+ ########## Legacy names compatibility
49
+ # The functions and variables below exist solely for reproducibility of old NNPDF results
50
+ # and no external code or new feature should depend on them as they might be removed at any point
51
+ # with no previous warning
52
+
53
+ path_vpdata = pathlib.Path(__file__).parent
54
+ path_commondata = path_vpdata / "commondata"
55
+ _path_legacy_mapping = path_commondata / "dataset_names.yml"
56
+ _legacy_to_new_mapping_raw = yaml.YAML().load(_path_legacy_mapping)
57
+ # Convert strings into a dictionary
58
+ legacy_to_new_mapping = {
59
+ k: ({"dataset": v} if isinstance(v, str) else v) for k, v in _legacy_to_new_mapping_raw.items()
60
+ }
61
+
62
+
63
+ @cache
64
+ def _warn_old_names():
65
+ log.warning(
66
+ "The usage of old names is deprecated and support will be dropped in future versions! Update your runcards"
67
+ )
68
+
69
+
70
+ @cache
71
+ def legacy_to_new_map(dataset_name, sys=None):
72
+ """Find the new dataset name and variant corresponding to an old dataset
73
+ and systematics choice"""
74
+ if dataset_name not in legacy_to_new_mapping:
75
+ return dataset_name, None
76
+
77
+ new_name = legacy_to_new_mapping[dataset_name]
78
+ variant = new_name.get("variant")
79
+ new_name = new_name["dataset"]
80
+ if sys is not None:
81
+ if variant is None:
82
+ raise KeyError(
83
+ f"I cannot translate the combination of {dataset_name} and sys: {sys}. Please report this."
84
+ )
85
+ variant += f"_{sys}"
86
+
87
+ # Deprecation notice
88
+ _warn_old_names()
89
+ warn_text = f"Please change {dataset_name} to {new_name}"
90
+ if variant is None:
91
+ warn_text += f" (variant: {variant})"
92
+ log.warning(warn_text)
93
+
94
+ return new_name, variant
95
+
96
+
97
+ @cache
98
+ def new_to_legacy_map(dataset_name, variant_used):
99
+ """Loop over the dictionary and find the right dataset.
100
+
101
+ Since it is posible to have more than 1 dataset mapped to the same new one,
102
+ returns a list of everything that matches.
103
+
104
+ This function will loop over the entire dictionary of mappings and selects
105
+ 1. All datasets that match exactly what's in the runcard (dataset & variant): exact_matches
106
+ 2. All datasets that match the dataset name: matches
107
+ If there are any `exact_matches`, it will return only those; otherwise, return all `matches`
108
+ if there are no `matches` at all, return None
109
+ """
110
+
111
+ matches = []
112
+ exact_matches = []
113
+
114
+ for old_name, new_info in legacy_to_new_mapping.items():
115
+ new_name = new_info["dataset"]
116
+ variant = new_info.get("variant")
117
+
118
+ if new_name == dataset_name:
119
+ matches.append(old_name)
120
+ # if it's a nuclear DIS data promote legacy to be legacy_dw
121
+ if "_DW_" in old_name and variant_used == "legacy":
122
+ variant = "legacy_dw"
123
+
124
+ if variant_used == variant:
125
+ exact_matches.append(old_name)
126
+
127
+ # If we found exact matches, return those and stop looking
128
+ if exact_matches:
129
+ return exact_matches
130
+ elif matches:
131
+ return matches
132
+ return None
@@ -1,8 +1,7 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.3
2
2
  Name: nnpdf_data
3
- Version: 0.0.1
4
- Summary: The NNPDF data repository. Beta version.
5
- Home-page: https://github.com/NNPDF/nnpdf_data
3
+ Version: 0.0.3
4
+ Summary: The NNPDF data repository
6
5
  License: GPL-3.0-or-later
7
6
  Author: NNPDF Collaboration
8
7
  Requires-Python: >=3.9,<4.0
@@ -21,7 +20,7 @@ Provides-Extra: filter
21
20
  Requires-Dist: numpy
22
21
  Requires-Dist: openpyxl ; extra == "filter"
23
22
  Requires-Dist: pandas
24
- Requires-Dist: ruamel.yaml (<0.18)
23
+ Requires-Dist: ruamel.yaml
25
24
  Requires-Dist: scipy ; extra == "filter"
26
25
  Requires-Dist: uproot ; extra == "filter"
27
26
  Requires-Dist: validobj