2007/7/25, Vincenzo Pellegrini <[EMAIL PROTECTED]>: > 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 _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio