pub struct CZT { /* private fields */ }
Expand description
Chirp Z-Transform implementation
This structure pre-computes constant values for efficient CZT computation
Implementations§
Source§impl CZT
impl CZT
Sourcepub fn new(
n: usize,
m: Option<usize>,
w: Option<Complex<f64>>,
a: Option<Complex<f64>>,
) -> FFTResult<Self>
pub fn new( n: usize, m: Option<usize>, w: Option<Complex<f64>>, a: Option<Complex<f64>>, ) -> FFTResult<Self>
Create a new CZT transform
§Parameters
n
: Size of input signalm
: Number of output points (default: n)w
: Ratio between points (default: exp(-2j*pi/m))a
: Starting point in complex plane (default: 1+0j)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CZT
impl RefUnwindSafe for CZT
impl Send for CZT
impl Sync for CZT
impl Unpin for CZT
impl UnwindSafe for CZT
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