[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] ofdm parameters
From: |
Marcus Müller |
Subject: |
Re: [Discuss-gnuradio] ofdm parameters |
Date: |
Sat, 21 Jun 2014 16:29:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
Hello Sara,
It's hard to tell without you offering us the actual line where you call
make, but from looking at your symbols variable I'd say you have a tuple
containing a tuple of tuples of floats,
and what you need would be a
tuple of tuples containing complexes.
Note that (1,1j) is *not* a complex, but 1+1j is.
Greetings,
Marcus
On 21.06.2014 16:00, Sara Chérif wrote:
> Hello ,
>
> I want to implement ofdm system with these parameters:
>
> FFT length=128
>
> Occupied subcarriers=117.
>
> 4 pilots
>
> 1 DC
>
> 6 zeros subcarriers .
>
> I put these parameters in ofdm tx & ofdm Rx:
>
> Occupied carriers =(range(-58,-42)+range(-41, -14) + range(-13, -7) +
> range(-6, 0) + range(1, 7) + range(7, 14) + range(15, 42)+range(43,60),)
>
> pilots carriers=((-42, -14, 14, 42,),)
>
> pilot symbols =(((-1,1j),(1,-1j),(-1,1j),(-1j,1),),)
>
>
> But I got this error , I don't understand what is wrong
>
>
> File
> "/usr/local/lib/python2.7/dist-packages/gnuradio/digital/digital_swig.py",
> line 4635, in make
> return _digital_swig.ofdm_equalizer_simpledfe_make(*args, **kwargs)
> TypeError: in method 'ofdm_equalizer_simpledfe_make', argument 5 of type
> 'std::vector< std::vector< gr_complex,std::allocator< gr_complex >
>> ,std::allocator< std::vector< gr_complex,std::allocator< gr_complex > > >
>> const &'
>
> Thanks.
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>