Module rft::spectrum [] [src]

Spectrum computations.

Reexports

pub use self::average::Average;
pub use self::average::compute as average;
pub use self::average::compute_in as average_in;

Modules

average

Various average algorithms.

Functions

band

Returns the value of the band in the given spectrum.

bandwidth

Returns the bandwidth for the given window size and sample rate.

compute

Computes the spectrum of the given input and returns a vector with the computed values.

compute_in

Computes the spectrum of the given input into the given output.

frequency_for

Returns the frequency for the given index in a window of the given size and sample rate.

index_for

Gets the index for the given frequency in a window of the given size and sample rate.