spine.post.factories

Construct a post-processor module class from its name.

Functions

post_processor_factory(name, cfg[, parent_path])

Instantiates a post-processor module from a configuration dictionary.

spine.post.factories.post_processor_factory(name, cfg, parent_path=None)[source]

Instantiates a post-processor module from a configuration dictionary.

Parameters:
  • name (str) – Name of the post-processor module

  • cfg (dict) – Post-processor module configuration

  • parent_path (str, optional) – Path to the post-processor configuration file

Returns:

Initialized post-processor object

Return type:

object