nnpdf-data 0.0.1__py3-none-any.whl → 0.0.2__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 -66
- nnpdf_data/_version.py +1 -1
- 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 +28 -27
- nnpdf_data/commondata/ATLAS_PH_13TEV/uncertainties_XSEC.yaml +5246 -0
- nnpdf_data/commondata/ATLAS_SINGLETOP_13TEV/data_TCHANNEL-XSEC.yaml +2 -0
- nnpdf_data/commondata/ATLAS_SINGLETOP_13TEV/kinematics_TCHANNEL-XSEC.yaml +2 -10
- nnpdf_data/commondata/ATLAS_SINGLETOP_13TEV/metadata.yaml +14 -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/data_TCHANNEL-XSEC.yaml +2 -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 +70 -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 +69 -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/ATLAS_SINGLETOP_8TEV/uncertainties_TCHANNEL-XSEC.yaml +12 -0
- 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 +120 -2
- 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_WCHARM_7TEV/data_WM-YL.yaml +12 -0
- nnpdf_data/commondata/ATLAS_WCHARM_7TEV/data_WP-YL.yaml +12 -0
- 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 +52 -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_WCHARM_7TEV/uncertainties_legacy_WM-YL_sys_10.yaml +1772 -0
- nnpdf_data/commondata/ATLAS_WCHARM_7TEV/uncertainties_legacy_WP-YL_sys_10.yaml +1772 -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 +77 -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_WJ_8TEV/uncertainties_legacy_WM-PT_sys_ATLAS.yaml +2502 -0
- nnpdf_data/commondata/ATLAS_WJ_8TEV/uncertainties_legacy_WM-PT_sys_NP.yaml +2502 -0
- nnpdf_data/commondata/ATLAS_WJ_8TEV/uncertainties_legacy_WP-PT_sys_ATLAS.yaml +2502 -0
- nnpdf_data/commondata/ATLAS_WJ_8TEV/uncertainties_legacy_WP-PT_sys_NP.yaml +2502 -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 +22 -25
- nnpdf_data/commondata/ATLAS_WPWM_13TEV/uncertainties.yaml +32 -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 +25 -24
- nnpdf_data/commondata/ATLAS_WPWM_7TEV_46FB/uncertainties.yaml +3486 -0
- 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 +18 -22
- nnpdf_data/commondata/ATLAS_Z0_13TEV/uncertainties.yaml +27 -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 +18 -27
- nnpdf_data/commondata/ATLAS_Z0_7TEV_49FB/uncertainties.yaml +206 -0
- 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 +79 -24
- 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 +85 -24
- 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/data_ZRAP.yaml +29 -0
- nnpdf_data/commondata/CDF_Z0_1P96TEV/kinematics_ZRAP.yaml +174 -174
- nnpdf_data/commondata/CDF_Z0_1P96TEV/metadata.yaml +28 -28
- nnpdf_data/commondata/CDF_Z0_1P96TEV/uncertainties_ZRAP.yaml +386 -0
- nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/data_nb.yaml +608 -0
- nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/data_nu.yaml +608 -0
- nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/kinematics.yaml +7285 -0
- nnpdf_data/commondata/CHORUS_CC_NOTFIXED_PB/metadata.yaml +57 -51
- 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_SINGLETOP_13TEV/data_TCHANNEL-XSEC.yaml +2 -0
- nnpdf_data/commondata/CMS_SINGLETOP_13TEV/kinematics_TCHANNEL-XSEC.yaml +2 -10
- nnpdf_data/commondata/CMS_SINGLETOP_13TEV/metadata.yaml +12 -22
- nnpdf_data/commondata/CMS_SINGLETOP_13TEV/uncertainties_TCHANNEL-XSEC.yaml +12 -0
- nnpdf_data/commondata/CMS_SINGLETOP_7TEV/data_TCHANNEL-XSEC.yaml +2 -0
- nnpdf_data/commondata/CMS_SINGLETOP_7TEV/kinematics_TCHANNEL-XSEC.yaml +2 -10
- nnpdf_data/commondata/CMS_SINGLETOP_7TEV/metadata.yaml +12 -22
- nnpdf_data/commondata/CMS_SINGLETOP_7TEV/uncertainties_TCHANNEL-XSEC.yaml +22 -0
- nnpdf_data/commondata/CMS_SINGLETOP_8TEV/data_TCHANNEL-XSEC.yaml +2 -0
- nnpdf_data/commondata/CMS_SINGLETOP_8TEV/kinematics_TCHANNEL-XSEC.yaml +2 -10
- nnpdf_data/commondata/CMS_SINGLETOP_8TEV/metadata.yaml +15 -25
- nnpdf_data/commondata/CMS_SINGLETOP_8TEV/uncertainties_TCHANNEL-XSEC.yaml +12 -0
- nnpdf_data/commondata/CMS_WPWM_7TEV_ELECTRON/kinematics.yaml +11 -11
- nnpdf_data/commondata/CMS_WPWM_7TEV_ELECTRON/metadata.yaml +6 -6
- nnpdf_data/commondata/CMS_WPWM_7TEV_MUON/kinematics.yaml +11 -11
- nnpdf_data/commondata/CMS_WPWM_7TEV_MUON/metadata.yaml +7 -7
- nnpdf_data/commondata/CMS_WPWM_8TEV_MUON/kinematics.yaml +22 -22
- nnpdf_data/commondata/CMS_WPWM_8TEV_MUON/metadata.yaml +5 -5
- 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 +44 -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 +5 -5
- 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 +27 -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 +52 -51
- nnpdf_data/commondata/D0_Z0_1P96TEV/uncertainties_ZRAP.yaml +66 -0
- nnpdf_data/commondata/EMC_NC_250GEV/data_rzero.yaml +22 -0
- nnpdf_data/commondata/EMC_NC_250GEV/kinematics.yaml +253 -0
- nnpdf_data/commondata/EMC_NC_250GEV/metadata.yaml +30 -26
- nnpdf_data/commondata/EMC_NC_250GEV/uncertainties_rzero.yaml +77 -0
- 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 +42 -41
- 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 -21
- 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 -21
- 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 -21
- 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 -41
- 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 -41
- 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/NMC_NC_NOTFIXED/data.yaml +261 -0
- nnpdf_data/commondata/NMC_NC_NOTFIXED/kinematics.yaml +3121 -0
- nnpdf_data/commondata/NMC_NC_NOTFIXED/metadata.yaml +30 -27
- 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 +60 -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 +876 -876
- nnpdf_data/commondata/NMC_NC_NOTFIXED_P/metadata.yaml +67 -22
- nnpdf_data/commondata/NMC_NC_NOTFIXED_P/uncertainties_EM-F2-HEPDATA.yaml +326 -0
- nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/data_NB.yaml +46 -0
- nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/data_NU.yaml +46 -0
- nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/kinematics_NB.yaml +541 -0
- nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/kinematics_NU.yaml +541 -0
- nnpdf_data/commondata/NUTEV_CC_NOTFIXED_FE/metadata.yaml +53 -46
- 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/SLAC_NC_NOTFIXED_D/kinematics_EM-F2.yaml +633 -633
- nnpdf_data/commondata/SLAC_NC_NOTFIXED_D/metadata.yaml +20 -19
- nnpdf_data/commondata/SLAC_NC_NOTFIXED_P/kinematics_EM-F2.yaml +633 -633
- nnpdf_data/commondata/SLAC_NC_NOTFIXED_P/metadata.yaml +20 -19
- nnpdf_data/commondata/update_all.py +35 -0
- nnpdf_data/commondataparser.py +30 -21
- nnpdf_data/coredata.py +1 -0
- nnpdf_data/filter_utils/hera_utils.py +105 -0
- nnpdf_data/filter_utils/nmc_hepdata_utils.py +59 -0
- nnpdf_data/filter_utils/utils.py +16 -4
- nnpdf_data/process_options.py +93 -7
- 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 +6 -8
- nnpdf_data/validphys_compatibility.py +77 -0
- {nnpdf_data-0.0.1.dist-info → nnpdf_data-0.0.2.dist-info}/METADATA +4 -5
- {nnpdf_data-0.0.1.dist-info → nnpdf_data-0.0.2.dist-info}/RECORD +311 -100
- {nnpdf_data-0.0.1.dist-info → nnpdf_data-0.0.2.dist-info}/WHEEL +1 -1
- /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/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/__init__.py
CHANGED
|
@@ -1,77 +1,22 @@
|
|
|
1
|
-
from functools import lru_cache
|
|
2
1
|
import pathlib
|
|
3
2
|
|
|
4
|
-
import ruamel.yaml as yaml
|
|
5
|
-
|
|
6
3
|
from ._version import __version__
|
|
4
|
+
from .commondataparser import parse_new_metadata
|
|
5
|
+
from .validphys_compatibility import legacy_to_new_map, legacy_to_new_mapping, new_to_legacy_map
|
|
7
6
|
|
|
8
7
|
path_vpdata = pathlib.Path(__file__).parent
|
|
9
8
|
path_commondata = path_vpdata / "commondata"
|
|
10
|
-
|
|
11
|
-
# VP should not have access to this file, only to the products
|
|
12
|
-
_path_legacy_mapping = path_commondata / "dataset_names.yml"
|
|
13
9
|
theory_cards = path_vpdata / "theory_cards"
|
|
14
10
|
|
|
15
|
-
_legacy_to_new_mapping_raw = yaml.YAML().load(_path_legacy_mapping)
|
|
16
|
-
# Convert strings into a dictionary
|
|
17
|
-
legacy_to_new_mapping = {
|
|
18
|
-
k: ({"dataset": v} if isinstance(v, str) else v) for k, v in _legacy_to_new_mapping_raw.items()
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
@lru_cache
|
|
23
|
-
def legacy_to_new_map(dataset_name, sys=None):
|
|
24
|
-
"""Find the new dataset name and variant corresponding to an old dataset
|
|
25
|
-
and systematics choice"""
|
|
26
|
-
if dataset_name not in legacy_to_new_mapping:
|
|
27
|
-
return dataset_name, None
|
|
28
|
-
|
|
29
|
-
new_name = legacy_to_new_mapping[dataset_name]
|
|
30
|
-
variant = new_name.get("variant")
|
|
31
|
-
new_name = new_name["dataset"]
|
|
32
|
-
if sys is not None:
|
|
33
|
-
if variant is None:
|
|
34
|
-
raise KeyError(
|
|
35
|
-
f"I cannot translate the combination of {dataset_name} and sys: {sys}. Please report this."
|
|
36
|
-
)
|
|
37
|
-
variant += f"_{sys}"
|
|
38
|
-
|
|
39
|
-
return new_name, variant
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
@lru_cache
|
|
43
|
-
def new_to_legacy_map(dataset_name, variant_used):
|
|
44
|
-
"""Loop over the dictionary and find the right dataset.
|
|
45
|
-
|
|
46
|
-
Since it is posible to have more than 1 dataset mapped to the same new one,
|
|
47
|
-
returns a list of everything that matches.
|
|
48
|
-
|
|
49
|
-
This function will loop over the entire dictionary of mappings and selects
|
|
50
|
-
1. All datasets that match exactly what's in the runcard (dataset & variant): exact_matches
|
|
51
|
-
2. All datasets that match the dataset name: matches
|
|
52
|
-
If there are any `exact_matches`, it will return only those; otherwise, return all `matches`
|
|
53
|
-
if there are no `matches` at all, return None
|
|
54
|
-
"""
|
|
55
|
-
|
|
56
|
-
matches = []
|
|
57
|
-
exact_matches = []
|
|
58
|
-
|
|
59
|
-
for old_name, new_info in legacy_to_new_mapping.items():
|
|
60
|
-
new_name = new_info["dataset"]
|
|
61
|
-
variant = new_info.get("variant")
|
|
62
11
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
# if it's a nuclear DIS data promote legacy to be legacy_dw
|
|
66
|
-
if "_DW_" in old_name and variant_used == "legacy":
|
|
67
|
-
variant = "legacy_dw"
|
|
12
|
+
def load_dataset_metadata(dataset_name, variant=None):
|
|
13
|
+
"""Given a dataset name, return the metadata"""
|
|
68
14
|
|
|
69
|
-
|
|
70
|
-
|
|
15
|
+
# Compatibility with old nnpdf names, these two lines
|
|
16
|
+
# might disappear at any given point
|
|
17
|
+
if variant is None:
|
|
18
|
+
dataset_name, variant = legacy_to_new_map(dataset_name)
|
|
71
19
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
elif matches:
|
|
76
|
-
return matches
|
|
77
|
-
return None
|
|
20
|
+
setname, observable = dataset_name.rsplit("_", 1)
|
|
21
|
+
metadata_file = path_commondata / setname / "metadata.yaml"
|
|
22
|
+
return parse_new_metadata(metadata_file, observable, variant=variant)
|
nnpdf_data/_version.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "
|
|
1
|
+
__version__ = "0.0.2"
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
data_central:
|
|
2
|
+
- 2.27318124e+03
|
|
3
|
+
- 1.03060167e+03
|
|
4
|
+
- 5.24219324e+02
|
|
5
|
+
- 2.25822169e+02
|
|
6
|
+
- 8.29410172e+01
|
|
7
|
+
- 3.57822709e+01
|
|
8
|
+
- 1.73424301e+01
|
|
9
|
+
- 8.04542755e+00
|
|
10
|
+
- 3.50689599e+00
|
|
11
|
+
- 1.32750771e+00
|
|
12
|
+
- 5.56675144e-01
|
|
13
|
+
- 2.28021665e-01
|
|
14
|
+
- 9.32813638e-02
|
|
15
|
+
- 8.67157892e-03
|
|
16
|
+
- 2.94648248e+03
|
|
17
|
+
- 1.32864930e+03
|
|
18
|
+
- 6.68062916e+02
|
|
19
|
+
- 2.86003888e+02
|
|
20
|
+
- 1.04956664e+02
|
|
21
|
+
- 4.51198391e+01
|
|
22
|
+
- 2.10088737e+01
|
|
23
|
+
- 9.54611717e+00
|
|
24
|
+
- 3.99013790e+00
|
|
25
|
+
- 1.65668252e+00
|
|
26
|
+
- 6.20319632e-01
|
|
27
|
+
- 2.47423859e-01
|
|
28
|
+
- 5.67952872e-02
|
|
29
|
+
- 7.17810179e-03
|
|
30
|
+
- 9.49375836e+02
|
|
31
|
+
- 4.19455621e+02
|
|
32
|
+
- 2.10686495e+02
|
|
33
|
+
- 9.11711137e+01
|
|
34
|
+
- 3.34379831e+01
|
|
35
|
+
- 1.38974395e+01
|
|
36
|
+
- 6.04588889e+00
|
|
37
|
+
- 2.96851604e+00
|
|
38
|
+
- 1.11503225e+00
|
|
39
|
+
- 3.45174302e-01
|
|
40
|
+
- 1.10401308e-01
|
|
41
|
+
- 2.98410628e-02
|
|
42
|
+
- 5.67142263e-03
|
|
43
|
+
- 1.83047254e+03
|
|
44
|
+
- 8.03284980e+02
|
|
45
|
+
- 3.97683191e+02
|
|
46
|
+
- 1.65270669e+02
|
|
47
|
+
- 5.45840343e+01
|
|
48
|
+
- 2.13516042e+01
|
|
49
|
+
- 8.88513350e+00
|
|
50
|
+
- 3.23701124e+00
|
|
51
|
+
- 1.13758491e+00
|
|
52
|
+
- 3.13408636e-01
|
|
53
|
+
- 1.15459018e-01
|
|
54
|
+
- 2.17765422e-02
|