SAF
Loading...
Searching...
No Matches
test__sh_module.c File Reference

Unit tests for the SAF sh module. More...

#include "saf_test.h"

Go to the source code of this file.

Functions

void test__getSHreal (void)
 Testing the orthogonality of the getSHreal() function.
 
void test__getSHreal_recur (void)
 Testing that the getSHreal_recur() function is somewhat numerically identical to the full-fat getSHreal() function.
 
void test__getSHreal_part (void)
 Testing that the getSHreal_part() function is somewhat numerically identical to the full-fat getSHreal() function between start and end order.
 
void test__getSHcomplex (void)
 Testing the orthogonality of the getSHcomplex() function.
 
void test__getSHrotMtxReal (void)
 Testing the spherical harmonic rotation matrix function getSHrotMtxReal()
 
void test__real2complexSHMtx (void)
 Testing the real to complex spherical harmonic conversion, using getSHcomplex() as the reference.
 
void test__complex2realSHMtx (void)
 Testing the complex to real spherical harmonic conversion, using getSHreal() as the reference.
 
void test__computeSectorCoeffsEP (void)
 Testing the computeSectorCoeffsEP() and computeVelCoeffsMtx() functions and comparing their output to that of a reference Matlab function.
 
void test__checkCondNumberSHTReal (void)
 Testing that for T-designs, the condition numbers are all equal to 1.
 
void test__calculateGridWeights (void)
 Test grid weight approximation.
 
void test__sphMUSIC (void)
 Testing the DoA estimation performance of sphMUSIC()
 
void test__sphPWD (void)
 Testing the DoA estimation performance of sphPWD()
 
void test__sphESPRIT (void)
 Testing the DoA estimation performance of sphESPRIT()
 
void test__sphModalCoeffs (void)
 Testing the sphModalCoeffs() function.
 
void test__arraySHTmatrices (void)
 Testing the arraySHTmatrices() function.
 

Detailed Description

Unit tests for the SAF sh module.

Author
Leo McCormack
Date
27.04.2020
License
ISC

Definition in file test__sh_module.c.

Function Documentation

◆ test__arraySHTmatrices()

void test__arraySHTmatrices ( void )

Testing the arraySHTmatrices() function.

Definition at line 768 of file test__sh_module.c.

◆ test__calculateGridWeights()

void test__calculateGridWeights ( void )

Test grid weight approximation.

Definition at line 458 of file test__sh_module.c.

◆ test__checkCondNumberSHTReal()

void test__checkCondNumberSHTReal ( void )

Testing that for T-designs, the condition numbers are all equal to 1.

Definition at line 421 of file test__sh_module.c.

◆ test__complex2realSHMtx()

void test__complex2realSHMtx ( void )

Testing the complex to real spherical harmonic conversion, using getSHreal() as the reference.

Definition at line 324 of file test__sh_module.c.

◆ test__computeSectorCoeffsEP()

void test__computeSectorCoeffsEP ( void )

Testing the computeSectorCoeffsEP() and computeVelCoeffsMtx() functions and comparing their output to that of a reference Matlab function.

Definition at line 380 of file test__sh_module.c.

◆ test__getSHcomplex()

void test__getSHcomplex ( void )

Testing the orthogonality of the getSHcomplex() function.

Definition at line 143 of file test__sh_module.c.

◆ test__getSHreal()

void test__getSHreal ( void )

Testing the orthogonality of the getSHreal() function.

Definition at line 27 of file test__sh_module.c.

◆ test__getSHreal_part()

void test__getSHreal_part ( void )

Testing that the getSHreal_part() function is somewhat numerically identical to the full-fat getSHreal() function between start and end order.

Definition at line 111 of file test__sh_module.c.

◆ test__getSHreal_recur()

void test__getSHreal_recur ( void )

Testing that the getSHreal_recur() function is somewhat numerically identical to the full-fat getSHreal() function.

Definition at line 84 of file test__sh_module.c.

◆ test__getSHrotMtxReal()

void test__getSHrotMtxReal ( void )

Testing the spherical harmonic rotation matrix function getSHrotMtxReal()

Definition at line 202 of file test__sh_module.c.

◆ test__real2complexSHMtx()

void test__real2complexSHMtx ( void )

Testing the real to complex spherical harmonic conversion, using getSHcomplex() as the reference.

Definition at line 263 of file test__sh_module.c.

◆ test__sphESPRIT()

void test__sphESPRIT ( void )

Testing the DoA estimation performance of sphESPRIT()

Definition at line 623 of file test__sh_module.c.

◆ test__sphModalCoeffs()

void test__sphModalCoeffs ( void )

Testing the sphModalCoeffs() function.

Definition at line 722 of file test__sh_module.c.

◆ test__sphMUSIC()

void test__sphMUSIC ( void )

Testing the DoA estimation performance of sphMUSIC()

Definition at line 486 of file test__sh_module.c.

◆ test__sphPWD()

void test__sphPWD ( void )

Testing the DoA estimation performance of sphPWD()

Definition at line 561 of file test__sh_module.c.