hepi.results
Results and postprocessing for the hepi package.
Module Contents
Classes
General result class. |
Functions
|
Computes Parton Density Function (PDF) uncertainties through |
|
Computes seven-point scale uncertainties from the results where the renormalization and factorization scales are varied by factors of 2 and relative factors of four are excluded (cf. |
|
Combines seven-point scale uncertainties and pdf uncertainties from the results by Pythagorean addition. |
Attributes
If the numerical uncertainty is |
- hepi.results.required_numerical_uncertainty_factor = 10[source]
If the numerical uncertainty is
required_numerical_uncertainty_factortimes higher than the scale or pdf uncertainty a warning is shown.
- class hepi.results.Result(lo=None, nlo=None, nlo_plus_nll=None, annlo_plus_nnll=None)[source]
Bases:
hepi.util.DictDataGeneral result class.
- Variables
LO (
double) – Leading Order result. Defaults to None.NLO (
double) – Next-to-Leading Order result. Defaults to None.NLO_PLUS_NLL (
double) – Next-to-Leading Order plus Next-to-Leading Logarithm result. Defaults to None.K_LO (
double) – LO divided by LO.K_NLO (
double) – NLO divided by LO result.K_NLO_PLUS_NLL (
double) – NLO+NLL divided by LO.K_aNNLO_PLUS_NNLL (
double) – aNNLO+NNLL divided by LO.NLO_PLUS_NLL_OVER_NLO (
double) – NLO+NLL divided by NLO.aNNLO_PLUS_NNLL_OVER_NLO (
double) – aNNLO+NNLL divided by NLO.
Sets given and computes dependent
Attributes.- Parameters
lo (
double) – corresponds toLO.nlo (
double) – corresponds toNLO.nlo_plus_nll (
double) – corresponds toNLO_PLUS_NLL.annlo_plus_nnll (
double) – corresponds toaNNLO_PLUS_NNLL.
- hepi.results.pdf_error(li, dl, confidence_level=90)[source]
Computes Parton Density Function (PDF) uncertainties through
lhapdf.set.uncertainty().- Parameters
li (
listofInput) – Input list.dl (
dict) –Resultdictionary with lists per entry.confidence_level (
double) – Confidence Level for PDF uncertainty
- Returns
- Modified dl with new LO/NLO/NLO_PLUS_NLL _ PDF/PDF_CENTRAL/PDF_ERRPLUS/PDF_ERRMINUS/PDF_ERRSYM entries.
LO/NLO/NLO_PLUS_NLL _ PDF contains a symmetrized
uncertaintiesobject.
- Return type
dict
- hepi.results.scale_error(li, dl)[source]
Computes seven-point scale uncertainties from the results where the renormalization and factorization scales are varied by factors of 2 and relative factors of four are excluded (cf.
seven_point_scan()).- Parameters
li (
listofInput) – Input list.dl (
dict) –Resultdictionary with lists per entry.
- Returns
- Modified dl with new LO/NLO/NLO_PLUS_NLL _ SCALE/SCALE_ERRPLUS/SCALE_ERRMINUS/SCALE_ERRSYM entries.
LO/NLO/NLO_PLUS_NLL _ SCALE contains a symmetrized
uncertaintiesobject.
- Return type
dict
- hepi.results.combine_errors(dl: dict)[source]
Combines seven-point scale uncertainties and pdf uncertainties from the results by Pythagorean addition.
Note
Running
scale_errors()andpdf_errors()before is necessary.- Parameters
dl (
dict) –Resultdictionary with lists per entry.- Returns
- Modified dl with new LO/NLO/NLO_PLUS_NLL _ COMBINED/ERRPLUS/ERRMINUS entries.
LO/NLO/NLO_PLUS_NLL _ COMBINED contains a symmetrized
uncertaintiesobject.
- Return type
dict