[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] gr-buffer usage
From: |
Trond Danielsen |
Subject: |
Re: [Discuss-gnuradio] gr-buffer usage |
Date: |
Mon, 6 Aug 2007 16:58:29 +0200 |
2007/7/25, Vincenzo Pellegrini <address@hidden>:
> i think my problem is that numpy's fromfile() provides this as an output
>
> [ -1.38586906e+38 +1.12948992e+32j 1.43605805e+30 -4.40817649e-09j
> 8.78218944e+08 -1.98631123e-14j ..., 4.88822397e+23 +2.90330289e
> +13j
> 5.91237359e-02 +4.88047634e+23j -5.31466166e+33 -3.25484218e-18j]
>
> which gets refused from gr.vector_source
>
> instead of this
>
> [ -1.38586906e+38 +1.12948992e+32j , 1.43605805e+30 -4.40817649e-09j
> 8.78218944e+08 -1.98631123e-14j , 4.88822397e+23 +2.90330289e+13j
> 5.91237359e-02 +4.88047634e+23j , -5.31466166e+33 -3.25484218e-18j]
>
> which works fine.
>
> I haven't been able to find much documentation about numpy so I don't
> know how to convert between these data types..
>
> does anyone know where to look?
http://www.scipy.org
--
Trond Danielsen
- Re: [Discuss-gnuradio] gr-buffer usage,
Trond Danielsen <=