USRP Radio Astronomy

Hi,

Hope someone is able to help. I have gnuradio 3.1.1 on LINUX 7.10 and
have now managed to install pyephem from a previous problem. The fm
radio works fine but when I try to run radio astronomy I receive the
following.

Thank you,

Frank

anthony@anthony-desktop:~/gnuradio/gr-radio-astronomy/src/python$
usrp_ra_receiver.py

Traceback (most recent call last):
File “/usr/local/bin/usrp_ra_receiver.py”, line 34, in
import FFT
ImportError: No module named FFT


The next generation of MSN Hotmail has arrived - Windows Live Hotmail
http://www.newhotmail.co.uk

Frank Rawlins wrote:

Frank:

I just got back from travel.

I don’t know why you don’t have the FFT module.

When I run python on my system in interactive mode, I can:

Python 2.5 (r25:51908, Nov 6 2007, 16:54:01)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-27)] on linux2
Type “help”, “copyright”, “credits” or “license” for more information.

import FFT

Which works just fine.

Do you have python-numeric installed?

You need package:

python-numeric-24.2-4.fc7

Installed on your system to get this package.

Eric B. wrote:

Marcus, Numeric is deprecated by everybody, not just us.
Is there an equivalent import that uses numpy instead?

Eric

OK, I didn’t realize that it was deprecated.

Indeed, numpy has FFT support, and when I get a moment, I’ll fix this.

On Mon, Dec 10, 2007 at 11:00:50AM -0800, Eric B. wrote:

On Mon, Dec 10, 2007 at 12:33:31PM -0500, Marcus L. wrote:

Eric B. wrote:

Marcus, Numeric is deprecated by everybody, not just us.
Is there an equivalent import that uses numpy instead?

I had to take that into account with wsjt

I did this in wsjt.py

try:
from numpy.oldnumeric import zeros
except:
from Numeric import zeros

wsjt should work fine with numpy in the future.

Thanks!

On Mon, Dec 10, 2007 at 01:29:50AM -0500, Marcus L. wrote:

anthony@anthony-desktop:~/gnuradio/gr-radio-astronomy/src/python$ usrp_ra_receiver.py

python-numeric-24.2-4.fc7

Installed on your system to get this package.

Marcus, Numeric is deprecated by everybody, not just us.
Is there an equivalent import that uses numpy instead?

Eric

On Mon, Dec 10, 2007 at 12:33:31PM -0500, Marcus L. wrote:

Indeed, numpy has FFT support, and when I get a moment, I’ll fix this.

Thanks!