discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reading File Sink output in Python


From: dave_abel
Subject: Reading File Sink output in Python
Date: Thu, 03 Oct 2024 16:19:50 +1000

I have been trying to read, with Python/Numpy, a file created by a File Sink. That file is for a stream of floats.

Numpy is 1.21.5.  GNU Radio is 3.10.11.

The File Sink wiki page, in the hints on reading from Python, gives float32 as a data type.  Float32 has been deprecated (Numpy  1.20, 1.24).  The default (only?) float data type in Numpy now is float64.  Is this a known issue, please?

The C code on the wiki page works fine.

Perhaps there's another simple workaround?

Dave Abel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]