Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FFTShiftF ¶
FFTShiftF shifts a buffer of floats. The passed buffer is modified. See http://www.mathworks.com/help/matlab/ref/fftshift.html
Types ¶
type DFT ¶
type DFT struct { Bins []complex128 SampleRate int // contains filtered or unexported fields }
DFT is the Discrete Fourier Transform representation of a signal https://en.wikipedia.org/wiki/Discrete_Fourier_transform
func (*DFT) BinWidth ¶
BinWidth is the width of a bin (in frequency). It is calculate by using the Nyquist frequency (sample rate/2) divided by the DFT size.
func (*DFT) ToFreqRange ¶
ToFreqRange returns a map with the frequency and their values (normalized)
Click to show internal directories.
Click to hide internal directories.