pyeeg.features.pipeline.PipelineConfig

class pyeeg.features.pipeline.PipelineConfig(feature_specs: List[FeatureSpec] = <factory>, alignment_config: Dict | None = None, normalization: str = 'none', cache_features: bool = True)

Configuration for the feature extraction pipeline.

feature_specs

Ordered list of FeatureSpec entries describing the extractors to run. Defaults to an empty list.

Type:

list of FeatureSpec

alignment_config

Optional alignment configuration. Currently supports a single key, sampling_rate (float, default 1000.0), used to construct the AlignmentHandler. If None, no alignment handler is created and features are returned unaligned. Defaults to None.

Type:

dict or None, optional

normalization

Normalization method applied to the extracted features by FeaturePipeline.normalize_features() when used from StimulusEncoder. One of "none", "zscore", or "minmax". Defaults to "none".

Type:

str

cache_features

Whether to cache extracted features between calls. Currently reserved: no caching is implemented in the pipeline. Defaults to True.

Type:

bool

Methods