pub fn chirpz<T: IsAnalytic>(
data_in: &[T],
m: Option<usize>,
w: Option<Complex<f64>>,
a: Option<Complex<f64>>,
) -> Result<C1D, ErrorsJSL>Expand description
Compute the chirp-z transform of a slice of analytic data.
Arguments:
data_in: input sequencem: optional output length; defaults todata_in.len()w: optional complex ratio between successive contour samples; defaults toexp(-j*2*pi/m), which recovers the length-mDFT contoura: optional complex starting point on the contour; defaults to1 + 0j
Returns:
- A complex-valued vector of length
m
Notes:
- When
m == data_in.len(),a == 1, andw == exp(-j*2*pi/m), this computes the same values as the standard DFT. - The input may be real or complex because the function accepts any type
implementing
IsAnalytic.