eegdash.features.kinds#
Feature Channel-processing Kinds.
This module defines the fundamental feature-processing kinds and the logic to map raw arrays to named features.
The module provides the classes:
UnivariateFeatureBivariateFeatureMultivariateFeature
Classes
|
Feature kind for operations on pairs of channels. |
|
Logic wrapper for features that operate on one or more EEG channels. |
|
Feature kind for operations applied to each channel independently. |
- class eegdash.features.kinds.BivariateFeature(*args, channel_pair_format: str | None = None)[source]
Bases:
MultivariateFeatureFeature kind for operations on pairs of channels.
Designed for undirected relationship measures between two signals.
- Parameters:
channel_pair_format (str) – A format string used to create feature names from pairs of channel names. Default is “{}<>{}” for undirected bivariate features or “{}->{}” for directed bivariate features.
- class eegdash.features.kinds.MultivariateFeature[source]
Bases:
objectLogic wrapper for features that operate on one or more EEG channels.
This class defines the logic for mapping raw numerical results into structured, named dictionaries. It determines the “kind” of a feature (e.g., univariate, bivariate) and handles the association of feature values with specific channels or channel groupings.
Notes
Subclasses should override
feature_channel_names()to define specific naming conventions for the extracted features.
- class eegdash.features.kinds.UnivariateFeature[source]
Bases:
MultivariateFeatureFeature kind for operations applied to each channel independently.
Used when a single feature value is produced per channel.