Skip to content

Commit

Permalink
Merge pull request #1200 from NNPDF/comparefitspergroup
Browse files Browse the repository at this point in the history
Add per process chi² estimators
  • Loading branch information
wilsonmr authored May 28, 2021
2 parents 0bbb8cf + 3e5feba commit d189219
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ requirements:
- apfel
- pkg-config
- python # requirements for validphys
- reportengine >=0.28.60 # see https://github.com/NNPDF/reportengine
- reportengine >=0.30.13 # see https://github.com/NNPDF/reportengine
- matplotlib >=3.3.0
- blessings >=1.7
- scipy >=0.19.1
Expand Down
7 changes: 7 additions & 0 deletions validphys2/src/validphys/comparefittemplates/comparecard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,12 @@ Normalize:
Datanorm:
normalize_to: data

DataGroups:
- metadata_group: nnpdf31_process
- metadata_group: experiment

ProcessGroup:
metadata_group: nnpdf31_process

actions_:
- report(main=true)
8 changes: 7 additions & 1 deletion validphys2/src/validphys/comparefittemplates/report.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,26 @@ Training-validation
-------------------
{@fits plot_training_validation@}

{@with DataGroups@}
$\chi^2$ by {@processed_metadata_group@}
----------------------------------------
{@plot_fits_groups_data_chi2@}
{@endwith@}


$\chi^2$ by dataset
-------------------
### Plot
{@plot_fits_datasets_chi2@}
### Table
{@fits_chi2_table(show_total=true)@}
{@ProcessGroup fits_chi2_table(show_total=true)@}


{@with DataGroups@}
$\phi$ by {@processed_metadata_group@}
--------------------------------------
{@plot_fits_groups_data_phi@}
{@endwith@}

Dataset plots
-------------
Expand Down

0 comments on commit d189219

Please sign in to comment.