pub struct SpectralAnalysisFeatures<F> {Show 56 fields
pub welch_psd: Vec<F>,
pub periodogram_psd: Vec<F>,
pub ar_psd: Vec<F>,
pub frequency_resolution: F,
pub total_power: F,
pub normalized_psd: Vec<F>,
pub peak_frequencies: Vec<F>,
pub peak_magnitudes: Vec<F>,
pub peak_widths: Vec<F>,
pub peak_prominences: Vec<F>,
pub significant_peaks_count: usize,
pub peak_density: F,
pub average_peak_spacing: F,
pub peak_asymmetry: Vec<F>,
pub delta_power: F,
pub theta_power: F,
pub alpha_power: F,
pub beta_power: F,
pub gamma_power: F,
pub low_freq_power: F,
pub high_freq_power: F,
pub relative_band_powers: Vec<F>,
pub band_power_ratios: Vec<F>,
pub band_entropy: F,
pub spectral_shannon_entropy: F,
pub spectral_renyi_entropy: F,
pub spectral_permutation_entropy: F,
pub spectral_sample_entropy: F,
pub spectral_complexity: F,
pub spectral_information_density: F,
pub spectral_approximate_entropy: F,
pub spectral_flatness: F,
pub spectral_crest_factor: F,
pub spectral_irregularity: F,
pub spectral_smoothness: F,
pub spectral_slope: F,
pub spectral_decrease: F,
pub spectral_brightness: F,
pub spectral_roughness: F,
pub spectral_autocorrelation: Vec<F>,
pub cross_spectral_coherence: Vec<F>,
pub spectral_coherence_mean: F,
pub phase_spectrum_features: PhaseSpectrumFeatures<F>,
pub bispectrum_features: BispectrumFeatures<F>,
pub frequency_stability: F,
pub spectral_variability: F,
pub frequency_modulation_index: F,
pub spectral_purity: F,
pub multiscale_spectral_features: Vec<ScaleSpectralFeatures<F>>,
pub cross_frequency_coupling: Vec<F>,
pub phase_amplitude_coupling: Vec<F>,
pub cross_scale_correlations: Vec<F>,
pub stft_features: Vec<F>,
pub spectrogram_entropy: F,
pub time_frequency_localization: F,
pub instantaneous_frequency_stats: Vec<F>,
}Expand description
Comprehensive spectral analysis features
Fields§
§welch_psd: Vec<F>Power spectral density using Welch’s method
periodogram_psd: Vec<F>Power spectral density using periodogram
ar_psd: Vec<F>Power spectral density using autoregressive method
frequency_resolution: FFrequency resolution of PSD estimates
total_power: FTotal power across all frequencies
normalized_psd: Vec<F>Normalized power spectral density
peak_frequencies: Vec<F>Peak frequencies (in Hz or normalized units)
peak_magnitudes: Vec<F>Peak magnitudes (power/amplitude at peaks)
peak_widths: Vec<F>Peak widths (FWHM - Full Width Half Maximum)
peak_prominences: Vec<F>Peak prominence (relative height above surroundings)
significant_peaks_count: usizeNumber of significant peaks
peak_density: FSpectral peak density (peaks per frequency unit)
average_peak_spacing: FAverage peak spacing
peak_asymmetry: Vec<F>Peak asymmetry measures
delta_power: FDelta band power (0.5-4 Hz)
theta_power: FTheta band power (4-8 Hz)
alpha_power: FAlpha band power (8-12 Hz)
beta_power: FBeta band power (12-30 Hz)
gamma_power: FGamma band power (30-100 Hz)
low_freq_power: FLow frequency power (custom band)
high_freq_power: FHigh frequency power (custom band)
relative_band_powers: Vec<F>Relative band powers (normalized)
band_power_ratios: Vec<F>Band power ratios (e.g., alpha/theta)
band_entropy: FFrequency band entropy
spectral_shannon_entropy: FSpectral entropy (Shannon entropy of PSD)
spectral_renyi_entropy: FSpectral Rényi entropy
spectral_permutation_entropy: FSpectral permutation entropy
spectral_sample_entropy: FFrequency domain sample entropy
spectral_complexity: FSpectral complexity (Lempel-Ziv in frequency domain)
spectral_information_density: FSpectral information density
spectral_approximate_entropy: FFrequency domain approximate entropy
spectral_flatness: FSpectral flatness (Wiener entropy)
spectral_crest_factor: FSpectral crest factor (peak-to-average ratio)
spectral_irregularity: FSpectral irregularity measure
spectral_smoothness: FSpectral smoothness index
spectral_slope: FSpectral slope (tilt of spectrum)
spectral_decrease: FSpectral decrease measure
spectral_brightness: FSpectral brightness (high frequency content)
spectral_roughness: FSpectral roughness (fluctuation measure)
spectral_autocorrelation: Vec<F>Spectral autocorrelation features
cross_spectral_coherence: Vec<F>Cross-spectral features (if applicable)
spectral_coherence_mean: FSpectral coherence measures
phase_spectrum_features: PhaseSpectrumFeatures<F>Phase spectrum features
bispectrum_features: BispectrumFeatures<F>Bispectrum features (third-order statistics)
frequency_stability: FFrequency stability measure
spectral_variability: FSpectral variability index
frequency_modulation_index: FFrequency modulation index
spectral_purity: FSpectral purity measure
multiscale_spectral_features: Vec<ScaleSpectralFeatures<F>>Multiscale spectral features
cross_frequency_coupling: Vec<F>Cross-frequency coupling measures
phase_amplitude_coupling: Vec<F>Phase-amplitude coupling indices
cross_scale_correlations: Vec<F>Cross-scale correlation measures
stft_features: Vec<F>Short-time Fourier transform features
spectrogram_entropy: FSpectrogram-based measures
time_frequency_localization: FTime-frequency localization measures
instantaneous_frequency_stats: Vec<F>Instantaneous frequency measures
Trait Implementations§
Source§impl<F: Clone> Clone for SpectralAnalysisFeatures<F>
impl<F: Clone> Clone for SpectralAnalysisFeatures<F>
Source§fn clone(&self) -> SpectralAnalysisFeatures<F>
fn clone(&self) -> SpectralAnalysisFeatures<F>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<F: Debug> Debug for SpectralAnalysisFeatures<F>
impl<F: Debug> Debug for SpectralAnalysisFeatures<F>
Auto Trait Implementations§
impl<F> Freeze for SpectralAnalysisFeatures<F>where
F: Freeze,
impl<F> RefUnwindSafe for SpectralAnalysisFeatures<F>where
F: RefUnwindSafe,
impl<F> Send for SpectralAnalysisFeatures<F>where
F: Send,
impl<F> Sync for SpectralAnalysisFeatures<F>where
F: Sync,
impl<F> Unpin for SpectralAnalysisFeatures<F>where
F: Unpin,
impl<F> UnwindSafe for SpectralAnalysisFeatures<F>where
F: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.