pyHarm.Reductors.FactoryChainedReductors

This module contains the factory of ChainReductor objects that is a specific kind of ABCReductors chaining reducing methods in series allowing to use simultaneously multiple reduction layers.

Functions

generateChainReductor(data, expl_dofs)

Factory function that creates a ChainReductor object.

Module Contents

pyHarm.Reductors.FactoryChainedReductors.generateChainReductor(data, expl_dofs)

Factory function that creates a ChainReductor 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 ChainReductor, including the list of reductors to instantiate.

Returns:

Instance of the required ChainReductor class.

Return type:

ChainReductor