pub struct Fft { /* private fields */ }
Expand description
Compute an FFT.
This block computes the FFT on len
samples at a time, outputting len
samples per FFT.
Inputs
in
: Input samples (Complex32)
Outputs
out
: FFT results (Complex32)
Usage
use futuresdr::blocks::Fft;
use futuresdr::runtime::Flowgraph;
let mut fg = Flowgraph::new();
let fft = fg.add_block(Fft::new(2048));
Implementations
sourceimpl Fft
impl Fft
pub fn new(len: usize) -> Block
pub fn with_direction(len: usize, direction: FftDirection) -> Block
pub fn with_options(
len: usize,
direction: FftDirection,
fft_shift: bool,
normalize: Option<f32>
) -> Block
Auto Trait Implementations
impl !RefUnwindSafe for Fft
impl Send for Fft
impl Sync for Fft
impl Unpin for Fft
impl !UnwindSafe for Fft
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more