pub enum FftMode {
TwoSided,
Centered,
OneSided,
OneSided2X,
}Expand description
FFT mode for STFT computation
Determines how the FFT is computed and what frequency range is returned.
Variants§
TwoSided
Two-sided FFT: returns full frequency spectrum
Centered
Centered FFT: two-sided with fftshift applied
OneSided
One-sided FFT: returns only positive frequencies (for real signals)
OneSided2X
One-sided FFT with 2x scaling: like OneSided but with amplitude scaling
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FftMode
impl RefUnwindSafe for FftMode
impl Send for FftMode
impl Sync for FftMode
impl Unpin for FftMode
impl UnsafeUnpin for FftMode
impl UnwindSafe for FftMode
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