SAF
|
Unit tests for the SAF utilities module. More...
#include "saf_test.h"
Go to the source code of this file.
Functions | |
void | test__cylindricalBesselFunctions (void) |
Testing bessel_Jn(), bessel_Yn() | |
void | test__sphericalBesselFunctions (void) |
Testing bessel_jn(), bessel_in(), bessel_yn(), and bessel_kn() | |
void | test__cart2sph (void) |
Testing cart2sph() and sph2cart() are reversible. | |
void | test__delaunaynd (void) |
Testing that the delaunaynd() function can triangulate basic shapes. | |
void | test__quaternion (void) |
Testing that quaternion2rotationMatrix() and rotationMatrix2quaternion() are reversible. | |
void | test__saf_stft_50pc_overlap (void) |
Testing for perfect reconstruction of the saf_stft (when configured for 50% window overlap) | |
void | test__saf_stft_LTI (void) |
Testing for perfect reconstruction of the saf_stft (when configured for linear time-invariant (LTI) filtering applications) | |
void | test__saf_matrixConv (void) |
Testing the saf_matrixConv. | |
void | test__saf_rfft (void) |
Testing the forward and backward real-(half)complex FFT (saf_rfft) | |
void | test__saf_fft (void) |
Testing the forward and backward complex-complex FFT (saf_fft) | |
void | test__qmf (void) |
Testing the (near)-perfect reconstruction performance of the QMF filterbank. | |
void | test__smb_pitchShifter (void) |
Testing that the smb_pitchShifter can shift the energy of input spectra by one octave down. | |
void | test__sortf (void) |
Testing the sortf() function (sorting real floating point numbers) | |
void | test__sortz (void) |
Testing the sortz() function (sorting complex double-floating point numbers) | |
void | test__cmplxPairUp (void) |
Testing the cmplxPairUp() function (grouping up conjugate symmetric values) | |
void | test__getVoronoiWeights (void) |
Testing that the weights from the getVoronoiWeights() function sum to 4pi and that the weights are all identical for a uniform arrangement of points. | |
void | test__unique_i (void) |
Testing that the unique_i() function operates correctly. | |
void | test__latticeDecorrelator (void) |
Testing the performance of the latticeDecorrelator, verifying that the inter- channel cross-correlation coefficients are near 0. | |
void | test__butterCoeffs (void) |
Testing that the coefficients computed with butterCoeffs() are numerically similar to the "butter" function in Matlab. | |
void | test__evalIIRTransferFunction (void) |
Testing that the magnitudes and phases returned by evalIIRTransferFunction() are numerically similar to the "freqz" function in Matlab. | |
void | test__faf_IIRFilterbank (void) |
Testing that the faf_IIRFilterbank can reconstruct the original signal power. | |
void | test__gexpm (void) |
Testing computing the matrix exponential - comparing the output to that of the "expm" function in Matlab. | |
void | test__dvf_calcDVFShelfParams (void) |
Calculate high shelf parameters, g0, gInf, fc, from the lookup table coefficients (10 degree steps) | |
void | test__dvf_interpDVFShelfParams (void) |
Test the interpolation of high shelf parameters based on distance and incidence angle parameters. | |
void | test__dvf_dvfShelfCoeffs (void) |
Test the generation of high shelf coeffs based on shelf gain and fc parameters. | |
Unit tests for the SAF utilities module.
Definition in file test__utilities_module.c.
void test__butterCoeffs | ( | void | ) |
Testing that the coefficients computed with butterCoeffs() are numerically similar to the "butter" function in Matlab.
Definition at line 870 of file test__utilities_module.c.
void test__cart2sph | ( | void | ) |
Testing cart2sph() and sph2cart() are reversible.
Definition at line 99 of file test__utilities_module.c.
void test__cmplxPairUp | ( | void | ) |
Testing the cmplxPairUp() function (grouping up conjugate symmetric values)
Definition at line 638 of file test__utilities_module.c.
void test__cylindricalBesselFunctions | ( | void | ) |
Testing bessel_Jn(), bessel_Yn()
Definition at line 27 of file test__utilities_module.c.
void test__delaunaynd | ( | void | ) |
Testing that the delaunaynd() function can triangulate basic shapes.
Definition at line 123 of file test__utilities_module.c.
void test__dvf_calcDVFShelfParams | ( | void | ) |
Calculate high shelf parameters, g0, gInf, fc, from the lookup table coefficients (10 degree steps)
Definition at line 1304 of file test__utilities_module.c.
void test__dvf_dvfShelfCoeffs | ( | void | ) |
Test the generation of high shelf coeffs based on shelf gain and fc parameters.
Definition at line 1398 of file test__utilities_module.c.
void test__dvf_interpDVFShelfParams | ( | void | ) |
Test the interpolation of high shelf parameters based on distance and incidence angle parameters.
Definition at line 1348 of file test__utilities_module.c.
void test__evalIIRTransferFunction | ( | void | ) |
Testing that the magnitudes and phases returned by evalIIRTransferFunction() are numerically similar to the "freqz" function in Matlab.
Definition at line 993 of file test__utilities_module.c.
void test__faf_IIRFilterbank | ( | void | ) |
Testing that the faf_IIRFilterbank can reconstruct the original signal power.
Definition at line 1195 of file test__utilities_module.c.
void test__getVoronoiWeights | ( | void | ) |
Testing that the weights from the getVoronoiWeights() function sum to 4pi and that the weights are all identical for a uniform arrangement of points.
Definition at line 681 of file test__utilities_module.c.
void test__gexpm | ( | void | ) |
Testing computing the matrix exponential - comparing the output to that of the "expm" function in Matlab.
Definition at line 1268 of file test__utilities_module.c.
void test__latticeDecorrelator | ( | void | ) |
Testing the performance of the latticeDecorrelator, verifying that the inter- channel cross-correlation coefficients are near 0.
Definition at line 768 of file test__utilities_module.c.
void test__qmf | ( | void | ) |
Testing the (near)-perfect reconstruction performance of the QMF filterbank.
Definition at line 454 of file test__utilities_module.c.
void test__quaternion | ( | void | ) |
Testing that quaternion2rotationMatrix() and rotationMatrix2quaternion() are reversible.
Definition at line 170 of file test__utilities_module.c.
void test__saf_fft | ( | void | ) |
Testing the forward and backward complex-complex FFT (saf_fft)
Definition at line 413 of file test__utilities_module.c.
void test__saf_matrixConv | ( | void | ) |
Testing the saf_matrixConv.
Definition at line 330 of file test__utilities_module.c.
void test__saf_rfft | ( | void | ) |
Testing the forward and backward real-(half)complex FFT (saf_rfft)
Definition at line 374 of file test__utilities_module.c.
void test__saf_stft_50pc_overlap | ( | void | ) |
Testing for perfect reconstruction of the saf_stft (when configured for 50% window overlap)
Definition at line 207 of file test__utilities_module.c.
void test__saf_stft_LTI | ( | void | ) |
Testing for perfect reconstruction of the saf_stft (when configured for linear time-invariant (LTI) filtering applications)
Definition at line 271 of file test__utilities_module.c.
void test__smb_pitchShifter | ( | void | ) |
Testing that the smb_pitchShifter can shift the energy of input spectra by one octave down.
Definition at line 520 of file test__utilities_module.c.
void test__sortf | ( | void | ) |
Testing the sortf() function (sorting real floating point numbers)
Definition at line 560 of file test__utilities_module.c.
void test__sortz | ( | void | ) |
Testing the sortz() function (sorting complex double-floating point numbers)
Definition at line 592 of file test__utilities_module.c.
void test__sphericalBesselFunctions | ( | void | ) |
Testing bessel_jn(), bessel_in(), bessel_yn(), and bessel_kn()
Definition at line 54 of file test__utilities_module.c.
void test__unique_i | ( | void | ) |
Testing that the unique_i() function operates correctly.
Definition at line 736 of file test__utilities_module.c.