pyHarm.Reductors.FactoryReductors¶
Module that contains the factory of reducers.
- pyHarm.Reductors.FactoryReductors.Reductor_dico¶
Dictionary containing available ABCReductors as values and their factoryu keyword as key.
- Type:
dict
Attributes¶
Dictionary containing availabe ABCReductors as values and their factoryu keyword as key. |
Functions¶
|
Factory function that creates a ABCReductor object. |
Module Contents¶
- pyHarm.Reductors.FactoryReductors.Reductor_dico¶
Dictionary containing availabe ABCReductors as values and their factoryu keyword as key.
- Type:
dict
- pyHarm.Reductors.FactoryReductors.generateReductor(data: dict, expl_dofs: pandas.DataFrame) pyHarm.Reductors.ABCReductor.ABCReductor¶
Factory function that creates a ABCReductor object.
- Parameters:
expl_dofs (pd.DataFrame) – explicit dofs DataFrame built by the ABCSystem.
data (dict) – dictionary containing the inputs that are needed to create a system.
- Returns:
Instance of the required ABCReductor class.
- Return type: