![]() |
Belle II Software release-09-00-03
|
Public Member Functions | |
| def | __init__ (self, name=None, title=None, contact=None, description=None, check=None, key=None, aggregation=None) |
| def | refine (self, harvesting_module, crops, tdirectory=None, groupby_part_name=None, groupby_value=None, **kwds) |
Static Public Member Functions | |
| def | mean (xs) |
| return the mean of the parts, ignoring NaNs | |
Public Attributes | |
| name | |
| cached name of the figure of merit | |
| title | |
| cached title of the figure of merit | |
| description | |
| cached description of the figure of merit | |
| check | |
| cached user-check action of the figure of merit | |
| contact | |
| cached contact person of the figure of merit | |
| key | |
| cached copy of the figures-of-merit key | |
| aggregation | |
| cached copy of the crops-aggregation method | |
Static Public Attributes | |
| str | default_name = "{module.id}_figures_of_merit{groupby_key}" |
| default name for this refiner | |
| str | default_title = "Figures of merit in {module.title}" |
| default title for this refiner | |
| str | default_contact = "{module.contact}" |
| default contact person for this refiner | |
| str | default_description = "Figures of merit are the {aggregation.__name__} of {keys}" |
| default description for this refiner | |
| str | default_check = "Check for reasonable values" |
| default user-check action for this refiner | |
| str | default_key = "{aggregation.__name__}_{part_name}" |
| default key name for this refiner | |
| def | default_aggregation = mean |
| default aggregation is the mean of the parts | |
Refiner for figures of merit
Definition at line 74 of file refiners.py.
| def __init__ | ( | self, | |
name = None, |
|||
title = None, |
|||
contact = None, |
|||
description = None, |
|||
check = None, |
|||
key = None, |
|||
aggregation = None |
|||
| ) |
Constructor for this refiner
Reimplemented from Refiner.
Definition at line 97 of file refiners.py.
|
static |
return the mean of the parts, ignoring NaNs
Definition at line 91 of file refiners.py.
| def refine | ( | self, | |
| harvesting_module, | |||
| crops, | |||
tdirectory = None, |
|||
groupby_part_name = None, |
|||
groupby_value = None, |
|||
| ** | kwds | ||
| ) |
Process the figures of merit
Reimplemented from Refiner.
Definition at line 127 of file refiners.py.
| aggregation |
cached copy of the crops-aggregation method
Definition at line 125 of file refiners.py.
| check |
cached user-check action of the figure of merit
Definition at line 118 of file refiners.py.
| contact |
cached contact person of the figure of merit
Definition at line 120 of file refiners.py.
|
static |
default aggregation is the mean of the parts
Definition at line 95 of file refiners.py.
|
static |
default user-check action for this refiner
Definition at line 85 of file refiners.py.
|
static |
default contact person for this refiner
Definition at line 81 of file refiners.py.
|
static |
default description for this refiner
Definition at line 83 of file refiners.py.
|
static |
default key name for this refiner
Definition at line 87 of file refiners.py.
|
static |
default name for this refiner
Definition at line 77 of file refiners.py.
|
static |
default title for this refiner
Definition at line 79 of file refiners.py.
| description |
cached description of the figure of merit
Definition at line 116 of file refiners.py.
| key |
cached copy of the figures-of-merit key
Definition at line 123 of file refiners.py.
| name |
cached name of the figure of merit
Definition at line 111 of file refiners.py.
| title |
cached title of the figure of merit
Definition at line 113 of file refiners.py.