-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
af4a08f
commit 0b1e1e4
Showing
12 changed files
with
599 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
validphys2/src/validphys/compareinconsistentclosuretemplates/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import pathlib | ||
|
||
template_path = pathlib.Path(__file__).with_name('multiclosure_analysis.yaml') |
121 changes: 121 additions & 0 deletions
121
...phys2/src/validphys/compareinconsistentclosuretemplates/comparefits_template.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
%NNPDF report comparing {@ current fit_id @} and {@ reference fit_id @} | ||
|
||
Summary | ||
------- | ||
|
||
We are comparing: | ||
|
||
- {@ current fit @} (`{@ current fit_id @}`): {@ current description @} | ||
- {@ reference fit @} (`{@ reference fit_id @}`): {@ reference description @} | ||
|
||
|
||
{@ summarise_fits @} | ||
|
||
|
||
t0 losses | ||
--------- | ||
{@ dataspecs::t0_info t0_chi2_info_table @} | ||
|
||
Theory covariance summary | ||
------------------------- | ||
{@summarise_theory_covmat_fits@} | ||
|
||
Dataset properties | ||
------------------ | ||
{@current fit_datasets_properties_table@} | ||
|
||
Distances | ||
--------- | ||
{@with Scales@} | ||
### {@Scaletitle@} | ||
{@with Normalize::Basespecs::PDFscalespecs::Distspecs@} | ||
#### {@Basistitle@}, {@Xscaletitle@} | ||
{@plot_pdfdistances@} | ||
{@plot_pdfvardistances@} | ||
{@endwith@} | ||
{@endwith@} | ||
|
||
PDF arc-lengths | ||
--------------- | ||
{@Basespecs plot_arc_lengths@} | ||
|
||
Sum rules | ||
--------- | ||
{@with pdfs@} | ||
### {@pdf@} | ||
|
||
#### Known sum rules | ||
|
||
{@sum_rules_table@} | ||
|
||
#### Unknown sum rules | ||
|
||
{@unknown_sum_rules_table@} | ||
|
||
{@endwith@} | ||
|
||
PDF plots | ||
--------- | ||
{@with Scales@} | ||
[Plots at {@Scaletitle@}]({@pdf_report report@}) | ||
{@endwith@} | ||
|
||
Luminosities | ||
------------ | ||
{@with Energies@} | ||
[Plots at {@Energytitle@}]({@lumi_report report@}) | ||
{@endwith@} | ||
|
||
Effective exponents | ||
------------------- | ||
[Detailed information]({@exponents_report report@}) | ||
|
||
Training lengths | ||
---------------- | ||
{@fits plot_training_length@} | ||
|
||
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 | ||
{@ProcessGroup fits_chi2_table(show_total=true)@} | ||
|
||
|
||
{@with DataGroups@} | ||
$\phi$ by {@processed_metadata_group@} | ||
-------------------------------------- | ||
{@plot_fits_groups_data_phi@} | ||
{@endwith@} | ||
|
||
Dataset plots | ||
------------- | ||
{@with matched_datasets_from_dataspecs@} | ||
[Plots for {@dataset_name@}]({@dataset_report report@}) | ||
{@endwith@} | ||
|
||
Positivity | ||
---------- | ||
{@with matched_positivity_from_dataspecs@} | ||
{@plot_dataspecs_positivity@} | ||
{@endwith@} | ||
|
||
Dataset differences and cuts | ||
---------------------------- | ||
{@print_dataset_differences@} | ||
{@print_different_cuts@} | ||
|
||
Code versions | ||
------------- | ||
{@fits_version_table@} |
5 changes: 5 additions & 0 deletions
5
validphys2/src/validphys/compareinconsistentclosuretemplates/data.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
% Data-theory comparison for {@dataset_name@} | ||
# Absolute | ||
{@plot_fancy_dataspecs@} | ||
# Normalized | ||
{@Datanorm plot_fancy_dataspecs@} |
15 changes: 15 additions & 0 deletions
15
validphys2/src/validphys/compareinconsistentclosuretemplates/exponents.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
%NNPDF report comparing {@ current fit @} and {@ reference fit @} | ||
|
||
# Effective preprocessing information | ||
|
||
## Plots | ||
### alpha exponent | ||
{@current::basisfromfit plot_alpha_eff@} | ||
### beta exponent | ||
{@current::basisfromfit plot_beta_eff@} | ||
|
||
## Tables | ||
{@with fits@} | ||
### Next effective exponents for {@fit@} | ||
{@effective_exponents_table@} | ||
{@endwith@} |
9 changes: 9 additions & 0 deletions
9
validphys2/src/validphys/compareinconsistentclosuretemplates/lumi.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
%NNPDF report comparing {@ current fit @} and {@ reference fit @} | ||
|
||
# Luminosity plots | ||
|
||
{@with Normalize@} | ||
{@with lumi_channels@} | ||
{@plot_lumi1d@} | ||
{@endwith@} | ||
{@endwith@} |
Oops, something went wrong.