Thanks for the link, sounds interesting. I will wait a few days to see if
someone has ideas on the PyBOMBS issues I experience. Else I will try gr
3.7 and your specest version.
Best regards,
Eskil


2013/10/4 Jared Clements <jared.cleme...@gmail.com>

> I updated gr-specest so it would compile with 3.7, see my repo on
> www.github.com/dfxx if you want to try that route.  The changes were
> almost all namespace stuff and cmake stuff, i.e. I don't think I broke
> anything.
>
> Jared
> On Oct 4, 2013 7:33 AM, "Eskil Varenius" <eskil.varen...@gmail.com> wrote:
>
>> Hi everyone,
>> After a long break since June I am now back learning about Gnuradio. I
>> asked in June for a way to average vectors elementwise and Martin Braun
>> suggested the moving_average_Vff block in the gr-specest. He also said it
>> would be available PyBOMBS. Now update:
>>
>> Since I had installed Gnuradio using the build-script I wanted to
>> re-install it using pybombs. I uninstalled the old gnuradio by doing a
>> "sudo make uninstall" in each build directory for the old release. Seems to
>> work. Now I installed gnuradio 3.6 (since gr-specest is still only verified
>> for 3.6, although I'm happy to see people working towards a 3.7 release). I
>> did the install using the instructions on the pybombs quickstart page:
>>
>> git clone git://github.com/pybombs/pybombs
>> cd pybombs
>> git checkout gr-3.6
>> ./pybombs install gnuradio
>>
>> Gnuradio seemed to install without problems but: I realised I had
>> path-problems since I could not start anything (gnuradio companion, import
>> gnuradio etc. fails). Perhaps this was related to me using a custom target
>> directory (/opt/gnuradio_pybombs). I looked around and found path
>> instructions for custom directory installs at "
>> http://gnuradio.org/redmine/projects/gnuradio/wiki/UbuntuInstall#Installing-in-a-custom-directory";,
>> i.e. put the following in my .bashrc:
>>
>> # GNU Radio installation
>> export PATH=$PATH:/opt/gnuradio_pybombs/bin
>> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/gnuradio_pybombs/lib
>> export
>> PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnuradio_pybombs/lib/pkgconfig
>> export
>> PYTHONPATH=$PYTHONPATH:/opt/gnuradio_pybombs/lib/python2.6/site-packages
>>
>> However, that didn't work completely - I still could not find the
>> gnuradio python module. I realised two things: the 2.6 should probably be
>> 2.7 for me, and also the pythonpath should end in dist-packages, not
>> site-packages, since the site-packages folder was empty. After modifying
>> the pythonpath with 2.7 and dist-packages everything runs, I can import
>> gnuradio and also use gnuradio companion. So far so good!
>>
>> Now for gr-specest. I tried to install it using app store (cool stuff,
>> you guys are amazing!) and also just command line which is equivalent, i.e.
>> I run using "sudo ./pybombs install gr-specest" I get a lot of output, but
>> the perhaps most interesting one before it ends abruptly is:
>> -- checking for module 'gruel'
>> --   package 'gruel' not found
>> -- Could NOT find GRUEL (missing:  GRUEL_LIBRARIES GRUEL_INCLUDE_DIRS)
>> -- checking for module 'gnuradio-core'
>> --   package 'gnuradio-core' not found
>> -- Could NOT find GNURADIO_CORE (missing:  GNURADIO_CORE_LIBRARIES
>> GNURADIO_CORE_INCLUDE_DIRS)
>> CMake Error at CMakeLists.txt:100 (message):
>>   Gruel required to compile specest
>>
>> I am lost here. Any ideas? I can give the rest of the output as well, but
>> this is the showstopper as far as I can see. I have tried googling this,
>> but it seems to me that the solution used is to use the build-gnuradio
>> script instead of PyBOMBS. I could do that, but then I would not be able to
>> enjoy installing gr-specest through the app-store ;). Grateful for any
>> advice.
>>
>> Cheers,
>> Eskil
>>
>>
>> 2013/6/24 Martin Braun (CEL) <martin.br...@kit.edu>
>>
>>> On Mon, Jun 24, 2013 at 02:09:51PM +0200, Eskil Varenius wrote:
>>> > The grand plan is as follows:
>>> > 1) Use an USRP to recieve a signal, I know how.
>>> > 2) Divide the stream of samples into vectors, I know how.
>>> > 3) Take the FFT of the vectors one by one, I know how.
>>> > 4) Average the vectors coming from the FFT together element-wise. I
>>> don't know
>>> > how.
>>> > 5) Save the averaged vector to a file, I know how.
>>> >
>>> > What I cannot solve is step 4: I need to take the N vectors (each of
>>> size M)
>>> > coming from the FFT-block and sum them together element-wise to
>>> produce one
>>> > vector of size M.
>>>
>>> The spectral estimation toolbox (gr-specest) has a block to do this
>>> (moving_average_vff). You can get it through PyBOMBS, it is not yet
>>> 3.7-compatible, though.
>>>
>>> https://github.com/kit-cel/gr-specest
>>>
>>> MB
>>>
>>> --
>>> Karlsruhe Institute of Technology (KIT)
>>> Communications Engineering Lab (CEL)
>>>
>>> Dipl.-Ing. Martin Braun
>>> Research Associate
>>>
>>> Kaiserstraße 12
>>> Building 05.01
>>> 76131 Karlsruhe
>>>
>>> Phone: +49 721 608-43790
>>> Fax: +49 721 608-46071
>>> www.cel.kit.edu
>>>
>>> KIT -- University of the State of Baden-Württemberg and
>>> National Laboratory of the Helmholtz Association
>>>
>>> _______________________________________________
>>> Discuss-gnuradio mailing list
>>> Discuss-gnuradio@gnu.org
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>
>>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>>
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to