Documentation
¶
Index ¶
- func TestTimeFreqTransformForwardReverse(t *testing.T, f transform.Transform)
- func TestTimeFreqTransformGivenImpulse(t *testing.T, f transform.Transform)
- func TestTimeFreqTransformGivenShiftedImpulse(t *testing.T, f transform.Transform)
- func VerifyEqualWithin(t *testing.T, expected, actual []complex128, delta float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestTimeFreqTransformForwardReverse ¶
TestTimeFreqTransformForwardReverse runs the transform twice, first with an impulse, then again with that transform output, to see if the original impulse is recovered.
func TestTimeFreqTransformGivenImpulse ¶
TestTimeFreqTransformGivenImpulse sends a shifted impulse through the forward FFT. See http://www.sccon.ca/sccon/fft/fft3.htm
func TestTimeFreqTransformGivenShiftedImpulse ¶
TestTimeFreqTransformGivenShiftedImpulse sends a shifted impulse through the forward FFT. See http://www.sccon.ca/sccon/fft/fft3.htm
func VerifyEqualWithin ¶
func VerifyEqualWithin(t *testing.T, expected, actual []complex128, delta float64)
VerifyEqualWithin verifies that the given slices are the same length, and that all elements (real and imaginary components) are within the given delta of eachother.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.