cosapp.drivers.influence¶
Classes
|
This driver evaluate the influence between inputs and outputs (floats only) In input : |
-
class
cosapp.drivers.influence.Influence(name: str, owner: Optional[cosapp.systems.System] = None, **kwargs)[source]¶ Bases:
cosapp.drivers.abstractsetofcases.AbstractSetOfCasesThis driver evaluate the influence between inputs and outputs (floats only) In input :
the inwards (including in the ports)
In output :
the inwards (including in the ports)
the connected ports
the outwards
- Parameters
-
add_input_vars(names: Union[str, Set[str], List[str]])[source]¶ Add variable to be influenced.
- Parameters
names (Union[str, Set[str], List[str]]) – List of variables to be influenced
-
add_response_vars(names: Union[str, Set[str], List[str]])[source]¶ Add variable to be monitored.
- Parameters
names (Union[str, Set[str], List[str]]) – List of variables to be monitored
-
delta¶
-
found_input_vars¶
-
found_response_vars¶
-
influence_matrix¶
-
influence_min_threshold¶
-
input_vars¶
-
reference¶
-
response_vars¶
-
show_influence_matrix(cleaned: bool = True, styling: bool = False, transpose: bool = False, sort_by: Optional[str] = None)[source]¶ Return the influence matrix with cleaning and styling options.
- Parameters
cleaned (bool, optional) – Defines if the returned influence matrix will be cleaned or not
styling (bool, optional) – Defines if the returned influence matrix will be styled or not
transpose (bool, optional) – Defines if the matrix will transposed or not before return
sort_by (str, optional) – If given, will sort