![]() |
Belle II Software release-09-00-03
|
Public Member Functions | |
| def | __init__ (self, quantity_name, bin_spacing, bin_name, bin_unit=None, unit=None, outlier_z_score=None, contact='', plot_name=None, plot_title=None, min_required_entries=None, plot_name_prefix='', plot_name_postfix='', plot_title_postfix='', referenceFileName=None) |
| def | analyse (self, bin_values, truths, estimates, which_plots=None, is_expert=None) |
| def | contact (self) |
| def | contact (self, contact) |
| def | write (self, tDirectory=None) |
Public Attributes | |
| quantity_name | |
| cached name of the quantity in the truth-classification analysis | |
| unit | |
| cached measurement unit for this truth-classification analysis | |
| bin_spacing | |
| cached value of the histogram bin spacing | |
| bin_name | |
| cached value of the bin name | |
| bin_unit | |
| cached value of the bin measurement unit | |
| outlier_z_score | |
| cached value of the Z-score (for outlier detection) | |
| min_required_entries | |
| cached value of the minimum number of entries | |
| plot_name | |
| cached value of the base name of the plot | |
| plot_title | |
| cached value of the plot title | |
| plot_name_prefix | |
| cached value of the prefix prepended to the plot name | |
| plot_name_postfix | |
| cached value of the suffix appended to the plot name | |
| plot_title_postfix | |
| cached value of the suffix appended to the plot title | |
| plots | |
| cached value of the dictionary of plots to be created | |
| referenceFileName | |
| cached value of the reference filename | |
| contact | |
| Forward the contact to all plots by reassigning the contact. | |
Static Public Attributes | |
| float | default_outlier_z_score = 5.0 |
| default Z-score (for outlier detection) | |
| int | default_min_required_entries = 50 |
| default minimum number of entries | |
| str | default_plot_name = "{plot_name_prefix}_{subplot_name}{plot_name_postfix}" |
| default plot name | |
| str | default_plot_title = "{subplot_title} of {quantity_name}{plot_title_postfix}" |
| default plot title | |
| list | default_which_plots |
| default list of plots to create | |
| bool | default_is_expert = True |
| by default, create expert plots | |
Protected Attributes | |
| _contact | |
| cached value of the contact person | |
Perform resolution analysis
Definition at line 25 of file resolution.py.
| def __init__ | ( | self, | |
| quantity_name, | |||
| bin_spacing, | |||
| bin_name, | |||
bin_unit = None, |
|||
unit = None, |
|||
outlier_z_score = None, |
|||
contact = '', |
|||
plot_name = None, |
|||
plot_title = None, |
|||
min_required_entries = None, |
|||
plot_name_prefix = '', |
|||
plot_name_postfix = '', |
|||
plot_title_postfix = '', |
|||
referenceFileName = None |
|||
| ) |
Performs a comparison of an estimated quantity to their truths by generating standardized validation plots.
Definition at line 44 of file resolution.py.
| def analyse | ( | self, | |
| bin_values, | |||
| truths, | |||
| estimates, | |||
which_plots = None, |
|||
is_expert = None |
|||
| ) |
Compares the concrete estimate to the truth and generates plots of the resolution
Parameters
----------
bin_values : array_like(float
The parametr used for binning
truths : array_like(float)
Sample of the true values
estimates : array_like(float)
Corresponding estimations
Definition at line 105 of file resolution.py.
| def contact | ( | self | ) |
Get the contact person's name
Definition at line 241 of file resolution.py.
| def contact | ( | self, | |
| contact | |||
| ) |
Set the contact person's name
Definition at line 246 of file resolution.py.
| def write | ( | self, | |
tDirectory = None |
|||
| ) |
Write all validation plot to the given Root directory
Definition at line 252 of file resolution.py.
|
protected |
cached value of the contact person
Definition at line 98 of file resolution.py.
| bin_name |
cached value of the bin name
Definition at line 70 of file resolution.py.
| bin_spacing |
cached value of the histogram bin spacing
Definition at line 68 of file resolution.py.
| bin_unit |
cached value of the bin measurement unit
Definition at line 72 of file resolution.py.
| contact |
Forward the contact to all plots by reassigning the contact.
Definition at line 238 of file resolution.py.
|
static |
by default, create expert plots
Definition at line 42 of file resolution.py.
|
static |
default minimum number of entries
Definition at line 31 of file resolution.py.
|
static |
default Z-score (for outlier detection)
Definition at line 29 of file resolution.py.
|
static |
default plot name
Definition at line 33 of file resolution.py.
|
static |
default plot title
Definition at line 35 of file resolution.py.
|
static |
default list of plots to create
Definition at line 37 of file resolution.py.
| min_required_entries |
cached value of the minimum number of entries
Definition at line 81 of file resolution.py.
| outlier_z_score |
cached value of the Z-score (for outlier detection)
Definition at line 76 of file resolution.py.
| plot_name |
cached value of the base name of the plot
Definition at line 86 of file resolution.py.
| plot_name_postfix |
cached value of the suffix appended to the plot name
Definition at line 93 of file resolution.py.
| plot_name_prefix |
cached value of the prefix prepended to the plot name
Definition at line 91 of file resolution.py.
| plot_title |
cached value of the plot title
Definition at line 88 of file resolution.py.
| plot_title_postfix |
cached value of the suffix appended to the plot title
Definition at line 95 of file resolution.py.
| plots |
cached value of the dictionary of plots to be created
Definition at line 100 of file resolution.py.
| quantity_name |
cached name of the quantity in the truth-classification analysis
Definition at line 64 of file resolution.py.
| referenceFileName |
cached value of the reference filename
Definition at line 103 of file resolution.py.
| unit |
cached measurement unit for this truth-classification analysis
Definition at line 66 of file resolution.py.