Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Analyze ¶
func Analyze( srate float64, floatVals []float64, scaling transform.Scaling) *freqresponse.FreqResponse
Analyze runs transform.AnalyzeTimeFreqTransform with the DFT transform. Before running the DFT, the float values will be converted to complex numbers and then (if needed) padded with a zero to make an even length.
func DFT ¶
func DFT(vals []complex128, scaling transform.Scaling) ([]complex128, error)
DFT transform. Can be used for both forward (anaysis) and inverse (synthesis) transform by selecting appropriate scaling. Returns non-nil error if input size is not even.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.