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.
- nnpdf_data/__init__.py +11 -67
- nnpdf_data/_version.py +1 -1
- nnpdf_data/commondata/ATHENA_NC_105GEV_EP/metadata.yaml +32 -33
- nnpdf_data/commondata/ATHENA_NC_140GEV_EP/metadata.yaml +32 -33
- nnpdf_data/commondata/ATHENA_NC_29GEV_EP/metadata.yaml +32 -33
- nnpdf_data/commondata/ATHENA_NC_45GEV_EP/metadata.yaml +32 -33
- nnpdf_data/commondata/ATHENA_NC_63GEV_EP/metadata.yaml +32 -33
- nnpdf_data/commondata/ATLAS_1JET_13TEV_DIF/metadata.yaml +70 -72
- nnpdf_data/commondata/ATLAS_1JET_13TEV_DIF/uncertainties_altcorr1_lumi.yaml +1 -1
- nnpdf_data/commondata/ATLAS_1JET_13TEV_DIF/uncertainties_lumi.yaml +1 -1
- nnpdf_data/commondata/ATLAS_1JET_8TEV_R06/metadata.yaml +7 -5
- nnpdf_data/commondata/ATLAS_2JET_13TEV_DIF/metadata.yaml +35 -36
- nnpdf_data/commondata/ATLAS_2JET_13TEV_DIF/uncertainties_lumi.yaml +1 -1
- nnpdf_data/commondata/ATLAS_2JET_7TEV_R06/metadata.yaml +45 -46
- nnpdf_data/commondata/ATLAS_DY_13TEV/kinematics_TOT.yaml +6 -18
- nnpdf_data/commondata/ATLAS_DY_13TEV/metadata.yaml +8 -14
- nnpdf_data/commondata/ATLAS_DY_7TEV_36PB/kinematics_ETA.yaml +90 -90
- nnpdf_data/commondata/ATLAS_DY_7TEV_36PB/metadata.yaml +16 -17
- nnpdf_data/commondata/ATLAS_DY_7TEV_46FB/kinematics_CC.yaml +138 -138
- nnpdf_data/commondata/ATLAS_DY_7TEV_46FB/metadata.yaml +14 -15
- nnpdf_data/commondata/ATLAS_PH_13TEV/data_XSEC.yaml +54 -0
- nnpdf_data/commondata/ATLAS_PH_13TEV/kinematics_XSEC.yaml +251 -251
- nnpdf_data/commondata/ATLAS_PH_13TEV/metadata.yaml +27 -27
- nnpdf_data/commondata/ATLAS_PH_13TEV/uncertainties_XSEC.yaml +5246 -0
- nnpdf_data/commondata/ATLAS_PH_8TEV/data_XSEC.yaml +50 -0
- nnpdf_data/commondata/ATLAS_PH_8TEV/kinematics_XSEC.yaml +589 -0
- nnpdf_data/commondata/ATLAS_PH_8TEV/metadata.yaml +59 -0
- nnpdf_data/commondata/ATLAS_PH_8TEV/uncertainties_XSEC.yaml +1645 -0
- nnpdf_data/commondata/ATLAS_SINGLETOP_13TEV/kinematics_TCHANNEL-XSEC.yaml +2 -10
- nnpdf_data/commondata/ATLAS_SINGLETOP_13TEV/metadata.yaml +13 -24
- nnpdf_data/commondata/ATLAS_SINGLETOP_13TEV/uncertainties_TCHANNEL-XSEC.yaml +107 -0
- nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/data_T-Y-NORM.yaml +4 -0
- nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/data_TBAR-Y-NORM.yaml +4 -0
- nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/kinematics_T-Y-NORM.yaml +19 -19
- nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/kinematics_TBAR-Y-NORM.yaml +19 -19
- nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/kinematics_TCHANNEL-XSEC.yaml +7 -7
- nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/metadata.yaml +67 -68
- nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/uncertainties_T-Y-NORM.yaml +72 -0
- nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/uncertainties_TBAR-Y-NORM.yaml +65 -0
- nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/uncertainties_TCHANNEL-XSEC.yaml +147 -0
- nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/data_T-RAP-NORM.yaml +4 -0
- nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/data_TBAR-RAP-NORM.yaml +4 -0
- nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/data_TCHANNEL-XSEC.yaml +2 -0
- nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/kinematics_T-RAP-NORM.yaml +18 -18
- nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/kinematics_TBAR-RAP-NORM.yaml +18 -18
- nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/kinematics_TCHANNEL-XSEC.yaml +7 -7
- nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/metadata.yaml +66 -67
- nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/uncertainties_T-RAP-NORM.yaml +135 -0
- nnpdf_data/commondata/ATLAS_SINGLETOP_8TEV/uncertainties_TBAR-RAP-NORM.yaml +135 -0
- nnpdf_data/commondata/{CMS_SINGLETOP_8TEV/uncertainties_legacy_TCHANNEL-XSEC.yaml → ATLAS_SINGLETOP_8TEV/uncertainties_TCHANNEL-XSEC.yaml} +2 -2
- nnpdf_data/commondata/ATLAS_TTBAR_13TEV_HADR_DIF/metadata.yaml +165 -171
- nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/data_d2Sig_dmttBar_dpTt.yaml +16 -0
- nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/data_d2Sig_dmttBar_dpTt_norm.yaml +16 -0
- nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/data_d2Sig_dpTt_dyt.yaml +14 -0
- nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/data_d2Sig_dpTt_dyt_norm.yaml +14 -0
- nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/kinematics_d2Sig_dmttBar_dpTt.yaml +181 -0
- nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/kinematics_d2Sig_dmttBar_dpTt_norm.yaml +181 -0
- nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/kinematics_d2Sig_dpTt_dyt.yaml +157 -0
- nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/kinematics_d2Sig_dpTt_dyt_norm.yaml +157 -0
- nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/metadata.yaml +335 -229
- nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/uncertainties_d2Sig_dmttBar_dpTt.yaml +287 -0
- nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/uncertainties_d2Sig_dmttBar_dpTt_norm.yaml +287 -0
- nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/uncertainties_d2Sig_dpTt_dyt.yaml +223 -0
- nnpdf_data/commondata/ATLAS_TTBAR_13TEV_LJ_DIF/uncertainties_d2Sig_dpTt_dyt_norm.yaml +223 -0
- nnpdf_data/commondata/ATLAS_TTBAR_13TEV_TOT/metadata.yaml +7 -4
- nnpdf_data/commondata/ATLAS_TTBAR_13TEV_TOT/uncertainties.yaml +1 -1
- nnpdf_data/commondata/ATLAS_TTBAR_7TEV_TOT/metadata.yaml +7 -4
- nnpdf_data/commondata/ATLAS_TTBAR_7TEV_TOT/uncertainties.yaml +1 -1
- nnpdf_data/commondata/ATLAS_TTBAR_8TEV_2L_DIF/metadata.yaml +1 -6
- nnpdf_data/commondata/ATLAS_TTBAR_8TEV_LJ_DIF/metadata.yaml +17 -18
- nnpdf_data/commondata/ATLAS_TTBAR_8TEV_LJ_DIF/uncertainties_dSig_dmttBar.yaml +1 -1
- nnpdf_data/commondata/ATLAS_TTBAR_8TEV_LJ_DIF/uncertainties_dSig_dpTt.yaml +1 -1
- nnpdf_data/commondata/ATLAS_TTBAR_8TEV_LJ_DIF/uncertainties_dSig_dyt.yaml +1 -1
- nnpdf_data/commondata/ATLAS_TTBAR_8TEV_LJ_DIF/uncertainties_dSig_dyttBar.yaml +1 -1
- nnpdf_data/commondata/ATLAS_TTBAR_8TEV_TOT/metadata.yaml +8 -4
- nnpdf_data/commondata/ATLAS_TTBAR_8TEV_TOT/uncertainties.yaml +1 -1
- nnpdf_data/commondata/ATLAS_WCHARM_7TEV/kinematics_WM-YL.yaml +56 -100
- nnpdf_data/commondata/ATLAS_WCHARM_7TEV/kinematics_WP-YL.yaml +56 -100
- nnpdf_data/commondata/ATLAS_WCHARM_7TEV/metadata.yaml +50 -62
- nnpdf_data/commondata/ATLAS_WCHARM_7TEV/uncertainties_WM-YL.yaml +1742 -0
- nnpdf_data/commondata/ATLAS_WCHARM_7TEV/uncertainties_WP-YL.yaml +1742 -0
- nnpdf_data/commondata/ATLAS_WJ_8TEV/data_WM-PT.yaml +17 -0
- nnpdf_data/commondata/ATLAS_WJ_8TEV/data_WP-PT.yaml +17 -0
- nnpdf_data/commondata/ATLAS_WJ_8TEV/kinematics_WM-PT.yaml +80 -144
- nnpdf_data/commondata/ATLAS_WJ_8TEV/kinematics_WP-PT.yaml +80 -144
- nnpdf_data/commondata/ATLAS_WJ_8TEV/metadata.yaml +75 -70
- nnpdf_data/commondata/ATLAS_WJ_8TEV/uncertainties_WM-PT.yaml +1402 -0
- nnpdf_data/commondata/ATLAS_WJ_8TEV/uncertainties_WP-PT.yaml +1402 -0
- nnpdf_data/commondata/ATLAS_WPWM_13TEV/data.yaml +3 -0
- nnpdf_data/commondata/ATLAS_WPWM_13TEV/kinematics.yaml +17 -0
- nnpdf_data/commondata/ATLAS_WPWM_13TEV/metadata.yaml +21 -25
- nnpdf_data/commondata/ATLAS_WPWM_13TEV/uncertainties.yaml +32 -0
- nnpdf_data/commondata/ATLAS_WPWM_13TEV/uncertainties_legacy_TOT.yaml +1 -1
- nnpdf_data/commondata/ATLAS_WPWM_7TEV_36PB/data.yaml +23 -0
- nnpdf_data/commondata/ATLAS_WPWM_7TEV_36PB/kinematics.yaml +265 -0
- nnpdf_data/commondata/ATLAS_WPWM_7TEV_36PB/metadata.yaml +26 -26
- nnpdf_data/commondata/ATLAS_WPWM_7TEV_36PB/uncertainties.yaml +860 -0
- nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/data.yaml +23 -0
- nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/kinematics.yaml +265 -0
- nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/metadata.yaml +24 -24
- nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/uncertainties.yaml +3486 -0
- nnpdf_data/commondata/ATLAS_Z0J_13TEV_PT/metadata.yaml +29 -30
- nnpdf_data/commondata/ATLAS_Z0J_8TEV/metadata.yaml +0 -2
- nnpdf_data/commondata/ATLAS_Z0_13TEV/data.yaml +2 -0
- nnpdf_data/commondata/ATLAS_Z0_13TEV/kinematics.yaml +9 -0
- nnpdf_data/commondata/ATLAS_Z0_13TEV/metadata.yaml +17 -22
- nnpdf_data/commondata/ATLAS_Z0_13TEV/uncertainties.yaml +27 -0
- nnpdf_data/commondata/ATLAS_Z0_13TEV/uncertainties_legacy_TOT.yaml +1 -1
- nnpdf_data/commondata/ATLAS_Z0_7TEV_36PB/data.yaml +9 -0
- nnpdf_data/commondata/ATLAS_Z0_7TEV_36PB/kinematics.yaml +97 -0
- nnpdf_data/commondata/ATLAS_Z0_7TEV_36PB/metadata.yaml +26 -26
- nnpdf_data/commondata/ATLAS_Z0_7TEV_36PB/uncertainties.yaml +398 -0
- nnpdf_data/commondata/ATLAS_Z0_7TEV_46FB/data_cc.yaml +25 -0
- nnpdf_data/commondata/ATLAS_Z0_7TEV_46FB/data_cf.yaml +16 -0
- nnpdf_data/commondata/ATLAS_Z0_7TEV_46FB/kinematics_cc.yaml +289 -0
- nnpdf_data/commondata/ATLAS_Z0_7TEV_46FB/kinematics_cf.yaml +181 -0
- nnpdf_data/commondata/ATLAS_Z0_7TEV_46FB/metadata.yaml +49 -49
- nnpdf_data/commondata/ATLAS_Z0_7TEV_46FB/uncertainties_cc.yaml +3754 -0
- nnpdf_data/commondata/ATLAS_Z0_7TEV_46FB/uncertainties_cf.yaml +2548 -0
- nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/data.yaml +14 -0
- nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/kinematics.yaml +53 -0
- nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/metadata.yaml +17 -27
- nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/uncertainties.yaml +206 -0
- nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS/kinematics.yaml +49 -0
- nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS/metadata.yaml +22 -27
- nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS/uncertainties.yaml +92 -0
- nnpdf_data/commondata/ATLAS_Z0_8TEV_HIMASS/data.yaml +49 -0
- nnpdf_data/commondata/ATLAS_Z0_8TEV_HIMASS/kinematics.yaml +577 -0
- nnpdf_data/commondata/ATLAS_Z0_8TEV_HIMASS/metadata.yaml +27 -27
- nnpdf_data/commondata/ATLAS_Z0_8TEV_HIMASS/uncertainties.yaml +1978 -0
- nnpdf_data/commondata/ATLAS_Z0_8TEV_LOWMASS/{data_legacy_M-Y.yaml → data.yaml} +22 -22
- nnpdf_data/commondata/ATLAS_Z0_8TEV_LOWMASS/kinematics.yaml +1009 -0
- nnpdf_data/commondata/ATLAS_Z0_8TEV_LOWMASS/metadata.yaml +29 -28
- nnpdf_data/commondata/ATLAS_Z0_8TEV_LOWMASS/uncertainties.yaml +24466 -0
- nnpdf_data/commondata/ATLAS_Z0_8TEV_ZMASS/metadata.yaml +26 -27
- nnpdf_data/commondata/BCDMS_NC_NOTFIXED_D/data_rqcd.yaml +160 -0
- nnpdf_data/commondata/BCDMS_NC_NOTFIXED_D/data_rzero.yaml +160 -0
- nnpdf_data/commondata/BCDMS_NC_NOTFIXED_D/kinematics_EM-F2-HEPDATA.yaml +1273 -0
- nnpdf_data/commondata/BCDMS_NC_NOTFIXED_D/kinematics_EM-F2.yaml +762 -762
- nnpdf_data/commondata/BCDMS_NC_NOTFIXED_D/metadata.yaml +81 -28
- nnpdf_data/commondata/BCDMS_NC_NOTFIXED_D/uncertainties_rqcd.yaml +491 -0
- nnpdf_data/commondata/BCDMS_NC_NOTFIXED_D/uncertainties_rzero.yaml +491 -0
- nnpdf_data/commondata/BCDMS_NC_NOTFIXED_P/data_rqcd.yaml +178 -0
- nnpdf_data/commondata/BCDMS_NC_NOTFIXED_P/data_rzero.yaml +178 -0
- nnpdf_data/commondata/BCDMS_NC_NOTFIXED_P/kinematics_EM-F2-HEPDATA.yaml +2125 -0
- nnpdf_data/commondata/BCDMS_NC_NOTFIXED_P/kinematics_EM-F2.yaml +1053 -1053
- nnpdf_data/commondata/BCDMS_NC_NOTFIXED_P/metadata.yaml +84 -25
- nnpdf_data/commondata/BCDMS_NC_NOTFIXED_P/uncertainties_rqcd.yaml +545 -0
- nnpdf_data/commondata/BCDMS_NC_NOTFIXED_P/uncertainties_rzero.yaml +545 -0
- nnpdf_data/commondata/CDF_Z0_1P96TEV/kinematics_ZRAP.yaml +174 -174
- nnpdf_data/commondata/CDF_Z0_1P96TEV/metadata.yaml +27 -28
- nnpdf_data/commondata/CDF_Z0_1P96TEV/{uncertainties_legacy_ZRAP.yaml → uncertainties_ZRAP.yaml} +11 -11
- nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/{kinematics_NU-SIGMARED.yaml → kinematics.yaml} +2428 -2428
- nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/metadata.yaml +56 -52
- nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/uncertainties_nb_hepdata.yaml +2446 -0
- nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/uncertainties_nu_hepdata.yaml +2446 -0
- nnpdf_data/commondata/CMS_1JET_13TEV_DIF/metadata.yaml +66 -68
- nnpdf_data/commondata/CMS_1JET_8TEV/metadata.yaml +9 -8
- nnpdf_data/commondata/CMS_2JET_7TEV/metadata.yaml +30 -31
- nnpdf_data/commondata/CMS_SINGLETOP_13TEV/kinematics_TCHANNEL-XSEC.yaml +2 -10
- nnpdf_data/commondata/CMS_SINGLETOP_13TEV/metadata.yaml +11 -22
- nnpdf_data/commondata/CMS_SINGLETOP_7TEV/kinematics_TCHANNEL-XSEC.yaml +2 -10
- nnpdf_data/commondata/CMS_SINGLETOP_7TEV/metadata.yaml +11 -22
- nnpdf_data/commondata/CMS_SINGLETOP_7TEV/{uncertainties_legacy_TCHANNEL-XSEC.yaml → uncertainties_TCHANNEL-XSEC.yaml} +1 -1
- nnpdf_data/commondata/CMS_SINGLETOP_8TEV/kinematics_TCHANNEL-XSEC.yaml +2 -10
- nnpdf_data/commondata/CMS_SINGLETOP_8TEV/metadata.yaml +14 -25
- nnpdf_data/commondata/CMS_SINGLETOP_8TEV/uncertainties_TCHANNEL-XSEC.yaml +12 -0
- nnpdf_data/commondata/CMS_TTBAR_13TEV_2L_DIF/metadata.yaml +2 -12
- nnpdf_data/commondata/CMS_TTBAR_13TEV_LJ_2016_DIF/{kinematics_YTTBAR.yaml → kinematics_YT.yaml} +33 -33
- nnpdf_data/commondata/CMS_TTBAR_13TEV_LJ_2016_DIF/metadata.yaml +20 -21
- nnpdf_data/commondata/CMS_TTBAR_13TEV_LJ_DIF/metadata.yaml +256 -266
- nnpdf_data/commondata/CMS_TTBAR_13TEV_TOT/metadata.yaml +8 -4
- nnpdf_data/commondata/CMS_TTBAR_13TEV_TOT/uncertainties.yaml +1 -1
- nnpdf_data/commondata/CMS_TTBAR_5TEV_TOT/metadata.yaml +1 -2
- nnpdf_data/commondata/CMS_TTBAR_7TEV_TOT/metadata.yaml +7 -4
- nnpdf_data/commondata/CMS_TTBAR_7TEV_TOT/uncertainties.yaml +1 -1
- nnpdf_data/commondata/CMS_TTBAR_8TEV_2L_DIF/metadata.yaml +10 -11
- nnpdf_data/commondata/CMS_TTBAR_8TEV_LJ_DIF/metadata.yaml +1 -5
- nnpdf_data/commondata/CMS_TTBAR_8TEV_TOT/metadata.yaml +7 -4
- nnpdf_data/commondata/CMS_TTBAR_8TEV_TOT/uncertainties.yaml +1 -1
- nnpdf_data/commondata/CMS_WCHARM_13TEV/data_WPWM-TOT-UNNORM.yaml +6 -0
- nnpdf_data/commondata/CMS_WCHARM_13TEV/kinematics_WPWM-TOT-UNNORM.yaml +26 -46
- nnpdf_data/commondata/{ATLAS_Z0_7TEV_LOMASS/kinematics_M.yaml → CMS_WCHARM_13TEV/kinematics_legacy_WPWM-TOT-UNNORM.yaml} +15 -27
- nnpdf_data/commondata/CMS_WCHARM_13TEV/metadata.yaml +26 -29
- nnpdf_data/commondata/CMS_WCHARM_13TEV/uncertainties_WPWM-TOT-UNNORM.yaml +128 -0
- nnpdf_data/commondata/CMS_WCHARM_7TEV/kinematics_WPWM-RATIO.yaml +26 -46
- nnpdf_data/commondata/CMS_WCHARM_7TEV/kinematics_WPWM-TOT.yaml +26 -46
- nnpdf_data/commondata/CMS_WCHARM_7TEV/metadata.yaml +38 -51
- nnpdf_data/commondata/CMS_WCHARM_7TEV/uncertainties_WPWM-RATIO.yaml +20 -0
- nnpdf_data/commondata/CMS_WCHARM_7TEV/uncertainties_WPWM-TOT.yaml +56 -0
- nnpdf_data/commondata/CMS_WPWM_13TEV_ETA/metadata.yaml +52 -54
- nnpdf_data/commondata/CMS_WPWM_7TEV_ELECTRON/kinematics.yaml +11 -11
- nnpdf_data/commondata/CMS_WPWM_7TEV_ELECTRON/metadata.yaml +8 -9
- nnpdf_data/commondata/CMS_WPWM_7TEV_MUON/kinematics.yaml +11 -11
- nnpdf_data/commondata/CMS_WPWM_7TEV_MUON/metadata.yaml +7 -9
- nnpdf_data/commondata/CMS_WPWM_8TEV_MUON/kinematics.yaml +22 -22
- nnpdf_data/commondata/CMS_WPWM_8TEV_MUON/metadata.yaml +5 -7
- nnpdf_data/commondata/CMS_Z0J_8TEV/{data_legacy_PT-Y.yaml → data_PT-Y.yaml} +7 -7
- nnpdf_data/commondata/CMS_Z0J_8TEV/kinematics_PT-Y.yaml +560 -560
- nnpdf_data/commondata/CMS_Z0J_8TEV/metadata.yaml +43 -41
- nnpdf_data/commondata/CMS_Z0J_8TEV/uncertainties_PT-Y.yaml +2806 -0
- nnpdf_data/commondata/CMS_Z0J_8TEV/uncertainties_PT-Y_sys_10.yaml +2755 -2759
- nnpdf_data/commondata/CMS_Z0J_8TEV/uncertainties_legacy_PT-Y_sys_10.yaml +2864 -0
- nnpdf_data/commondata/CMS_Z0_7TEV_DIMUON/kinematics.yaml +132 -132
- nnpdf_data/commondata/CMS_Z0_7TEV_DIMUON/metadata.yaml +7 -8
- nnpdf_data/commondata/COMPASS15_NC_NOTFIXED_MUD/metadata.yaml +32 -33
- nnpdf_data/commondata/COMPASS15_NC_NOTFIXED_MUP/metadata.yaml +32 -33
- nnpdf_data/commondata/D0_WPWM_1P96TEV/data_ASY.yaml +11 -0
- nnpdf_data/commondata/D0_WPWM_1P96TEV/kinematics_ASY.yaml +68 -68
- nnpdf_data/commondata/D0_WPWM_1P96TEV/metadata.yaml +26 -26
- nnpdf_data/commondata/D0_WPWM_1P96TEV/uncertainties_ASY.yaml +114 -0
- nnpdf_data/commondata/D0_Z0_1P96TEV/data_ZRAP.yaml +29 -0
- nnpdf_data/commondata/D0_Z0_1P96TEV/kinematics_ZRAP.yaml +174 -174
- nnpdf_data/commondata/D0_Z0_1P96TEV/metadata.yaml +26 -26
- nnpdf_data/commondata/D0_Z0_1P96TEV/uncertainties_ZRAP.yaml +66 -0
- nnpdf_data/commondata/DYE605_Z0_38P8GEV_DW/{kinematics_PXSEC.yaml → kinematics.yaml} +476 -476
- nnpdf_data/commondata/DYE605_Z0_38P8GEV_DW/metadata.yaml +28 -29
- nnpdf_data/commondata/DYE605_Z0_38P8GEV_DW/uncertainties.yaml +123248 -0
- nnpdf_data/commondata/DYE866_Z0_800GEV/data.yaml +185 -0
- nnpdf_data/commondata/DYE866_Z0_800GEV/{kinematics_PXSEC.yaml → kinematics.yaml} +802 -802
- nnpdf_data/commondata/DYE866_Z0_800GEV/kinematics_legacy.yaml +2209 -0
- nnpdf_data/commondata/DYE866_Z0_800GEV/metadata.yaml +27 -27
- nnpdf_data/commondata/DYE866_Z0_800GEV/uncertainties.yaml +566 -0
- nnpdf_data/commondata/DYE866_Z0_800GEV_DW_RATIO/{kinematics_PDXSECRATIO.yaml → kinematics.yaml} +68 -68
- nnpdf_data/commondata/DYE866_Z0_800GEV_DW_RATIO/metadata.yaml +27 -28
- nnpdf_data/commondata/DYE866_Z0_800GEV_DW_RATIO/uncertainties.yaml +1940 -0
- nnpdf_data/commondata/DYE906_Z0_120GEV_DW/{kinematics_PDXSECRATIO.yaml → kinematics.yaml} +32 -32
- nnpdf_data/commondata/DYE906_Z0_120GEV_DW/metadata.yaml +24 -25
- nnpdf_data/commondata/DYE906_Z0_120GEV_DW/uncertainties.yaml +1082 -0
- nnpdf_data/commondata/E142_NC_NOTFIXED_EN/metadata.yaml +31 -32
- nnpdf_data/commondata/E143_NC_NOTFIXED_ED/metadata.yaml +32 -33
- nnpdf_data/commondata/E143_NC_NOTFIXED_EP/metadata.yaml +32 -33
- nnpdf_data/commondata/E154_NC_9GEV_EN/metadata.yaml +32 -33
- nnpdf_data/commondata/E155_NC_9GEV_EN/metadata.yaml +39 -40
- nnpdf_data/commondata/E155_NC_9GEV_EP/metadata.yaml +39 -40
- nnpdf_data/commondata/EICC_NC_15GEV_EP/metadata.yaml +31 -32
- nnpdf_data/commondata/EICC_NC_22GEV_EP/metadata.yaml +31 -32
- nnpdf_data/commondata/EIC_NC_211GEV_EP/metadata.yaml +31 -32
- nnpdf_data/commondata/EIC_NC_43GEV_EP/metadata.yaml +31 -32
- nnpdf_data/commondata/EIC_NC_67GEV_EP/metadata.yaml +31 -32
- nnpdf_data/commondata/EMC_NC_250GEV/kinematics.yaml +253 -0
- nnpdf_data/commondata/EMC_NC_250GEV/metadata.yaml +29 -26
- nnpdf_data/commondata/EMC_NC_250GEV/uncertainties_rzero.yaml +77 -0
- nnpdf_data/commondata/EMC_NC_NOTFIXED_MUP/metadata.yaml +31 -32
- nnpdf_data/commondata/H1_1JET_319GEV_290PB-1_DIF/metadata.yaml +103 -107
- nnpdf_data/commondata/H1_1JET_319GEV_351PB-1_DIF/metadata.yaml +57 -59
- nnpdf_data/commondata/H1_2JET_319GEV_290PB-1_DIF/metadata.yaml +59 -61
- nnpdf_data/commondata/H1_2JET_319GEV_351PB-1_DIF/metadata.yaml +57 -59
- nnpdf_data/commondata/HERA_CC_318GEV/kinematics_EM-SIGMARED.yaml +126 -126
- nnpdf_data/commondata/HERA_CC_318GEV/kinematics_EP-SIGMARED.yaml +117 -117
- nnpdf_data/commondata/HERA_CC_318GEV/metadata.yaml +41 -43
- nnpdf_data/commondata/HERA_CC_318GEV/uncertainties_EM-SIGMARED.yaml +7868 -0
- nnpdf_data/commondata/HERA_CC_318GEV/uncertainties_EP-SIGMARED.yaml +7355 -0
- nnpdf_data/commondata/HERA_NC_225GEV/kinematics_EP-SIGMARED.yaml +627 -627
- nnpdf_data/commondata/HERA_NC_225GEV/metadata.yaml +21 -22
- nnpdf_data/commondata/HERA_NC_225GEV/uncertainties_EP-SIGMARED.yaml +36425 -0
- nnpdf_data/commondata/HERA_NC_251GEV/kinematics_EP-SIGMARED.yaml +780 -780
- nnpdf_data/commondata/HERA_NC_251GEV/metadata.yaml +21 -22
- nnpdf_data/commondata/HERA_NC_251GEV/uncertainties_EP-SIGMARED.yaml +45146 -0
- nnpdf_data/commondata/HERA_NC_300GEV/kinematics_EP-SIGMARED.yaml +336 -336
- nnpdf_data/commondata/HERA_NC_300GEV/metadata.yaml +21 -22
- nnpdf_data/commondata/HERA_NC_300GEV/uncertainties_EP-SIGMARED.yaml +19838 -0
- nnpdf_data/commondata/HERA_NC_318GEV/kinematics_EM-SIGMARED.yaml +477 -477
- nnpdf_data/commondata/HERA_NC_318GEV/kinematics_EP-SIGMARED.yaml +1455 -1455
- nnpdf_data/commondata/HERA_NC_318GEV/metadata.yaml +41 -43
- nnpdf_data/commondata/HERA_NC_318GEV/uncertainties_EM-SIGMARED.yaml +27875 -0
- nnpdf_data/commondata/HERA_NC_318GEV/uncertainties_EP-SIGMARED.yaml +83621 -0
- nnpdf_data/commondata/HERA_NC_318GEV_EAVG/kinematics_BOTTOM-SIGMARED.yaml +108 -108
- nnpdf_data/commondata/HERA_NC_318GEV_EAVG/kinematics_CHARM-SIGMARED.yaml +208 -208
- nnpdf_data/commondata/HERA_NC_318GEV_EAVG/metadata.yaml +41 -43
- nnpdf_data/commondata/HERA_NC_318GEV_EAVG/uncertainties_BOTTOM-SIGMARED.yaml +5241 -0
- nnpdf_data/commondata/HERA_NC_318GEV_EAVG/uncertainties_CHARM-SIGMARED.yaml +9466 -0
- nnpdf_data/commondata/HERMES97_NC_7GEV_EN/metadata.yaml +32 -33
- nnpdf_data/commondata/HERMES_NC_7GEV_ED/metadata.yaml +32 -33
- nnpdf_data/commondata/HERMES_NC_7GEV_EP/metadata.yaml +32 -33
- nnpdf_data/commondata/JLABE06_NC_3GEV_EN/metadata.yaml +32 -33
- nnpdf_data/commondata/JLABE97_NC_NOTFIXED_EN/metadata.yaml +31 -32
- nnpdf_data/commondata/JLABE99_NC_3GEV_EN/metadata.yaml +32 -33
- nnpdf_data/commondata/JLABEG1B_NC_NOTFIXED_ED/metadata.yaml +32 -512
- nnpdf_data/commondata/JLABEG1B_NC_NOTFIXED_EP/metadata.yaml +32 -172
- nnpdf_data/commondata/JLABEG1DVCS_NC_3GEV_EP/metadata.yaml +33 -34
- nnpdf_data/commondata/JLABEG1DVCS_NC_5GEV_ED/metadata.yaml +33 -34
- nnpdf_data/commondata/LHCB_DY_7TEV_MUON/metadata.yaml +6 -41
- nnpdf_data/commondata/LHCB_DY_8TEV_MUON/metadata.yaml +11 -47
- nnpdf_data/commondata/LHCB_WPWM_7TEV_MUON/metadata.yaml +5 -23
- nnpdf_data/commondata/LHCB_WPWM_8TEV_MUON/metadata.yaml +5 -23
- nnpdf_data/commondata/LHCB_Z0J_13TEV_2022/metadata.yaml +19 -25
- nnpdf_data/commondata/LHCB_Z0_13TEV/metadata.yaml +4 -6
- nnpdf_data/commondata/LHCB_Z0_13TEV/uncertainties_dielectron.yaml +1 -1
- nnpdf_data/commondata/LHCB_Z0_13TEV/uncertainties_dimuon.yaml +1 -1
- nnpdf_data/commondata/LHCB_Z0_13TEV_2022/metadata.yaml +24 -30
- nnpdf_data/commondata/LHCB_Z0_13TEV_2022/uncertainties_dimuon_y.yaml +1 -1
- nnpdf_data/commondata/LHCB_Z0_7TEV_DIELECTRON/metadata.yaml +2 -3
- nnpdf_data/commondata/LHCB_Z0_7TEV_MUON/metadata.yaml +2 -3
- nnpdf_data/commondata/LHCB_Z0_8TEV_DIELECTRON/metadata.yaml +2 -3
- nnpdf_data/commondata/LHCB_Z0_8TEV_MUON/metadata.yaml +4 -24
- nnpdf_data/commondata/NMC_NC_NOTFIXED/{kinematics_EM-F2.yaml → kinematics.yaml} +1040 -1040
- nnpdf_data/commondata/NMC_NC_NOTFIXED/metadata.yaml +30 -28
- nnpdf_data/commondata/NMC_NC_NOTFIXED/uncertainties_hepdata.yaml +530 -0
- nnpdf_data/commondata/NMC_NC_NOTFIXED_D/data_EM-F2-HEPDATA.yaml +159 -0
- nnpdf_data/commondata/NMC_NC_NOTFIXED_D/kinematics_EM-F2-HEPDATA.yaml +1265 -0
- nnpdf_data/commondata/NMC_NC_NOTFIXED_D/metadata.yaml +59 -0
- nnpdf_data/commondata/NMC_NC_NOTFIXED_D/uncertainties_EM-F2-HEPDATA.yaml +326 -0
- nnpdf_data/commondata/NMC_NC_NOTFIXED_P/data_EM-F2-HEPDATA.yaml +159 -0
- nnpdf_data/commondata/NMC_NC_NOTFIXED_P/kinematics_EM-F2-HEPDATA.yaml +1265 -0
- nnpdf_data/commondata/NMC_NC_NOTFIXED_P/kinematics_EM-SIGMARED.yaml +2336 -2920
- nnpdf_data/commondata/NMC_NC_NOTFIXED_P/metadata.yaml +68 -25
- nnpdf_data/commondata/NMC_NC_NOTFIXED_P/uncertainties_EM-F2-HEPDATA.yaml +326 -0
- nnpdf_data/commondata/NNPDF_FIATLUX_NOTFIXED/metadata.yaml +2 -2
- nnpdf_data/commondata/NNPDF_INTEG_1GEV/kinematics_XDELTA.yaml +0 -4
- nnpdf_data/commondata/NNPDF_INTEG_1GEV/kinematics_flavour.yaml +0 -2
- nnpdf_data/commondata/NNPDF_INTEG_1GEV/metadata.yaml +8 -42
- nnpdf_data/commondata/NNPDF_INTEG_3GEV/metadata.yaml +5 -5
- nnpdf_data/commondata/NNPDF_POS_2P24GEV/kinematics_DYD.yaml +60 -60
- nnpdf_data/commondata/NNPDF_POS_2P24GEV/kinematics_DYS.yaml +60 -60
- nnpdf_data/commondata/NNPDF_POS_2P24GEV/kinematics_DYU.yaml +60 -60
- nnpdf_data/commondata/NNPDF_POS_2P24GEV/metadata.yaml +52 -80
- nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/{data_legacy_dw_NB-SIGMARED.yaml → data_NB.yaml} +22 -22
- nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/{data_legacy_dw_NU-SIGMARED.yaml → data_NU.yaml} +11 -11
- nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/{kinematics_NB-SIGMARED.yaml → kinematics_NB.yaml} +180 -180
- nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/{kinematics_NU-SIGMARED.yaml → kinematics_NU.yaml} +180 -180
- nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/metadata.yaml +55 -50
- nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/uncertainties_NB_hepdata.yaml +198 -0
- nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/uncertainties_NU_hepdata.yaml +198 -0
- nnpdf_data/commondata/PHENIX-2009_SHP_200GEV_PI0/metadata.yaml +22 -23
- nnpdf_data/commondata/PHENIX-2013_SHP_510GEV_PI0/metadata.yaml +22 -23
- nnpdf_data/commondata/PHENIX_1JET_200GEV/metadata.yaml +25 -36
- nnpdf_data/commondata/SLAC_NC_NOTFIXED_D/kinematics_EM-F2.yaml +633 -633
- nnpdf_data/commondata/SLAC_NC_NOTFIXED_D/metadata.yaml +20 -20
- nnpdf_data/commondata/SLAC_NC_NOTFIXED_P/kinematics_EM-F2.yaml +633 -633
- nnpdf_data/commondata/SLAC_NC_NOTFIXED_P/metadata.yaml +20 -20
- nnpdf_data/commondata/SMCSX_NC_17GEV_MUP/metadata.yaml +33 -34
- nnpdf_data/commondata/SMCSX_NC_24GEV_MUD/metadata.yaml +33 -34
- nnpdf_data/commondata/SMC_NC_NOTFIXED_MUD/metadata.yaml +32 -33
- nnpdf_data/commondata/SMC_NC_NOTFIXED_MUP/metadata.yaml +32 -33
- nnpdf_data/commondata/STAR-2004_1JET_200GEV/metadata.yaml +26 -37
- nnpdf_data/commondata/STAR-2005_1JET_200GEV/metadata.yaml +26 -37
- nnpdf_data/commondata/STAR-2006_1JET_200GEV/metadata.yaml +26 -37
- nnpdf_data/commondata/STAR-2006_SHP_200GEV_PI0/metadata.yaml +22 -23
- nnpdf_data/commondata/STAR-2009_1JET_200GEV/metadata.yaml +52 -74
- nnpdf_data/commondata/STAR-2009_2JET_200GEV/metadata.yaml +75 -93
- nnpdf_data/commondata/STAR-2009_2JET_200GEV_MIDRAP/metadata.yaml +50 -62
- nnpdf_data/commondata/STAR-2012_1JET_510GEV/metadata.yaml +26 -42
- nnpdf_data/commondata/STAR-2012_2JET_510GEV/metadata.yaml +100 -124
- nnpdf_data/commondata/STAR-2013_1JET_510GEV/metadata.yaml +25 -36
- nnpdf_data/commondata/STAR-2013_2JET_510GEV/metadata.yaml +100 -124
- nnpdf_data/commondata/STAR-2013_SHP_510GEV_PI0/metadata.yaml +44 -46
- nnpdf_data/commondata/STAR-2015_1JET_200GEV/metadata.yaml +50 -72
- nnpdf_data/commondata/STAR-2015_2JET_200GEV_MIDRAP/metadata.yaml +50 -62
- nnpdf_data/commondata/STAR_WMWP_510GEV/metadata.yaml +60 -62
- nnpdf_data/commondata/ZEUS_1JET_300GEV_38P6PB-1_DIF/metadata.yaml +35 -36
- nnpdf_data/commondata/ZEUS_1JET_319GEV_82PB-1_DIF/metadata.yaml +35 -36
- nnpdf_data/commondata/ZEUS_2JET_319GEV_374PB-1_DIF/metadata.yaml +35 -36
- nnpdf_data/commondata/dataset_names.yml +4 -1
- nnpdf_data/commondataparser.py +64 -29
- nnpdf_data/coredata.py +10 -6
- nnpdf_data/filter_utils/hera_utils.py +73 -0
- nnpdf_data/filter_utils/nmc_hepdata_utils.py +59 -0
- nnpdf_data/filter_utils/utils.py +16 -4
- nnpdf_data/process_options.py +128 -14
- nnpdf_data/theory.py +0 -13
- nnpdf_data/theory_cards/40005000.yaml +48 -0
- nnpdf_data/theory_cards/40005001.yaml +48 -0
- nnpdf_data/theory_cards/40005002.yaml +48 -0
- nnpdf_data/theory_cards/40005003.yaml +48 -0
- nnpdf_data/theory_cards/40005004.yaml +48 -0
- nnpdf_data/theory_cards/40005005.yaml +48 -0
- nnpdf_data/theory_cards/40005006.yaml +48 -0
- nnpdf_data/theory_cards/40005007.yaml +48 -0
- nnpdf_data/theory_cards/40005008.yaml +48 -0
- nnpdf_data/theory_cards/40005009.yaml +48 -0
- nnpdf_data/theory_cards/40005010.yaml +48 -0
- nnpdf_data/theory_cards/40005011.yaml +48 -0
- nnpdf_data/theory_cards/40005012.yaml +48 -0
- nnpdf_data/theory_cards/40005013.yaml +48 -0
- nnpdf_data/theory_cards/40005014.yaml +48 -0
- nnpdf_data/theory_cards/40005015.yaml +48 -0
- nnpdf_data/theory_cards/40005016.yaml +48 -0
- nnpdf_data/theory_cards/40005017.yaml +48 -0
- nnpdf_data/theory_cards/40005018.yaml +48 -0
- nnpdf_data/theory_cards/40005019.yaml +48 -0
- nnpdf_data/theory_cards/40005020.yaml +48 -0
- nnpdf_data/theory_cards/40005021.yaml +48 -0
- nnpdf_data/theory_cards/40005022.yaml +48 -0
- nnpdf_data/theory_cards/40005023.yaml +48 -0
- nnpdf_data/theory_cards/40005024.yaml +48 -0
- nnpdf_data/theory_cards/40005025.yaml +48 -0
- nnpdf_data/theory_cards/40005026.yaml +48 -0
- nnpdf_data/theory_cards/40007000.yaml +47 -0
- nnpdf_data/theory_cards/40007001.yaml +47 -0
- nnpdf_data/theory_cards/40007002.yaml +47 -0
- nnpdf_data/theory_cards/40007003.yaml +47 -0
- nnpdf_data/theory_cards/40007004.yaml +47 -0
- nnpdf_data/theory_cards/40007005.yaml +47 -0
- nnpdf_data/theory_cards/40007006.yaml +47 -0
- nnpdf_data/theory_cards/40007007.yaml +47 -0
- nnpdf_data/theory_cards/40007008.yaml +47 -0
- nnpdf_data/theory_cards/40007009.yaml +47 -0
- nnpdf_data/theory_cards/40007010.yaml +47 -0
- nnpdf_data/theory_cards/40007011.yaml +47 -0
- nnpdf_data/theory_cards/40007012.yaml +47 -0
- nnpdf_data/theory_cards/40007013.yaml +47 -0
- nnpdf_data/theory_cards/40008000.yaml +48 -0
- nnpdf_data/theory_cards/40008001.yaml +48 -0
- nnpdf_data/theory_cards/40008002.yaml +48 -0
- nnpdf_data/theory_cards/40008003.yaml +48 -0
- nnpdf_data/theory_cards/40008004.yaml +48 -0
- nnpdf_data/theory_cards/40008005.yaml +48 -0
- nnpdf_data/theory_cards/40008006.yaml +48 -0
- nnpdf_data/theory_cards/40008007.yaml +48 -0
- nnpdf_data/theory_cards/40008008.yaml +48 -0
- nnpdf_data/theory_cards/40008009.yaml +48 -0
- nnpdf_data/theory_cards/40008010.yaml +48 -0
- nnpdf_data/theory_cards/40008011.yaml +48 -0
- nnpdf_data/theory_cards/40008012.yaml +48 -0
- nnpdf_data/theory_cards/40008013.yaml +48 -0
- nnpdf_data/theory_cards/40009000.yaml +41 -0
- nnpdf_data/theory_cards/40009001.yaml +41 -0
- nnpdf_data/theory_cards/40009002.yaml +41 -0
- nnpdf_data/theory_cards/40010000.yaml +41 -0
- nnpdf_data/theory_cards/40010001.yaml +41 -0
- nnpdf_data/theory_cards/40010002.yaml +41 -0
- nnpdf_data/theory_cards/40010003.yaml +41 -0
- nnpdf_data/theory_cards/40010004.yaml +41 -0
- nnpdf_data/theory_cards/40010005.yaml +41 -0
- nnpdf_data/theory_cards/40010006.yaml +41 -0
- nnpdf_data/theory_cards/40010007.yaml +41 -0
- nnpdf_data/theory_cards/40010008.yaml +41 -0
- nnpdf_data/theory_cards/40010009.yaml +41 -0
- nnpdf_data/theory_cards/40010010.yaml +41 -0
- nnpdf_data/theory_cards/40010011.yaml +41 -0
- nnpdf_data/theory_cards/40010012.yaml +41 -0
- nnpdf_data/theory_cards/40011000.yaml +41 -0
- nnpdf_data/theory_cards/40011001.yaml +41 -0
- nnpdf_data/theory_cards/40011002.yaml +41 -0
- nnpdf_data/theory_cards/40011003.yaml +41 -0
- nnpdf_data/theory_cards/40011004.yaml +41 -0
- nnpdf_data/theory_cards/40011005.yaml +41 -0
- nnpdf_data/theory_cards/40011006.yaml +41 -0
- nnpdf_data/theory_cards/40011007.yaml +41 -0
- nnpdf_data/theory_cards/40011008.yaml +41 -0
- nnpdf_data/theory_cards/40011009.yaml +41 -0
- nnpdf_data/theory_cards/40011010.yaml +41 -0
- nnpdf_data/theory_cards/40011011.yaml +41 -0
- nnpdf_data/theory_cards/40011012.yaml +41 -0
- nnpdf_data/theory_cards/40012000.yaml +41 -0
- nnpdf_data/theory_cards/40012001.yaml +41 -0
- nnpdf_data/theory_cards/40012002.yaml +41 -0
- nnpdf_data/theory_cards/40012003.yaml +41 -0
- nnpdf_data/theory_cards/40012004.yaml +41 -0
- nnpdf_data/theory_cards/40012005.yaml +41 -0
- nnpdf_data/theory_cards/40012006.yaml +41 -0
- nnpdf_data/theory_cards/40012007.yaml +41 -0
- nnpdf_data/theory_cards/40012008.yaml +41 -0
- nnpdf_data/theory_cards/40012009.yaml +41 -0
- nnpdf_data/theory_cards/40012010.yaml +41 -0
- nnpdf_data/theory_cards/40012011.yaml +41 -0
- nnpdf_data/theory_cards/40012012.yaml +41 -0
- nnpdf_data/theorydbutils.py +23 -24
- nnpdf_data/utils.py +7 -15
- nnpdf_data/validphys_compatibility.py +99 -6
- {nnpdf_data-0.0.1.dist-info → nnpdf_data-0.0.3.dist-info}/METADATA +4 -5
- {nnpdf_data-0.0.1.dist-info → nnpdf_data-0.0.3.dist-info}/RECORD +504 -294
- {nnpdf_data-0.0.1.dist-info → nnpdf_data-0.0.3.dist-info}/WHEEL +1 -1
- nnpdf_data/commondata/ATLAS_Z0_8TEV_LOWMASS/kinematics_M-Y.yaml +0 -1009
- nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/kinematics_NB-SIGMARED.yaml +0 -7285
- nnpdf_data/commondata/DYE866_Z0_800GEV_DW_RATIO/uncertainties_legacy_PDXSECRATIO.yaml +0 -1940
- nnpdf_data/commondata/DYE906_Z0_120GEV_DW/uncertainties_legacy_PDXSECRATIO.yaml +0 -1082
- nnpdf_data/commondata/EMC_NC_250GEV/kinematics_EM-F2C.yaml +0 -253
- /nnpdf_data/commondata/{ATLAS_SINGLETOP_8TEV/data_legacy_TCHANNEL-XSEC.yaml → ATLAS_SINGLETOP_13TEV/data_TCHANNEL-XSEC.yaml} +0 -0
- /nnpdf_data/commondata/ATLAS_SINGLETOP_7TEV/{data_legacy_TCHANNEL-XSEC.yaml → data_TCHANNEL-XSEC.yaml} +0 -0
- /nnpdf_data/commondata/ATLAS_WCHARM_7TEV/{data_legacy_WM-YL.yaml → data_WM-YL.yaml} +0 -0
- /nnpdf_data/commondata/ATLAS_WCHARM_7TEV/{data_legacy_WP-YL.yaml → data_WP-YL.yaml} +0 -0
- /nnpdf_data/commondata/ATLAS_WCHARM_7TEV/{uncertainties_WM-YL_sys_10.yaml → uncertainties_legacy_WM-YL_sys_10.yaml} +0 -0
- /nnpdf_data/commondata/ATLAS_WCHARM_7TEV/{uncertainties_WP-YL_sys_10.yaml → uncertainties_legacy_WP-YL_sys_10.yaml} +0 -0
- /nnpdf_data/commondata/ATLAS_WJ_8TEV/{uncertainties_WM-PT_sys_ATLAS.yaml → uncertainties_legacy_WM-PT_sys_ATLAS.yaml} +0 -0
- /nnpdf_data/commondata/ATLAS_WJ_8TEV/{uncertainties_WM-PT_sys_NP.yaml → uncertainties_legacy_WM-PT_sys_NP.yaml} +0 -0
- /nnpdf_data/commondata/ATLAS_WJ_8TEV/{uncertainties_WP-PT_sys_ATLAS.yaml → uncertainties_legacy_WP-PT_sys_ATLAS.yaml} +0 -0
- /nnpdf_data/commondata/ATLAS_WJ_8TEV/{uncertainties_WP-PT_sys_NP.yaml → uncertainties_legacy_WP-PT_sys_NP.yaml} +0 -0
- /nnpdf_data/commondata/ATLAS_Z0_7TEV_LOMASS/{data_legacy_M.yaml → data.yaml} +0 -0
- /nnpdf_data/commondata/CDF_Z0_1P96TEV/{data_legacy_ZRAP.yaml → data_ZRAP.yaml} +0 -0
- /nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/{data_legacy_NB-SIGMARED.yaml → data_nb.yaml} +0 -0
- /nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/{data_legacy_NU-SIGMARED.yaml → data_nu.yaml} +0 -0
- /nnpdf_data/commondata/CMS_SINGLETOP_13TEV/{data_legacy_TCHANNEL-XSEC.yaml → data_TCHANNEL-XSEC.yaml} +0 -0
- /nnpdf_data/commondata/CMS_SINGLETOP_13TEV/{uncertainties_legacy_TCHANNEL-XSEC.yaml → uncertainties_TCHANNEL-XSEC.yaml} +0 -0
- /nnpdf_data/commondata/CMS_SINGLETOP_7TEV/{data_legacy_TCHANNEL-XSEC.yaml → data_TCHANNEL-XSEC.yaml} +0 -0
- /nnpdf_data/commondata/CMS_SINGLETOP_8TEV/{data_legacy_TCHANNEL-XSEC.yaml → data_TCHANNEL-XSEC.yaml} +0 -0
- /nnpdf_data/commondata/CMS_TTBAR_13TEV_LJ_2016_DIF/{data_legacy_YTTBAR.yaml → data_legacy_YT.yaml} +0 -0
- /nnpdf_data/commondata/CMS_TTBAR_13TEV_LJ_2016_DIF/{uncertainties_legacy_YTTBAR.yaml → uncertainties_legacy_YT.yaml} +0 -0
- /nnpdf_data/commondata/CMS_WCHARM_13TEV/{uncertainties_WPWM-TOT-UNNORM_sys_10.yaml → uncertainties_legacy_WPWM-TOT-UNNORM_sys_10.yaml} +0 -0
- /nnpdf_data/commondata/CMS_WCHARM_7TEV/{data_legacy_WPWM-RATIO.yaml → data_WPWM-RATIO.yaml} +0 -0
- /nnpdf_data/commondata/CMS_WCHARM_7TEV/{data_legacy_WPWM-TOT.yaml → data_WPWM-TOT.yaml} +0 -0
- /nnpdf_data/commondata/CMS_Z0J_8TEV/{uncertainties_PT-Y_sys_10_NNPDF31.yaml → uncertainties_legacy_PT-Y_sys_10_NNPDF31.yaml} +0 -0
- /nnpdf_data/commondata/CMS_Z0J_8TEV/{uncertainties_PT-Y_sys_NNPDF31.yaml → uncertainties_legacy_PT-Y_sys_NNPDF31.yaml} +0 -0
- /nnpdf_data/commondata/DYE605_Z0_38P8GEV_DW/{data_legacy_PXSEC.yaml → data.yaml} +0 -0
- /nnpdf_data/commondata/DYE866_Z0_800GEV/{data_legacy_PXSEC.yaml → data_legacy.yaml} +0 -0
- /nnpdf_data/commondata/DYE866_Z0_800GEV_DW_RATIO/{data_legacy_PDXSECRATIO.yaml → data.yaml} +0 -0
- /nnpdf_data/commondata/DYE906_Z0_120GEV_DW/{data_legacy_PDXSECRATIO.yaml → data.yaml} +0 -0
- /nnpdf_data/commondata/EMC_NC_250GEV/{data_legacy_EM-F2C.yaml → data_rzero.yaml} +0 -0
- /nnpdf_data/commondata/HERA_CC_318GEV/{data_legacy_EM-SIGMARED.yaml → data_EM-SIGMARED.yaml} +0 -0
- /nnpdf_data/commondata/HERA_CC_318GEV/{data_legacy_EP-SIGMARED.yaml → data_EP-SIGMARED.yaml} +0 -0
- /nnpdf_data/commondata/HERA_NC_225GEV/{data_legacy_EP-SIGMARED.yaml → data_EP-SIGMARED.yaml} +0 -0
- /nnpdf_data/commondata/HERA_NC_251GEV/{data_legacy_EP-SIGMARED.yaml → data_EP-SIGMARED.yaml} +0 -0
- /nnpdf_data/commondata/HERA_NC_300GEV/{data_legacy_EP-SIGMARED.yaml → data_EP-SIGMARED.yaml} +0 -0
- /nnpdf_data/commondata/HERA_NC_318GEV/{data_legacy_EM-SIGMARED.yaml → data_EM-SIGMARED.yaml} +0 -0
- /nnpdf_data/commondata/HERA_NC_318GEV/{data_legacy_EP-SIGMARED.yaml → data_EP-SIGMARED.yaml} +0 -0
- /nnpdf_data/commondata/HERA_NC_318GEV_EAVG/{data_legacy_BOTTOM-SIGMARED.yaml → data_BOTTOM-SIGMARED.yaml} +0 -0
- /nnpdf_data/commondata/HERA_NC_318GEV_EAVG/{data_legacy_CHARM-SIGMARED.yaml → data_CHARM-SIGMARED.yaml} +0 -0
- /nnpdf_data/commondata/NMC_NC_NOTFIXED/{data_legacy_EM-F2.yaml → data.yaml} +0 -0
|
@@ -17,40 +17,39 @@ version_comment: "Separated luminosity uncertainty"
|
|
|
17
17
|
|
|
18
18
|
implemented_observables:
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
20
|
+
- observable: {description: "double differential cross section w.r.t. E_T and q^2", label: '$\frac{d^2\sigma}{dE_Tdq^2}$', units: "$pb/GeV^3$"}
|
|
21
|
+
observable_name: ETQ2
|
|
22
|
+
process_type: HERADIJET
|
|
23
|
+
ndata: 22
|
|
24
|
+
tables: [13, 14, 15, 16, 17, 18]
|
|
25
|
+
kinematics:
|
|
26
|
+
variables:
|
|
27
|
+
ET: {description: "mean jet transverse energy of the dijet system in the Breit frame", label: '$\langle E_{T, B} \rangle$', units: "$GeV$"}
|
|
28
|
+
Q2: {description: "momentum transferred squared", label: "$q^2$", units: "$GeV^2$"}
|
|
29
|
+
sqrts: {description: "center of mass energy", label: '$\sqrt{s}$', units: "$GeV$"}
|
|
30
|
+
file: kinematics_q2_et.yaml
|
|
31
|
+
data_central: data_q2_et.yaml
|
|
32
|
+
data_uncertainties:
|
|
33
|
+
- uncertainties_q2_et_wo-lumi.yaml
|
|
34
|
+
- uncertainties_q2_et_lumi.yaml
|
|
35
|
+
kinematic_coverage: [ET, Q2, sqrts]
|
|
36
|
+
plotting:
|
|
37
|
+
dataset_label: '$ZEUS\ DiJet\ 374\ pb^{-1}:\ \frac{d^2\sigma}{dE_Tdq^2}$'
|
|
38
|
+
plot_x: ET
|
|
39
|
+
y_label: '$\frac{d^2\sigma}{dE_Tdq^2}$ ($pb/GeV^3$)'
|
|
40
|
+
x_scale: log
|
|
41
|
+
figure_by:
|
|
42
|
+
- Q2
|
|
43
|
+
theory:
|
|
44
|
+
FK_tables:
|
|
45
|
+
- - ZEUS_2JET_319GEV_374PB-1_DIF_ETQ2_BIN1
|
|
46
|
+
- ZEUS_2JET_319GEV_374PB-1_DIF_ETQ2_BIN2
|
|
47
|
+
- ZEUS_2JET_319GEV_374PB-1_DIF_ETQ2_BIN3
|
|
48
|
+
- ZEUS_2JET_319GEV_374PB-1_DIF_ETQ2_BIN4
|
|
49
|
+
- ZEUS_2JET_319GEV_374PB-1_DIF_ETQ2_BIN5
|
|
50
|
+
- ZEUS_2JET_319GEV_374PB-1_DIF_ETQ2_BIN6
|
|
51
|
+
operation: 'null'
|
|
52
|
+
variants:
|
|
53
|
+
wo-lumi:
|
|
54
|
+
data_uncertainties:
|
|
33
55
|
- uncertainties_q2_et_wo-lumi.yaml
|
|
34
|
-
- uncertainties_q2_et_lumi.yaml
|
|
35
|
-
kinematic_coverage: [ET, Q2, sqrts]
|
|
36
|
-
plotting:
|
|
37
|
-
kinematics_override: identity
|
|
38
|
-
dataset_label: '$ZEUS\ DiJet\ 374\ pb^{-1}:\ \frac{d^2\sigma}{dE_Tdq^2}$'
|
|
39
|
-
plot_x: ET
|
|
40
|
-
y_label: '$\frac{d^2\sigma}{dE_Tdq^2}$ ($pb/GeV^3$)'
|
|
41
|
-
x_scale: log
|
|
42
|
-
figure_by:
|
|
43
|
-
- Q2
|
|
44
|
-
theory:
|
|
45
|
-
FK_tables:
|
|
46
|
-
- - ZEUS_2JET_319GEV_374PB-1_DIF_ETQ2_BIN1
|
|
47
|
-
- ZEUS_2JET_319GEV_374PB-1_DIF_ETQ2_BIN2
|
|
48
|
-
- ZEUS_2JET_319GEV_374PB-1_DIF_ETQ2_BIN3
|
|
49
|
-
- ZEUS_2JET_319GEV_374PB-1_DIF_ETQ2_BIN4
|
|
50
|
-
- ZEUS_2JET_319GEV_374PB-1_DIF_ETQ2_BIN5
|
|
51
|
-
- ZEUS_2JET_319GEV_374PB-1_DIF_ETQ2_BIN6
|
|
52
|
-
operation: 'null'
|
|
53
|
-
variants:
|
|
54
|
-
wo-lumi:
|
|
55
|
-
data_uncertainties:
|
|
56
|
-
- uncertainties_q2_et_wo-lumi.yaml
|
|
@@ -330,7 +330,7 @@ CMS_SINGLETOP_TCH_TOT_7TEV:
|
|
|
330
330
|
dataset: CMS_SINGLETOP_7TEV_TCHANNEL-XSEC
|
|
331
331
|
variant: legacy
|
|
332
332
|
CMS_TTB_DIFF_13TEV_2016_LJ_TRAP:
|
|
333
|
-
dataset:
|
|
333
|
+
dataset: CMS_TTBAR_13TEV_LJ_2016_DIF_YT
|
|
334
334
|
variant: legacy
|
|
335
335
|
POSDYS:
|
|
336
336
|
dataset: NNPDF_POS_2P24GEV_DYS
|
|
@@ -412,3 +412,6 @@ ATLAS_WJ_JET_8TEV_WM-PT:
|
|
|
412
412
|
ATLAS_WJ_JET_8TEV_WP-PT:
|
|
413
413
|
dataset: ATLAS_WJ_8TEV_WP-PT
|
|
414
414
|
variant: legacy
|
|
415
|
+
CMS_TTBAR_13TEV_LJ_2016_DIF_YTTBAR:
|
|
416
|
+
dataset: CMS_TTBAR_13TEV_LJ_2016_DIF_YT
|
|
417
|
+
variant: legacy
|
nnpdf_data/commondataparser.py
CHANGED
|
@@ -37,22 +37,20 @@ by modifying the CommonMetaData using one of the loaded Variants one can change
|
|
|
37
37
|
"""
|
|
38
38
|
|
|
39
39
|
import dataclasses
|
|
40
|
-
from functools import
|
|
40
|
+
from functools import cache, cached_property
|
|
41
41
|
import logging
|
|
42
42
|
from pathlib import Path
|
|
43
|
-
from typing import Any,
|
|
43
|
+
from typing import Any, Optional
|
|
44
44
|
|
|
45
45
|
import numpy as np
|
|
46
46
|
import pandas as pd
|
|
47
47
|
from validobj import ValidationError, parse_input
|
|
48
48
|
from validobj.custom import Parser
|
|
49
49
|
|
|
50
|
-
# We cannot use ruamel directly due to the ambiguity ruamel.yaml / ruamel_yaml
|
|
51
|
-
# of some versions which are pinned in some of the conda packages we use...
|
|
52
|
-
from . import new_to_legacy_map, path_commondata
|
|
53
50
|
from .coredata import KIN_NAMES, CommonData
|
|
54
51
|
from .process_options import ValidProcess
|
|
55
52
|
from .utils import parse_yaml_inp, quick_yaml_load
|
|
53
|
+
from .validphys_compatibility import new_to_legacy_map, path_commondata
|
|
56
54
|
|
|
57
55
|
try:
|
|
58
56
|
from validphys.plotoptions.plottingoptions import PlottingOptions, labeler_functions
|
|
@@ -66,7 +64,6 @@ except ModuleNotFoundError:
|
|
|
66
64
|
|
|
67
65
|
VP_AVAILABLE = False
|
|
68
66
|
|
|
69
|
-
|
|
70
67
|
# JCM:
|
|
71
68
|
# Some notes for developers
|
|
72
69
|
# The usage of `frozen` in the definitions of the dataclass is not strictly necessary
|
|
@@ -107,6 +104,10 @@ KINLABEL_LATEX = {
|
|
|
107
104
|
"SHP_ASY": ("$\\eta$", "$p_T (GeV)$", "$\\sqrt{s} (GeV)$"),
|
|
108
105
|
"JET_POL": ("$\\eta$", "$p_T^2 (GeV^2)$", "$\\sqrt{s} (GeV)$"),
|
|
109
106
|
"DIJET_POL": ("$\\m_{1,2} (GeV)", "$\\eta_1$", "$\\eta_2$"),
|
|
107
|
+
"DY_Z_Y": ("$y_Z$", "$\\M^2 (GeV^2)$", "$\\sqrt{s} (GeV)$"),
|
|
108
|
+
"SINGLETOP": ("$y$", "$m_t^2 (GeV^2)$", "$\\sqrt{s} (GeV)$"),
|
|
109
|
+
"DY_MLL": ("$M_{ll} (GeV)$", "$M_{ll}^2 (GeV^2)$", "$\\sqrt{s} (GeV)$"),
|
|
110
|
+
"DY_W_ETA": ("$abs_\\eta$", "$M_W^2 (GeV^2)$", "$\\sqrt{s} (GeV)$"),
|
|
110
111
|
}
|
|
111
112
|
|
|
112
113
|
PROCESS_DESCRIPTION_LABEL = {
|
|
@@ -134,6 +135,8 @@ PROCESS_DESCRIPTION_LABEL = {
|
|
|
134
135
|
"JET_POL": "Inclusive Jet longitudinal double-spin asymmetry",
|
|
135
136
|
"DIJET_POL": "Dijets longitudinal double-spin asymmetry",
|
|
136
137
|
"SHP_ASY": "double spin asymmetry in single hadron production",
|
|
138
|
+
"DY_MLL": "Drell-Yan Mass Distribution of Lepton Pairs",
|
|
139
|
+
"DY_W_ETA": "Drell-Yan W boson rapidity distribution",
|
|
137
140
|
}
|
|
138
141
|
|
|
139
142
|
|
|
@@ -226,9 +229,9 @@ class TheoryMeta:
|
|
|
226
229
|
|
|
227
230
|
Example
|
|
228
231
|
-------
|
|
229
|
-
>>> from
|
|
232
|
+
>>> from nnpdf_data.commondataparser import TheoryMeta
|
|
230
233
|
... from validobj import parse_input
|
|
231
|
-
... from
|
|
234
|
+
... from ruamel.yaml import YAML
|
|
232
235
|
... theory_raw = '''
|
|
233
236
|
... FK_tables:
|
|
234
237
|
... - - fk1
|
|
@@ -236,7 +239,7 @@ class TheoryMeta:
|
|
|
236
239
|
... - fk3
|
|
237
240
|
... operation: ratio
|
|
238
241
|
... '''
|
|
239
|
-
... theory =
|
|
242
|
+
... theory = YAML(typ='safe').load(theory_raw)
|
|
240
243
|
... parse_input(theory, TheoryMeta)
|
|
241
244
|
TheoryMeta(FK_tables=[['fk1'], ['fk2', 'fk3']], operation='RATIO', shifts = None, conversion_factor=1.0, comment=None, normalization=None))
|
|
242
245
|
"""
|
|
@@ -307,7 +310,7 @@ class Variant:
|
|
|
307
310
|
experiment: Optional[str] = None
|
|
308
311
|
|
|
309
312
|
|
|
310
|
-
ValidVariants =
|
|
313
|
+
ValidVariants = dict[str, Variant]
|
|
311
314
|
|
|
312
315
|
|
|
313
316
|
### Kinematic data
|
|
@@ -349,7 +352,7 @@ class ValidKinematics:
|
|
|
349
352
|
"""
|
|
350
353
|
|
|
351
354
|
file: ValidPath
|
|
352
|
-
variables:
|
|
355
|
+
variables: dict[str, ValidVariable]
|
|
353
356
|
|
|
354
357
|
def get_label(self, var):
|
|
355
358
|
"""For the given variable, return the label as label (unit)
|
|
@@ -439,10 +442,8 @@ class ObservableMetaData:
|
|
|
439
442
|
raise ValidationError(f"Missing `data_central` field for {self.name}")
|
|
440
443
|
|
|
441
444
|
if not self.data_uncertainties:
|
|
442
|
-
ermsg = f"Missing `data_uncertainties` for {self.name}.
|
|
443
|
-
|
|
444
|
-
if "legacy" in self.variants:
|
|
445
|
-
ermsg += " Maybe you intended to use `variant: legacy`?"
|
|
445
|
+
ermsg = f"""Missing `data_uncertainties` for {self.name}.
|
|
446
|
+
Select one of the variants: {list(self.variants.keys())}"""
|
|
446
447
|
raise ValidationError(ermsg)
|
|
447
448
|
|
|
448
449
|
# Check that plotting.plot_x is being filled
|
|
@@ -468,8 +469,16 @@ class ObservableMetaData:
|
|
|
468
469
|
def apply_variant(self, variant_name):
|
|
469
470
|
"""Return a new instance of this class with the variant applied
|
|
470
471
|
|
|
471
|
-
This class also defines how the variant is applied to the commondata
|
|
472
|
+
This class also defines how the variant is applied to the commondata.
|
|
473
|
+
If more than a variant is being used, this function will be called recursively
|
|
474
|
+
until all variants are applied.
|
|
472
475
|
"""
|
|
476
|
+
if not isinstance(variant_name, str):
|
|
477
|
+
observable = self
|
|
478
|
+
for single_variant in variant_name:
|
|
479
|
+
observable = observable.apply_variant(single_variant)
|
|
480
|
+
return observable
|
|
481
|
+
|
|
473
482
|
try:
|
|
474
483
|
variant = self.variants[variant_name]
|
|
475
484
|
except KeyError as e:
|
|
@@ -485,7 +494,6 @@ class ObservableMetaData:
|
|
|
485
494
|
|
|
486
495
|
# This section should only be used for the purposes of reproducibility
|
|
487
496
|
# of legacy data, no new data should use these
|
|
488
|
-
|
|
489
497
|
if variant.experiment is not None:
|
|
490
498
|
new_nnpdf_metadata = dict(self._parent.nnpdf_metadata.items())
|
|
491
499
|
new_nnpdf_metadata["experiment"] = variant.experiment
|
|
@@ -493,7 +501,13 @@ class ObservableMetaData:
|
|
|
493
501
|
variant_replacement["_parent"] = setmetadata_copy
|
|
494
502
|
variant_replacement["plotting"] = dataclasses.replace(self.plotting)
|
|
495
503
|
|
|
496
|
-
|
|
504
|
+
# Keep track of applied variants:
|
|
505
|
+
if self.applied_variant is None:
|
|
506
|
+
varname = variant_name
|
|
507
|
+
else:
|
|
508
|
+
varname = f"{self.applied_variant}_{variant_name}"
|
|
509
|
+
|
|
510
|
+
return dataclasses.replace(self, applied_variant=varname, **variant_replacement)
|
|
497
511
|
|
|
498
512
|
@property
|
|
499
513
|
def is_positivity(self):
|
|
@@ -553,7 +567,6 @@ class ObservableMetaData:
|
|
|
553
567
|
all_df = []
|
|
554
568
|
for ufile in self.paths_uncertainties:
|
|
555
569
|
uncyaml = quick_yaml_load(ufile)
|
|
556
|
-
|
|
557
570
|
mindex = pd.MultiIndex.from_tuples(
|
|
558
571
|
[(k, v["treatment"], v["type"]) for k, v in uncyaml["definitions"].items()],
|
|
559
572
|
names=["name", "treatment", "type"],
|
|
@@ -652,10 +665,6 @@ class ObservableMetaData:
|
|
|
652
665
|
if self.ported_from is None:
|
|
653
666
|
return False
|
|
654
667
|
|
|
655
|
-
# If it is using a legacy variant and has a ported_from field, then it is a ported one
|
|
656
|
-
if self.applied_variant is not None and self.applied_variant.startswith("legacy"):
|
|
657
|
-
return True
|
|
658
|
-
|
|
659
668
|
# If not using a legacy variant, we consider it ported if the kin variables are still k1,k2,k3
|
|
660
669
|
return {"k1", "k2", "k3"} == set(self.kinematic_coverage)
|
|
661
670
|
|
|
@@ -745,6 +754,18 @@ class ObservableMetaData:
|
|
|
745
754
|
new_line_by.append(self.digest_plotting_variable(var))
|
|
746
755
|
self.plotting.line_by = new_line_by
|
|
747
756
|
|
|
757
|
+
# And do it also within the normalize dictionary
|
|
758
|
+
if self.plotting.normalize is not None:
|
|
759
|
+
# Copy the normalize dictionary and update the figure and line by
|
|
760
|
+
tmp = dict(self.plotting.normalize)
|
|
761
|
+
tmp["figure_by"] = []
|
|
762
|
+
tmp["line_by"] = []
|
|
763
|
+
for var in self.plotting.normalize.get("figure_by", []):
|
|
764
|
+
tmp["figure_by"].append(self.digest_plotting_variable(var))
|
|
765
|
+
for var in self.plotting.normalize.get("line_by", []):
|
|
766
|
+
tmp["line_by"].append(self.digest_plotting_variable(var))
|
|
767
|
+
self.plotting.normalize = tmp
|
|
768
|
+
|
|
748
769
|
self.plotting.already_digested = True
|
|
749
770
|
return self.plotting
|
|
750
771
|
|
|
@@ -818,22 +839,36 @@ class SetMetaData:
|
|
|
818
839
|
try:
|
|
819
840
|
observable = self.allowed_observables[obs_name]
|
|
820
841
|
except KeyError:
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
842
|
+
std_err = f"The selected observable {obs_name_raw} does not exist in {self.setname}"
|
|
843
|
+
# If the error is due to the usage of an old name, give some extra information
|
|
844
|
+
name = f"{self.setname}_{obs_name_raw}"
|
|
845
|
+
new_name, map_variant = legacy_to_new_map(name, None)
|
|
846
|
+
if new_name == name:
|
|
847
|
+
# It was just a mistake, raise the original error
|
|
848
|
+
raise ValueError(std_err)
|
|
849
|
+
if map_variant is None:
|
|
850
|
+
dinput_str = f"- {{ dataset: {new_name} }}"
|
|
851
|
+
else:
|
|
852
|
+
dinput_str = f"- {{ dataset: {new_name}, variant: {map_variant} }}"
|
|
853
|
+
std_err += f"""
|
|
854
|
+
It might be that you used an older name for the dataset: '{name}'.
|
|
855
|
+
If this is a mistake, please use '{new_name}' instead. E.g.,
|
|
856
|
+
{dinput_str}
|
|
857
|
+
"""
|
|
858
|
+
raise ValueError(std_err)
|
|
824
859
|
|
|
825
860
|
# Now burn the _parent key into the observable and apply checks
|
|
826
861
|
object.__setattr__(observable, "_parent", self)
|
|
827
862
|
return observable
|
|
828
863
|
|
|
829
864
|
|
|
830
|
-
@
|
|
865
|
+
@cache
|
|
831
866
|
def parse_set_metadata(metadata_file):
|
|
832
867
|
"""Read the metadata file"""
|
|
833
868
|
return parse_yaml_inp(metadata_file, SetMetaData)
|
|
834
869
|
|
|
835
870
|
|
|
836
|
-
@
|
|
871
|
+
@cache
|
|
837
872
|
def parse_new_metadata(metadata_file, observable_name, variant=None):
|
|
838
873
|
"""Given a metadata file in the new format and the specific observable to be read
|
|
839
874
|
load and parse the metadata and select the observable. If any variants are selected, apply them.
|
|
@@ -846,7 +881,7 @@ def parse_new_metadata(metadata_file, observable_name, variant=None):
|
|
|
846
881
|
# Select one observable from the entire metadata
|
|
847
882
|
metadata = set_metadata.select_observable(observable_name)
|
|
848
883
|
|
|
849
|
-
# And apply variant if given
|
|
884
|
+
# And apply variant or variants if given
|
|
850
885
|
if variant is not None:
|
|
851
886
|
metadata = metadata.apply_variant(variant)
|
|
852
887
|
|
nnpdf_data/coredata.py
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"""
|
|
2
|
-
|
|
2
|
+
The all-important CommonData object
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
5
|
import dataclasses
|
|
6
6
|
from typing import Optional
|
|
7
7
|
|
|
8
|
+
import numpy as np
|
|
8
9
|
import pandas as pd
|
|
9
10
|
|
|
10
|
-
from .utils import
|
|
11
|
+
from .utils import yaml_safe
|
|
11
12
|
|
|
12
13
|
KIN_NAMES = ["kin1", "kin2", "kin3"]
|
|
13
14
|
|
|
@@ -198,7 +199,7 @@ class CommonData:
|
|
|
198
199
|
def export_data(self, buffer):
|
|
199
200
|
"""Exports the central data defined by this commondata instance to the given buffer"""
|
|
200
201
|
ret = {"data_central": self.central_values.tolist()}
|
|
201
|
-
|
|
202
|
+
yaml_safe.dump(ret, buffer)
|
|
202
203
|
|
|
203
204
|
def export_uncertainties(self, buffer):
|
|
204
205
|
"""Exports the uncertainties defined by this commondata instance to the given buffer"""
|
|
@@ -213,6 +214,7 @@ class CommonData:
|
|
|
213
214
|
k: v for k, v in sorted(definitions.items(), key=lambda item: item[1]["treatment"])
|
|
214
215
|
}
|
|
215
216
|
bins = []
|
|
217
|
+
|
|
216
218
|
for idx, row in self.systematic_errors().iterrows():
|
|
217
219
|
tmp = {"stat": float(self.stat_errors[idx])}
|
|
218
220
|
# Hope things come in the right order...
|
|
@@ -227,7 +229,7 @@ class CommonData:
|
|
|
227
229
|
"type": "UNCORR",
|
|
228
230
|
}
|
|
229
231
|
ret = {"definitions": sorted_definitions, "bins": bins}
|
|
230
|
-
|
|
232
|
+
yaml_safe.dump(ret, buffer)
|
|
231
233
|
|
|
232
234
|
def export(self, folder_path):
|
|
233
235
|
"""Wrapper around export_data and export_uncertainties
|
|
@@ -240,6 +242,8 @@ class CommonData:
|
|
|
240
242
|
data_path = folder_path / data_path.name
|
|
241
243
|
unc_path = folder_path / unc_path.name
|
|
242
244
|
# Export data and uncertainties
|
|
243
|
-
|
|
244
|
-
|
|
245
|
+
with open(data_path, "w", encoding="utf-8") as file:
|
|
246
|
+
self.export_data(file)
|
|
247
|
+
with open(unc_path, "w", encoding="utf-8") as file:
|
|
248
|
+
self.export_uncertainties(file)
|
|
245
249
|
return data_path, unc_path
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
from dataclasses import dataclass
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
from typing import List
|
|
4
|
+
|
|
5
|
+
import numpy as np
|
|
6
|
+
import yaml
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
@dataclass
|
|
10
|
+
class commondata:
|
|
11
|
+
central_values: np.ndarray
|
|
12
|
+
kinematics: np.ndarray
|
|
13
|
+
statistical_uncertainties: np.ndarray
|
|
14
|
+
systematic_uncertainties: np.ndarray
|
|
15
|
+
systypes: List[tuple[str, str]]
|
|
16
|
+
process: str
|
|
17
|
+
dataset_name: str
|
|
18
|
+
kinematic_quantities: List[str]
|
|
19
|
+
|
|
20
|
+
# Procedure to create data_*.yaml, kinematics_*.yaml and uncertainties_*.yaml
|
|
21
|
+
def write_new_commondata(
|
|
22
|
+
self, data_filename: Path, kinematics_filename: Path, uncertainties_filename: Path
|
|
23
|
+
):
|
|
24
|
+
# central data values
|
|
25
|
+
data = {"data_central": self.central_values.tolist()}
|
|
26
|
+
with data_filename.open("w+") as f:
|
|
27
|
+
yaml.dump(data, f, default_flow_style=False, sort_keys=False)
|
|
28
|
+
|
|
29
|
+
# kinematic quantieties
|
|
30
|
+
# TODO add arrays for min and max values to derived type?
|
|
31
|
+
bins = []
|
|
32
|
+
for kin in self.kinematics.tolist():
|
|
33
|
+
bins.append(
|
|
34
|
+
{
|
|
35
|
+
self.kinematic_quantities[0]: {"min": None, "mid": kin[0], "max": None},
|
|
36
|
+
self.kinematic_quantities[1]: {"min": None, "mid": kin[1], "max": None},
|
|
37
|
+
self.kinematic_quantities[2]: {"min": None, "mid": kin[2], "max": None},
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
data = {"bins": bins}
|
|
41
|
+
with kinematics_filename.open("w+") as f:
|
|
42
|
+
yaml.dump(data, f, default_flow_style=False, sort_keys=False)
|
|
43
|
+
|
|
44
|
+
# uncertainties
|
|
45
|
+
# There is only one statistical uncertainty per datapoint.
|
|
46
|
+
definitions = {
|
|
47
|
+
"stat": {
|
|
48
|
+
"description": "Statistical uncertainty.",
|
|
49
|
+
"treatment": "ADD",
|
|
50
|
+
"type": "UNCORR",
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
for isys, sys in enumerate(self.systypes):
|
|
54
|
+
definitions.update(
|
|
55
|
+
{
|
|
56
|
+
f"sys_corr_{isys}": {
|
|
57
|
+
"description": f"Systematic uncertainty {isys}",
|
|
58
|
+
"treatment": sys[0],
|
|
59
|
+
"type": sys[1],
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
)
|
|
63
|
+
bins = {"bins": []}
|
|
64
|
+
for i, _ in enumerate(self.central_values):
|
|
65
|
+
systematics = {"stat": self.statistical_uncertainties.tolist()[i]}
|
|
66
|
+
for isys, sys in enumerate(self.systematic_uncertainties[i].tolist()):
|
|
67
|
+
systematics.update({f"sys_corr_{isys}": sys})
|
|
68
|
+
bins["bins"].append(systematics)
|
|
69
|
+
data = {"definitions": definitions}
|
|
70
|
+
|
|
71
|
+
with uncertainties_filename.open("w+") as f:
|
|
72
|
+
yaml.dump(data, f, sort_keys=False)
|
|
73
|
+
yaml.dump(bins, f, sort_keys=False)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
""""Common functions to parse NMC data from Hepdata."""
|
|
2
|
+
|
|
3
|
+
import pandas as pd
|
|
4
|
+
import yaml
|
|
5
|
+
|
|
6
|
+
from .utils import check_xq2_degenearcy
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def read_tables(store_path, header_line):
|
|
10
|
+
"""Parse Tables."""
|
|
11
|
+
dfs = pd.DataFrame()
|
|
12
|
+
for file in store_path.iterdir():
|
|
13
|
+
with open(file, "r", encoding="utf-8") as f:
|
|
14
|
+
lines = f.readlines()
|
|
15
|
+
df = pd.DataFrame(
|
|
16
|
+
[l.split(",") for l in lines[header_line:-1]],
|
|
17
|
+
columns=["Q2", "R", "F2", "stat+", "stat-", "sys+", "sys-"],
|
|
18
|
+
)
|
|
19
|
+
df["x"] = float(lines[header_line - 2].split(",")[1])
|
|
20
|
+
dfs = pd.concat([dfs, df], ignore_index=True) if not dfs.empty else df
|
|
21
|
+
|
|
22
|
+
dfs = dfs.astype(float)
|
|
23
|
+
check_xq2_degenearcy(dfs.Q2.values, dfs.x.values)
|
|
24
|
+
return dfs.sort_values(["x", "Q2"])
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def write_files(df, store_path):
|
|
28
|
+
"""Write kinematics, central value and uncertainties files."""
|
|
29
|
+
|
|
30
|
+
# Write central data
|
|
31
|
+
data_central_yaml = {"data_central": [float(x) for x in df["F2"]]}
|
|
32
|
+
with open(store_path / "data_EM-F2-HEPDATA.yaml", "w", encoding="utf-8") as file:
|
|
33
|
+
yaml.dump(data_central_yaml, file)
|
|
34
|
+
|
|
35
|
+
# Write kin file
|
|
36
|
+
kin = []
|
|
37
|
+
for _, row in df.iterrows():
|
|
38
|
+
kin_value = {
|
|
39
|
+
"x": {"min": None, "mid": float(row.x), "max": None},
|
|
40
|
+
"Q2": {"min": None, "mid": float(row.Q2), "max": None},
|
|
41
|
+
}
|
|
42
|
+
kin.append(kin_value)
|
|
43
|
+
kinematics_yaml = {"bins": kin}
|
|
44
|
+
with open(store_path / "kinematics_EM-F2-HEPDATA.yaml", "w", encoding="utf-8") as file:
|
|
45
|
+
yaml.dump(kinematics_yaml, file, sort_keys=False)
|
|
46
|
+
|
|
47
|
+
# loop on data points
|
|
48
|
+
error_definition = {
|
|
49
|
+
"stat": {"description": "statistical uncertainty", "treatment": "ADD", "type": "UNCORR"},
|
|
50
|
+
"sys": {"description": "systematical uncertainty", "treatment": "MULT", "type": "CORR"},
|
|
51
|
+
}
|
|
52
|
+
error = []
|
|
53
|
+
for _, row in df.iterrows():
|
|
54
|
+
e = {"stat": float(row["stat+"]), "sys": float(row["sys+"])}
|
|
55
|
+
error.append(e)
|
|
56
|
+
|
|
57
|
+
uncertainties_yaml = {"definitions": error_definition, "bins": error}
|
|
58
|
+
with open(store_path / "uncertainties_EM-F2-HEPDATA.yaml", "w", encoding="utf-8") as file:
|
|
59
|
+
yaml.dump(uncertainties_yaml, file, sort_keys=False)
|
nnpdf_data/filter_utils/utils.py
CHANGED
|
@@ -162,7 +162,7 @@ def covmat_to_artunc(ndata, covmat_list, no_of_norm_mat=0):
|
|
|
162
162
|
elif eigval[j] > 0:
|
|
163
163
|
continue
|
|
164
164
|
if not psd_check:
|
|
165
|
-
raise ValueError(
|
|
165
|
+
raise ValueError("The covariance matrix is not positive-semidefinite")
|
|
166
166
|
else:
|
|
167
167
|
for i in range(ndata):
|
|
168
168
|
for j in range(ndata):
|
|
@@ -244,7 +244,7 @@ def matlist_to_matrix(rows, columns, mat_list):
|
|
|
244
244
|
matrix = np.array(matrix)
|
|
245
245
|
return matrix
|
|
246
246
|
else:
|
|
247
|
-
raise Exception(
|
|
247
|
+
raise Exception("rows * columns != len(mat_list)")
|
|
248
248
|
|
|
249
249
|
|
|
250
250
|
def concat_matrices(rows, columns, list_of_matrices):
|
|
@@ -363,7 +363,7 @@ def trimat_to_fullmat(mode, tri_mat_list):
|
|
|
363
363
|
matrix[i][j] = tri_mat_list[list_el]
|
|
364
364
|
matrix[j][i] = tri_mat_list[list_el]
|
|
365
365
|
else:
|
|
366
|
-
raise Exception(
|
|
366
|
+
raise Exception("Mode should be 0 or 1, refer to the function for usage")
|
|
367
367
|
mat_list = []
|
|
368
368
|
for i in range(dim):
|
|
369
369
|
for j in range(dim):
|
|
@@ -422,10 +422,22 @@ def prettify_float(dumper, value):
|
|
|
422
422
|
ret = dumper.represent_float(value)
|
|
423
423
|
if len(ret.value) > 8:
|
|
424
424
|
ret_str = f"{value:.8e}"
|
|
425
|
-
ret = dumper.represent_scalar(
|
|
425
|
+
ret = dumper.represent_scalar("tag:yaml.org,2002:float", ret_str)
|
|
426
426
|
return ret
|
|
427
427
|
|
|
428
428
|
|
|
429
|
+
def check_xq2_degenearcy(Q2, x):
|
|
430
|
+
"""Check is the pair of (x,Q2) is unique."""
|
|
431
|
+
size = len(x)
|
|
432
|
+
unique_pairs = np.unique(np.array([Q2, x]), axis=1)
|
|
433
|
+
try:
|
|
434
|
+
assert unique_pairs.shape[1] == size
|
|
435
|
+
except AssertionError as exc:
|
|
436
|
+
raise ValueError(
|
|
437
|
+
f"""(x,Q2) kinematic is degenerate need to store 3rd kinematic variable as well.
|
|
438
|
+
unique kinematics are: {unique_pairs.shape[1]}, original size: {size}"""
|
|
439
|
+
) from exc
|
|
440
|
+
|
|
429
441
|
def uncert_skip_variant(source_file, skip_file, uncert_file, uncert_name, remove_source=True):
|
|
430
442
|
r"""
|
|
431
443
|
Create two new uncertainty files, one where the specified uncertainty
|