run_feature#

Defined in: voxatlas.pipeline.executor

voxatlas.pipeline.executor.run_feature(feature_name, feature_input, params)[source]#

Execute one extractor for one feature name.

Parameters:
  • feature_name (str) – Registered feature name to execute.

  • feature_input (FeatureInput) – Prepared stream input passed to the extractor.

  • params (dict) – Resolved feature configuration.

Returns:

Feature output returned by the extractor.

Return type:

object

Notes

This helper is used by both the sequential path and worker processes.

Examples

Usage example:

output = run_feature("acoustic.pitch.f0", feature_input, params)
print(output)