pub struct TimeFrequencyExtractor { /* private fields */ }Expand description
Time-frequency feature extractor
Combines multiple time-frequency analysis methods including wavelets, spectrograms, and other time-frequency representations.
Implementations§
Source§impl TimeFrequencyExtractor
impl TimeFrequencyExtractor
Sourcepub fn window_size(self, size: usize) -> Self
pub fn window_size(self, size: usize) -> Self
Set window size for STFT
Sourcepub fn num_frequency_bins(self, bins: usize) -> Self
pub fn num_frequency_bins(self, bins: usize) -> Self
Set number of frequency bins
Sourcepub fn include_spectral_features(self, include: bool) -> Self
pub fn include_spectral_features(self, include: bool) -> Self
Include spectral features from STFT
Sourcepub fn include_wavelet_features(self, include: bool) -> Self
pub fn include_wavelet_features(self, include: bool) -> Self
Include wavelet-based features
Sourcepub fn include_instantaneous_features(self, include: bool) -> Self
pub fn include_instantaneous_features(self, include: bool) -> Self
Include instantaneous frequency and phase features
Sourcepub fn extract_features(
&self,
ts: &ArrayView1<'_, Float>,
) -> SklResult<Array1<Float>>
pub fn extract_features( &self, ts: &ArrayView1<'_, Float>, ) -> SklResult<Array1<Float>>
Extract time-frequency features
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TimeFrequencyExtractor
impl RefUnwindSafe for TimeFrequencyExtractor
impl Send for TimeFrequencyExtractor
impl Sync for TimeFrequencyExtractor
impl Unpin for TimeFrequencyExtractor
impl UnsafeUnpin for TimeFrequencyExtractor
impl UnwindSafe for TimeFrequencyExtractor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more