pub enum WindowType {
Rectangular,
Hann,
Hamming,
Blackman,
BlackmanHarris,
FlatTop,
Bartlett,
BartlettHann,
Tukey(f64),
Kaiser(f64),
Gaussian(f64),
}
Expand description
Different types of window functions
Variants§
Rectangular
Rectangular window (no windowing)
Hann
Hann window (raised cosine)
Hamming
Hamming window (raised cosine with non-zero endpoints)
Blackman
Blackman window (three-term cosine)
BlackmanHarris
Blackman-Harris window (four-term cosine)
FlatTop
Flat-top window (optimized for amplitude accuracy)
Bartlett
Bartlett window (triangular)
BartlettHann
Bartlett-Hann window (combination of Bartlett and Hann)
Tukey(f64)
Tukey window (tapered cosine)
Kaiser(f64)
Kaiser window (based on Bessel function)
Gaussian(f64)
Gaussian window
Trait Implementations§
Source§impl Clone for WindowType
impl Clone for WindowType
Source§fn clone(&self) -> WindowType
fn clone(&self) -> WindowType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for WindowType
impl Debug for WindowType
Source§impl PartialEq for WindowType
impl PartialEq for WindowType
impl Copy for WindowType
impl StructuralPartialEq for WindowType
Auto Trait Implementations§
impl Freeze for WindowType
impl RefUnwindSafe for WindowType
impl Send for WindowType
impl Sync for WindowType
impl Unpin for WindowType
impl UnwindSafe for WindowType
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
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>
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