![]() |
Belle II Software development
|
Public Member Functions | |
| __init__ (self, name=None, title=None, contact=None, description=None, check=None, key=None, aggregation=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) | |
Static Public Member Functions | |
| mean (xs) | |
| return the mean of the parts, ignoring NaNs | |
Public Attributes | |
| name = name | |
| cached name of the figure of merit | |
| title = title | |
| cached title of the figure of merit | |
| description = description | |
| cached description of the figure of merit | |
| check = check | |
| cached user-check action of the figure of merit | |
| contact = contact | |
| cached contact person of the figure of merit | |
| key = key | |
| cached copy of the figures-of-merit key | |
| aggregation = aggregation | |
| cached copy of the crops-aggregation method | |
| refiner_function = refiner_function | |
| cached copy of the instance's refiner function | |
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 | |
| default_aggregation = mean | |
| default aggregation is the mean of the parts | |
Refiner for figures of merit
Definition at line 74 of file refiners.py.
| __init__ | ( | self, | |
| name = None, | |||
| title = None, | |||
| contact = None, | |||
| description = None, | |||
| check = None, | |||
| key = None, | |||
| aggregation = None ) |
Constructor for this refiner
Definition at line 97 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.
|
static |
return the mean of the parts, ignoring NaNs
Definition at line 91 of file refiners.py.
| 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 = aggregation |
cached copy of the crops-aggregation method
Definition at line 125 of file refiners.py.
| check = check |
cached user-check action of the figure of merit
Definition at line 118 of file refiners.py.
| contact = 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 = description |
cached description of the figure of merit
Definition at line 116 of file refiners.py.
| key = key |
cached copy of the figures-of-merit key
Definition at line 123 of file refiners.py.
| name = name |
cached name of the figure of merit
Definition at line 111 of file refiners.py.
|
inherited |
cached copy of the instance's refiner function
Definition at line 40 of file refiners.py.
| title = title |
cached title of the figure of merit
Definition at line 113 of file refiners.py.