Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnalyzeTimeFreqTransform ¶
func AnalyzeTimeFreqTransform( srate float64, input []complex128, f Transform, scaling Scaling, ) (*freqresponse.FreqResponse, error)
AnalyzeTimeFreqTransform uses the given transform on the values, assuming they represent a time domain signal. The transform results are then interpreted as magnitude and phase in the frequency domain. These are used to make the returned frequency response. Returns non-nil error in case of failure. Only the first half of the transform results (positive frequencies) will be included in the frequency response.
Types ¶
type Transform ¶
type Transform func(vals []complex128, scaling Scaling) ([]complex128, error)
Transform is a function that performs a transform (like from time to frequency domain) and scaling. Returns the transformed and scaled values. Returns non-nil error in case of failure.
Click to show internal directories.
Click to hide internal directories.