[Discuss-gnuradio] Re: How to install python-numpy&&libboost on Ubuntu system

2008-02-01 Thread Karthik Vijayraghavan
Hi,

I compiled gnuradio from source in Ubuntu 7.10 and I was having the same
problems as you until I realized that you need to install the development
packages for almost all the dependencies. There are some where you don't
need the -dev packages, but it doesn't hurt to install them. So go ahead and
install the "-dev" packages for all the dependencies using synaptic. In your
case it will be "python-numpy-dev" and "libboost-dev".

Hope that helps.

Karthik


> Message: 1
> Date: Sat, 2 Feb 2008 01:26:34 +0800
> From: "JackyYang" <[EMAIL PROTECTED]>
> Subject: [Discuss-gnuradio]How to install python-numpy&&libboost on
>Ubuntu  system
> To: 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi:
>
>
>
> Have anyone use Ubuntu(6.1) system to install gnuradio?
>
>
>
> When I use "synaptic" to install "python-numpy"&&"libboost", that I can't
> search the two package.
>
>
>
> I try to download python-numpy-ext, but I can't success to install.
>
>
>
> He tell me:
>
> Error:Dependency is not satisfiable:python-numpy
>
>
>
> How can I do?
>
> Thanks.
>
> -- next part --
> An HTML attachment was scrubbed...
> URL:
> http://lists.gnu.org/pipermail/discuss-gnuradio/attachments/20080202/4e2de921/attachment.html
>
> --
>
> Message: 2
> Date: Fri, 1 Feb 2008 10:01:37 -0800
> From: "Johnathan Corgan" <[EMAIL PROTECTED]>
> Subject: Re: [Discuss-gnuradio]How to install python-numpy&&libboost
>on Ubuntu   system
> To: JackyYang <[EMAIL PROTECTED]>
> Cc: discuss-gnuradio@gnu.org
> Message-ID:
><[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 2/1/08, JackyYang <[EMAIL PROTECTED]> wrote:
>
> > Have anyone use Ubuntu(6.1) system to install gnuradio?
>
> > Error:Dependency is not satisfiable:python-numpy
>
> Please enable the "universe" and "multiverse" repositories in Synaptic.
>
> --
> Johnathan Corgan
> Corgan Enterprises LLC
> http://corganenterprises.com/
>
>
>
> Message: 7
> Date: Sat, 2 Feb 2008 04:44:16 +0800
> From: "JackyYang" <[EMAIL PROTECTED]>
> Subject: RE: [Discuss-gnuradio]How to install python-numpy&&libboost
>on Ubuntu   system
> To: "'Johnathan Corgan'" <[EMAIL PROTECTED]>
> Cc: discuss-gnuradio@gnu.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain;   charset="us-ascii"
>
> Hi:
>
> I try to enable the "universe" and "multiverse" repositories, but it is
> not
> use.
> I try to ask someone on internet, that he is use Ubuntu 7.04.
> He can search the "python-numpy" in the Synaptic, he say maybe Ubnutu not
> support python-numpy at 6.10.
>
> And I try to use "apt-get" command to installed, but the same result too.
>
> If I use Ubnutu 7.04 to install GNURadio, is it ok?
>
> -Original Message-
> From: Johnathan Corgan [mailto:[EMAIL PROTECTED]
> Sent: Saturday, February 02, 2008 2:02 AM
> To: JackyYang
> Cc: discuss-gnuradio@gnu.org
> Subject: Re: [Discuss-gnuradio]How to install python-numpy&&libboost on
> Ubuntu system
>
> On 2/1/08, JackyYang <[EMAIL PROTECTED]> wrote:
>
> > Have anyone use Ubuntu(6.1) system to install gnuradio?
>
> > Error:Dependency is not satisfiable:python-numpy
>
> Please enable the "universe" and "multiverse" repositories in Synaptic.
>
> --
> Johnathan Corgan
> Corgan Enterprises LLC
> http://corganenterprises.com/
>
>
>
>
>
> --
>
> Message: 8
> Date: Fri, 01 Feb 2008 12:55:21 -0800
> From: Johnathan Corgan <[EMAIL PROTECTED]>
> Subject: Re: [Discuss-gnuradio]How to install python-numpy&&libboost
>on Ubuntu   system
> To: JackyYang <[EMAIL PROTECTED]>
> Cc: discuss-gnuradio@gnu.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> JackyYang wrote:
>
> > If I use Ubnutu 7.04 to install GNURadio, is it ok?
>
> I'd recommend 7.10 for reasons unrelated to GNU Radio.
>
> --
> Johnathan Corgan
> Corgan Enterprises LLC
> http://corganenterprises.com
>
>
>
>
> --
>
> Message: 9
> Date: Fri, 1 Feb 2008 13:35:12 -0800 (PST)
> From: Firas Abbas <[EMAIL PROTECTED]>
> Subject: RE: [Discuss-gnuradio]How to install python-numpy&&libboost
>on Ubuntu   system
> To: JackyYang <[EMAIL PROTECTED]>,  'Johnathan Corgan'
><[EMAIL PROTECTED]>
> Cc: discuss-gnuradio@gnu.org
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi,
>
> Follow :
> http://gnuradio.org/trac/wiki/NumpyInstall
>
> and you will get red of this problem.
>
> Regards,
>
> Firas
>
> JackyYang <[EMAIL PROTECTED]> wrote: Hi:
>
> I try to enable the "universe" and "multiverse" repositories, but it is
> not
> use.
> I try to ask someone on internet, that he is use Ubuntu 7.04.
> He can search the "python-numpy" in the Synaptic, he say maybe Ubnutu not
> support python-numpy at 6.10.
>
> And I try to use "apt-get" command to installed, but the same result too.
>
> If I use Ubnutu 7.04 to install GNURadio, is it ok

Re: [Discuss-gnuradio] We WILL be removing gr.flow_graph from the trunk soon

2008-02-01 Thread Eric Blossom
On Fri, Feb 01, 2008 at 05:35:04PM -0500, Marcus Leech wrote:
> Eric Blossom wrote:
>> We said this back in December, but we really mean it now...
>>
>> Those of you who are using the trunk and haven't converted to the new
>> top_block/hier_block2 way of doing things should either do so now, or
>> switch to the 3.1 stable branch.
>>
>> Eric
>>
>>   
> I *think* my RA applications have been converted--they use stdgui2, instead 
> of stdgui:
>
>  class app_flow_graph(stdgui2.std_top_block):

Yep.  Johnathan has converted pretty much all the code in the trunk.
There may be a few still left, but we'll make sure they're converted
before excising gr.flow_graph();

Eric


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] We WILL be removing gr.flow_graph from the trunk soon

2008-02-01 Thread Marcus Leech

Eric Blossom wrote:

We said this back in December, but we really mean it now...

Those of you who are using the trunk and haven't converted to the new
top_block/hier_block2 way of doing things should either do so now, or
switch to the 3.1 stable branch.

Eric


  
I *think* my RA applications have been converted--they use stdgui2, 
instead of stdgui:


 class app_flow_graph(stdgui2.std_top_block):





signature.asc
Description: OpenPGP digital signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


RE: [Discuss-gnuradio]How to install python-numpy&&libboost on Ubuntu system

2008-02-01 Thread Firas Abbas
Hi,

Follow :
http://gnuradio.org/trac/wiki/NumpyInstall

and you will get red of this problem.

Regards,

Firas

JackyYang <[EMAIL PROTECTED]> wrote: Hi:

I try to enable the "universe" and "multiverse" repositories, but it is not
use.
I try to ask someone on internet, that he is use Ubuntu 7.04.
He can search the "python-numpy" in the Synaptic, he say maybe Ubnutu not
support python-numpy at 6.10.

And I try to use "apt-get" command to installed, but the same result too.

If I use Ubnutu 7.04 to install GNURadio, is it ok?

-Original Message-
From: Johnathan Corgan [mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 02, 2008 2:02 AM
To: JackyYang
Cc: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio]How to install python-numpy&&libboost on
Ubuntu system

On 2/1/08, JackyYang <[EMAIL PROTECTED]> wrote:

> Have anyone use Ubuntu(6.1) system to install gnuradio?

> Error:Dependency is not satisfiable:python-numpy

Please enable the "universe" and "multiverse" repositories in Synaptic.

-- 
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com/



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio]How to install python-numpy&&libboost on Ubuntu system

2008-02-01 Thread Johnathan Corgan
JackyYang wrote:

> If I use Ubnutu 7.04 to install GNURadio, is it ok?

I'd recommend 7.10 for reasons unrelated to GNU Radio.

-- 
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


RE: [Discuss-gnuradio]How to install python-numpy&&libboost on Ubuntu system

2008-02-01 Thread JackyYang
Hi:

I try to enable the "universe" and "multiverse" repositories, but it is not
use.
I try to ask someone on internet, that he is use Ubuntu 7.04.
He can search the "python-numpy" in the Synaptic, he say maybe Ubnutu not
support python-numpy at 6.10.

And I try to use "apt-get" command to installed, but the same result too.

If I use Ubnutu 7.04 to install GNURadio, is it ok?

-Original Message-
From: Johnathan Corgan [mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 02, 2008 2:02 AM
To: JackyYang
Cc: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio]How to install python-numpy&&libboost on
Ubuntu system

On 2/1/08, JackyYang <[EMAIL PROTECTED]> wrote:

> Have anyone use Ubuntu(6.1) system to install gnuradio?

> Error:Dependency is not satisfiable:python-numpy

Please enable the "universe" and "multiverse" repositories in Synaptic.

-- 
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com/



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] We WILL be removing gr.flow_graph from the trunk soon

2008-02-01 Thread Firas Abbas
Hi,

I'm using the great gnuradio from about 9 months. But, until now, I don't know 
the advantage or the difference between the (new) top_block and the (old)  
gr_flow_graph ?
Some explanation will be highly appreciated.

Best Regards,

Firas

Eric Blossom <[EMAIL PROTECTED]> wrote: We said this back in December, but we 
really mean it now...

Those of you who are using the trunk and haven't converted to the new
top_block/hier_block2 way of doing things should either do so now, or
switch to the 3.1 stable branch.

Eric


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] We WILL be removing gr.flow_graph from the trunk soon

2008-02-01 Thread Eric Blossom
We said this back in December, but we really mean it now...

Those of you who are using the trunk and haven't converted to the new
top_block/hier_block2 way of doing things should either do so now, or
switch to the 3.1 stable branch.

Eric


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Python 3.0 backward incompatible

2008-02-01 Thread Philip Balister
I read the article (the subject is pretty inflammatory) and it does
sound like the Python guys do have a reasonable timetable (Python 3
release in 2009) and that python 2.6 will happen and contain features
to help people move toward python 3.0.

Philip

On Feb 1, 2008 2:40 PM, Newell Jensen <[EMAIL PROTECTED]> wrote:
> http://www.itnews.com.au/News/69326,python-30-to-be-backwards-incompatible.aspx
>
> Thought the list might find this interesting news.
>
> Newell
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Python 3.0 backward incompatible

2008-02-01 Thread Newell Jensen
http://www.itnews.com.au/News/69326,python-30-to-be-backwards-incompatible.aspx

Thought the list might find this interesting news.

Newell
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio]How to install python-numpy&&libboost on Ubuntu system

2008-02-01 Thread Johnathan Corgan
On 2/1/08, JackyYang <[EMAIL PROTECTED]> wrote:

> Have anyone use Ubuntu(6.1) system to install gnuradio?

> Error:Dependency is not satisfiable:python-numpy

Please enable the "universe" and "multiverse" repositories in Synaptic.

-- 
Johnathan Corgan
Corgan Enterprises LLC
http://corganenterprises.com/


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio]How to install python-numpy&&libboost on Ubuntu system

2008-02-01 Thread JackyYang
Hi:

 

Have anyone use Ubuntu(6.1) system to install gnuradio?

 

When I use "synaptic" to install "python-numpy"&&"libboost", that I can't
search the two package.

 

I try to download python-numpy-ext, but I can't success to install.

 

He tell me:

Error:Dependency is not satisfiable:python-numpy

 

How can I do?

Thanks.

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Lost a byte of data

2008-02-01 Thread Eric Blossom
On Wed, Jan 30, 2008 at 05:43:48AM -0800, Fasika Alemayehu wrote:
> Hi all,
> 
> I have been using gnuradio to receive the data from the front end
> hardware.  I have made a file sink to see the data. And the data
> pattern seems to lose a byte , and this occurs every 1024 bytes. I
> think the software reads 16KB of data but the error comes ever
> 1KB. I am using a SSRP module to interface with the hardware, in
> Ubuntu Gutsy. I have attached the portion of the file where the
> change occurs. The unexpected byte error comes at 5113444.
> 
>  5113360  f887  fd25   f80b   fd26  f8ad   fdaf   f819   fcd0
>  5113400  f83b  fd29  f858   fd3f   f80b   fd7b   f8d2  fe23
>  5113420  f92a  fd6d  f7a8   fd83   f89f   fd2e   f800  fd2c
>  5113440  f8a3  fd7f   d700  41f7   0bfd   aff8   85fd  adf8
>  5113460  9afd  96f8  35fc   aaf8  7cfcbff8   effd   f5f7
>  5113500  5afc 93f8   6cfd   5ff8   c9fd   1ef8   4ffd   21f8
> 
> Any suggestion is of great help. 
> 
> Fasika

Sorry, I don't know of anybody else using an SSRP.

Do all SSRP's do this?  You may want to start with the schematics,
then look at the FX2 firmware, and from there to the host library.

Eric


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] help generating frequency offset

2008-02-01 Thread Brian Padalino
On Feb 1, 2008 10:48 AM, George Nychis <[EMAIL PROTECTED]> wrote:
> Let me step all the way back and just try to be a little clearer with
> what I'm trying to do.
>
> I'm trying to simulate the frequency offset added by the crystal
> oscillator in the USRP.  64MHz*20ppm/1e6=1280Hz max, +/- ?
>
> So, I'm trying to add this frequency offset to a modulated GMSK signal.
>
> I believe the proper solution, which Brian suggested to me, is too
> upconvert and then downconvert to add the frequency offset.

Sorry, bad advice - an easier way to do this would just do a complex
mult against your frequency offset signal.

> But, is it possible to just use gr_rotator to apply the frequency offset
> instead by setting the phase equal to offset/sampling_rate*2*pi ?  If
> I'm simulating the USRP at 1Msps with 2 samples per symbol, I think I
> would set it to 1280Hz/500KHz*2*pi.
>
> http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-core/src/lib/filter/gr_rotator.h
>
> But, I'm not entirely sure this is accomplishing what I want to.

Try this:

lfsr = gr.lfsr_32k_source_s( )
mod = gmsk_mod( self, 2 )
offset = gr.sig_source_c( 500e3, gr.GR_COS_WAVE, 100, 1.0, 0+0j )
mixer = gr.multiply_cc( )

s_to_f  =   gr.short_to_float( )
f_to_char  =   gr.float_to_char( )

self.connect( lfsr, s_to_f )
self.connect( s_to_f, f_to_char )
self.connect( f_to_char, mod.head )
self.connect( mod.tail, (mixer,0) )
self.connect( offset, (mixer,1))
self.connect( mixer, self.cscope )

This connects an LFSR up to the modulator input, but you get the idea.
 You have a phasor being your offset slowly rotating your signal at a
rate of 100Hz.

I believe this will model the frequency offsets properly.

Brian


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] help generating frequency offset

2008-02-01 Thread George Nychis



Matt Ettus wrote:

George Nychis wrote:

Hi all,

I'm attempting to generate frequency offset in a script that is adding 
some channel features:

  http://cyprus.cmcl.cs.cmu.edu/matched_filter/gen_noise_samples.py

The frequency offset is specified, for which the original signal is 
mixed and then the offset signal is added with the noise.


But I'm not seeing the appropriate frequency offset.  If I specify a 
frequency offset of 100Hz, I'm only seeing a single point shift, all 
other points are the same as if there is no offset:

  http://cyprus.cmcl.cs.cmu.edu/matched_filter/graphs/freq_offset.jpg


I'm not sure what you have plotted in that picture.  Is that just the 
raw samples?  Can you write out to a file both the 2 inputs to the mixer 
and the 1 output?  Then do an FFT on all 3 in octave to make sure the 
frequency has really moved as you expected.


Matt



Let me step all the way back and just try to be a little clearer with 
what I'm trying to do.


I'm trying to simulate the frequency offset added by the crystal 
oscillator in the USRP.  64MHz*20ppm/1e6=1280Hz max, +/- ?


So, I'm trying to add this frequency offset to a modulated GMSK signal.

I believe the proper solution, which Brian suggested to me, is too 
upconvert and then downconvert to add the frequency offset.


But, is it possible to just use gr_rotator to apply the frequency offset 
instead by setting the phase equal to offset/sampling_rate*2*pi ?  If 
I'm simulating the USRP at 1Msps with 2 samples per symbol, I think I 
would set it to 1280Hz/500KHz*2*pi.


http://gnuradio.org/trac/browser/gnuradio/trunk/gnuradio-core/src/lib/filter/gr_rotator.h

But, I'm not entirely sure this is accomplishing what I want to.

- George


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Ofdm parameters

2008-02-01 Thread Jacopo
Hello I'm studing an OFDM implementation on gnuradio. I want to modify
benchmark_ofdm_tx.py.

I have just read ofdm.py and trasmit_path.py but I can't find how change
some parameters.

I'd want a bandwith of 20Mhz, where I can set this option? Where can I set
the carriers number? And the pilot bins?

Is it possible to set an adaptive modulation for differents carriers?

Thanks a lot!

Jacopo
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio