# Re: use of gr-specest for direction finding of a 1X2 MIMO system

**URL:** <https://www.ruby-forum.com/t/re-use-of-gr-specest-for-direction-finding-of-a-1x2-mimo-system/239661>\
**Category:** GNU Radio\
**Created:** [March 9, 2014, 12:13pm UTC](https://www.ruby-forum.com/t/re-use-of-gr-specest-for-direction-finding-of-a-1x2-mimo-system/239661 "2014-03-09T12:13:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [March 9, 2014, 12:13pm UTC](https://www.ruby-forum.com/t/re-use-of-gr-specest-for-direction-finding-of-a-1x2-mimo-system/239661/1 "2014-03-09T12:13:19Z")

</div>

hello,  
I downloaded and build gr-specest block from github site "  
[GitHub - kit-cel/gr-specest: A module adding spectral estimation routines to GNU Radio.](https://github.com/kit-cel/gr-specest)" into gnu radio 3.6.5.1, But while  
make test i got the following result:

Test project /home/testbed/Downloads/gr-specest-master/build  
Start 1: qa\_specest\_arburg\_impl  
1/15 Test #1: qa\_specest\_arburg\_impl … Passed  
0.54  
sec  
Start 2: qa\_specest\_cyclo\_fam\_calcspectrum\_impl  
2/15 Test #2: qa\_specest\_cyclo\_fam\_calcspectrum\_impl … Passed  
0.07  
sec  
Start 3: qa\_specest\_esprit\_fortran\_impl  
3/15 Test #3: qa\_specest\_esprit\_fortran\_impl … Passed  
0.24  
sec  
Start 4: qa\_specest\_burg  
4/15 Test #4: qa\_specest\_burg … Passed  
1.95  
sec  
Start 5: qa\_specest\_cyclo\_fam  
5/15 Test #5: qa\_specest\_cyclo\_fam …\*\*\*Failed  
0.55  
sec  
Start 6: qa\_specest\_esprit  
6/15 Test #6: qa\_specest\_esprit … Passed  
0.31  
sec  
Start 7: qa\_specest\_esprit\_spectrum\_vcf  
7/15 Test #7: qa\_specest\_esprit\_spectrum\_vcf …\*\*\*Failed  
0.30  
sec  
Start 8: qa\_specest\_esprit\_vcf  
8/15 Test #8: qa\_specest\_esprit\_vcf … Passed  
2.44  
sec  
Start 9: qa\_specest\_fcov  
9/15 Test #9: qa\_specest\_fcov … Passed  
0.29  
sec  
Start 10: qa\_specest\_fmcov  
10/15 Test #10: qa\_specest\_fmcov … Passed  
0.29  
sec  
Start 11: qa\_specest\_gendpss  
11/15 Test #11: qa\_specest\_gendpss … Passed  
0.27  
sec  
Start 12: qa\_specest\_mtm  
12/15 Test #12: qa\_specest\_mtm … Passed  
0.82  
sec  
Start 13: qa\_specest\_vectormanip  
13/15 Test #13: qa\_specest\_vectormanip … Passed  
0.29  
sec  
Start 14: qa\_specest\_welch  
14/15 Test #14: qa\_specest\_welch …\*\*\*Failed  
0.29  
sec  
Start 15: qa\_specest\_welchsp  
15/15 Test #15: qa\_specest\_welchsp …\*\*\*Failed  
0.33  
sec

73% tests passed, 4 tests failed out of 15

Total Test time (real) = 8.98 sec

The following tests FAILED:  
5 - qa\_specest\_cyclo\_fam (Failed)  
7 - qa\_specest\_esprit\_spectrum\_vcf (Failed)  
14 - qa\_specest\_welch (Failed)  
15 - qa\_specest\_welchsp (Failed)  
Errors while running CTest  
make: \*\*\* [test] Error 8

futhur could i get any documentation which could teel me how to use root  
music avaliable gr-spect for the purpose of direction finding. currently  
i  
have one transmitter and two synchronized receives and i intend to find  
DOA  
of my transmitter.

---

<div class="post-metadata">

**Author:** ![Chandan\_Pradhan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c57346/32.png) [@Chandan\_Pradhan](https://www.ruby-forum.com/u/Chandan_Pradhan)\
**Post date:** [March 9, 2014, 12:50pm UTC](https://www.ruby-forum.com/t/re-use-of-gr-specest-for-direction-finding-of-a-1x2-mimo-system/239661/2 "2014-03-09T12:50:28Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Hi Chandan,

the specest (spectral estimation toolbox) uses MUSIC to estimate the  
spectrum; it does that by using the MUSIC algorithm on an unmodified  
autocorrelation matrix estimate of _one_ input sample stream; if you  
supply different data, MUSIC will estimate different things.  
You’ll find the algorithm in specest\_music\_armadillo\_impl.cc; I  
believe it’s easy to understand if you’ve done MUSIC before.

As a side note: Benchmarks have shown that for small signal spaces (in  
your case: few incident waves from different directions at once), the  
ESPRIT algorithm (also in gr\_specest!) performs slightly better, and  
you get the “strongest” frequencies/directions in a vector, and don’t  
have to search the MUSIC pseudospectrum for local maxima.

Greetings,  
Marcus

On 09.03.2014 12:12, Chandan Pradhan wrote:

> qa\_specest\_esprit\_fortran\_impl … Passed 0.24 sec  
> Start 9: qa\_specest\_fcov 9/15 Test #9: qa\_specest\_fcov  
> …\*\*\*Failed 0.29 sec Start 15:  
> CTest make: \*\*\* [test] Error 8  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:
> 
> > 
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ Discuss-gnuradio  
> mailing list [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
> [Discuss-gnuradio Info Page](https://lists.gnu.org/mailman/listinfo/discuss-gnuradio)

-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1  
Comment: Using GnuPG with Thunderbird - [http://www.enigmail.net/](http://www.enigmail.net/)

iQEcBAEBAgAGBQJTHFUJAAoJEBQ6EdjyzlHtViwH/jwAb8+/4hh7bKfhy/jkKBJk  
MGM2udvngvNNTaB/iaq3G4f1hPMe45x33W7NFW6vpXckb/R1+hRW+UcDjW4pBKzZ  
VgVLoy7k1At2E63at+gWBz6e6dWmGWkfB5TXaqrOfWs7nU8S7RTchmMtxc5zfCQ6  
VI13WUtmHgwyxdzfptOEoiqSUrP47D9u2be45pC+PWiv7cWGqTLip8Th6kS6eNdw  
Wznz6Cm5kvSNkOl/qRRRouZ7OkAXZKeLLRg2spKKiKuyjkhLqKhz8Ix9XObHsSu4  
ZjdqkuOPagD9Por9KjjPL+d208hxLbRkA7IczEiz8hOIwLiHGgVaAlwQ1qahFUs=  
=1806  
-----END PGP SIGNATURE-----
