pub struct Fourier<Flt> { /* private fields */ }
Expand description

Block performing a Fourier analysis

Note that Fourier::new and Fourier::with_window will result in the DC bin at index 0 and negative frequencies being located in the second half. To rotate the DC frequency to the center (and have negative frequencies left of it and positive frequencies right of it), use Fourier::new_center_dc or Fourier::with_window_center_dc, respectively. In case of an even Chunk length n, the rotation will result in the DC bin being at index n / 2.

Implementations§

Create Fourier block without windowing

Create Fourier block without windowing but rotating DC to center

Create Fourier block with windowing

Create Fourier block with windowing and rotating DC to center

Trait Implementations§

Obtain reference to ReceiverConnector
Connect Consumer to Producer
Disconnect Consumer from any connected Producer if connected
Obtain reference to SenderConnector
Connect Producer to Consumer

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.