![]() |
Belle II Software development
|
Public Member Functions | |
| __init__ (self, name=None, title=None, contact=None, description=None, check=None, lower_bound=None, upper_bound=None, bins=None, outlier_z_score=None, allow_discrete=False, stackby="", fit=None, fit_z_score=None) | |
| refine (self, harvesting_module, crops, tdirectory=None, groupby_part_name=None, groupby_value=None, **kwds) | |
| __get__ (self, harvesting_module, cls=None) | |
| __call__ (self, harvesting_module, crops=None, *args, **kwds) | |
Public Attributes | |
| name = name | |
| cached user-defined name for this histogram | |
| title = title | |
| cached user-defined title for this histogram | |
| description = description | |
| cached user-defined description for this histogram | |
| check = check | |
| cached user-defined user-check action for this histogram | |
| contact = contact | |
| cached user-defined contact person for this histogram | |
| lower_bound = lower_bound | |
| cached lower bound for this histogram | |
| upper_bound = upper_bound | |
| cached upper bound for this histogram | |
| bins = bins | |
| cached number of bins for this histogram | |
| outlier_z_score = outlier_z_score | |
| cached Z-score (for outlier detection) for this histogram | |
| allow_discrete = allow_discrete | |
| cached flag to allow discrete values for this histogram | |
| stackby = stackby | |
| cached stacking selection for this histogram | |
| fit = fit | |
| cached fit for this histogram | |
| fit_z_score = fit_z_score | |
| cached fit Z-score (for outlier detection) for this histogram | |
| refiner_function = refiner_function | |
| cached copy of the instance's refiner function | |
Static Public Attributes | |
| str | default_name = "{module.id}_{part_name}_histogram{groupby_key}{stackby_key}" |
| default name for this histogram | |
| str | default_title = "Histogram of {part_name}{groupby_key}{stackby_key} from {module.title}" |
| default title for this histogram | |
| str | default_contact = "{module.contact}" |
| default contact person for this histogram | |
| str | default_description = "This is a histogram of {part_name}{groupby_key}{stackby_key}." |
| default description for this histogram | |
| str | default_check = "Check if the distribution is reasonable" |
| default user-check action for this histogram | |
Refiner for histograms
Definition at line 180 of file refiners.py.
| __init__ | ( | self, | |
| name = None, | |||
| title = None, | |||
| contact = None, | |||
| description = None, | |||
| check = None, | |||
| lower_bound = None, | |||
| upper_bound = None, | |||
| bins = None, | |||
| outlier_z_score = None, | |||
| allow_discrete = False, | |||
| stackby = "", | |||
| fit = None, | |||
| fit_z_score = None ) |
Constructor for this refiner
Definition at line 193 of file refiners.py.
|
inherited |
implementation of the function-call of the Refiner instance
r = Refiner()
r(harvester) # decoration
r(harvester, crops, args, keywords) # refinement
Definition at line 55 of file refiners.py.
|
inherited |
Getter of the Refiner instance
Definition at line 42 of file refiners.py.
| refine | ( | self, | |
| harvesting_module, | |||
| crops, | |||
| tdirectory = None, | |||
| groupby_part_name = None, | |||
| groupby_value = None, | |||
| ** | kwds ) |
Process the histogram
Reimplemented from Refiner.
Definition at line 242 of file refiners.py.
| allow_discrete = allow_discrete |
cached flag to allow discrete values for this histogram
Definition at line 233 of file refiners.py.
| bins = bins |
cached number of bins for this histogram
Definition at line 228 of file refiners.py.
| check = check |
cached user-defined user-check action for this histogram
Definition at line 219 of file refiners.py.
| contact = contact |
cached user-defined contact person for this histogram
Definition at line 221 of file refiners.py.
|
static |
default user-check action for this histogram
Definition at line 191 of file refiners.py.
|
static |
default contact person for this histogram
Definition at line 187 of file refiners.py.
|
static |
default description for this histogram
Definition at line 189 of file refiners.py.
|
static |
default name for this histogram
Definition at line 183 of file refiners.py.
|
static |
default title for this histogram
Definition at line 185 of file refiners.py.
| description = description |
cached user-defined description for this histogram
Definition at line 217 of file refiners.py.
| fit = fit |
cached fit for this histogram
Definition at line 238 of file refiners.py.
| fit_z_score = fit_z_score |
cached fit Z-score (for outlier detection) for this histogram
Definition at line 240 of file refiners.py.
| lower_bound = lower_bound |
cached lower bound for this histogram
Definition at line 224 of file refiners.py.
| name = name |
cached user-defined name for this histogram
Definition at line 212 of file refiners.py.
| outlier_z_score = outlier_z_score |
cached Z-score (for outlier detection) for this histogram
Definition at line 231 of file refiners.py.
|
inherited |
cached copy of the instance's refiner function
Definition at line 40 of file refiners.py.
| stackby = stackby |
cached stacking selection for this histogram
Definition at line 235 of file refiners.py.
| title = title |
cached user-defined title for this histogram
Definition at line 214 of file refiners.py.
| upper_bound = upper_bound |
cached upper bound for this histogram
Definition at line 226 of file refiners.py.