eegdash.features.feature_bank#
Feature bank public API exports.
This module consolidates and re-exports the feature extractors and feature
functions so users can import them directly from
eegdash.features.feature_bank
.
Functions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Classes
|
|
|
|
|
|
- class eegdash.features.feature_bank.EntropyFeatureExtractor(feature_extractors: Dict[str, Callable], **preprocess_kwargs: Dict)[source]#
Bases:
FeatureExtractor
- parent_extractor_type = (<class 'eegdash.features.extractors.FeatureExtractor'>, <class 'eegdash.features.feature_bank.signal.HilbertFeatureExtractor'>)#
- class eegdash.features.feature_bank.CoherenceFeatureExtractor(feature_extractors: Dict[str, Callable], **preprocess_kwargs: Dict)[source]#
Bases:
FeatureExtractor
- eegdash.features.feature_bank.connectivity_magnitude_square_coherence(f, c, bands={'alpha': (8, 12), 'beta': (12, 30), 'delta': (1, 4.5), 'theta': (4.5, 8)})[source]#
- eegdash.features.feature_bank.connectivity_imaginary_coherence(f, c, bands={'alpha': (8, 12), 'beta': (12, 30), 'delta': (1, 4.5), 'theta': (4.5, 8)})[source]#
- eegdash.features.feature_bank.connectivity_lagged_coherence(f, c, bands={'alpha': (8, 12), 'beta': (12, 30), 'delta': (1, 4.5), 'theta': (4.5, 8)})[source]#
- class eegdash.features.feature_bank.CommonSpatialPattern[source]#
Bases:
TrainableFeature
- feature_kind = <eegdash.features.extractors.MultivariateFeature object>#
- fit()[source]#
Finalize the training of the feature extractor.
This method should be called after all data has been seen via partial_fit. It marks the feature as fitted.
- class eegdash.features.feature_bank.HilbertFeatureExtractor(feature_extractors: Dict[str, Callable], **preprocess_kwargs: Dict)[source]#
Bases:
FeatureExtractor
- parent_extractor_type = (<class 'eegdash.features.extractors.FeatureExtractor'>,)#
- class eegdash.features.feature_bank.SpectralFeatureExtractor(feature_extractors: Dict[str, Callable], **preprocess_kwargs: Dict)[source]#
Bases:
FeatureExtractor
- class eegdash.features.feature_bank.NormalizedSpectralFeatureExtractor(feature_extractors: Dict[str, Callable], **preprocess_kwargs: Dict)[source]#
Bases:
FeatureExtractor
- parent_extractor_type = (<class 'eegdash.features.feature_bank.spectral.SpectralFeatureExtractor'>,)#
- class eegdash.features.feature_bank.DBSpectralFeatureExtractor(feature_extractors: Dict[str, Callable], **preprocess_kwargs: Dict)[source]#
Bases:
FeatureExtractor
- parent_extractor_type = (<class 'eegdash.features.feature_bank.spectral.SpectralFeatureExtractor'>,)#