Enum rfmod::DspFftWindow [−][src]
#[repr(C)] pub enum DspFftWindow { Rect, Triangle, Hamming, Hanning, BlackMan, BlackManHarris, Max, ForceInt, }
Expand description
List of windowing methods used in spectrum analysis to reduce leakage / transient signals intefering with the analysis. This is a problem with analysis of continuous signals that only have a small portion of the signal sample (the fft window size). Windowing the signal with a curve or triangle tapers the sides of the fft window to help alleviate this problem.
Variants
w[n] = 1.0
w[n] = TRI(2n/N)
w[n] = 0.54 - (0.46 * COS(n/N) )
w[n] = 0.5 * (1.0 - COS(n/N) )
w[n] = 0.42 - (0.5 * COS(n/N) ) + (0.08 * COS(2.0 * n/N) )
w[n] = 0.35875 - (0.48829 * COS(1.0 * n/N)) + (0.14128 * COS(2.0 * n/N)) - (0.01168 * COS(3.0 * n/N))
Maximum number of FFT window types supported.
Makes sure this enum is signed 32bit.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for DspFftWindow
impl Send for DspFftWindow
impl Sync for DspFftWindow
impl Unpin for DspFftWindow
impl UnwindSafe for DspFftWindow
Blanket Implementations
Mutably borrows from an owned value. Read more