On Fri, Oct 28, 2011 at 08:06:40AM -0600, wallen wrote:
>
> Well, here is the code I cobbled together to do this. It is nothing
> fancy.
Though it can't be adapted as easily to more sophisticated processing as
your python code, I often use this one-liner to do the same thing:
$ od -fvw8 filename
On Thu, 2011-10-27 at 19:00 -0600, hasanimam wrote:
> Hello,
>
> I am in deep deep trouble. And it would be really great if somebody come up
> with any sort of help.
Well, here is the code I cobbled together to do this. It is nothing
fancy.
- Wayde
--
>
> Still no ray of hope.
>
> I am pasting the complete code here.
>
> ---
> collect_raw_data = gr.file_sink(self.fft_size, "observed_data")
>
> numpy.fromfile("ob
Still no ray of hope.
I am pasting the complete code here.
---
collect_raw_data = gr.file_sink(self.fft_size, "observed_data")
numpy.fromfile("observed_data",
On 27/10/11 11:00 PM, hasanimam wrote:
> To Josh and Marcus,
>
> Well I tried all aspects.
> Here is what I did,
>
> a = numpy.fromfile("observed_data", dtype=numpy.complex64, count=-1, sep='')
> file = open ("outputfile", "w")
> for n in range(0,len(a)):
>outstr = ("%f" % a[n]) + "\n"
>fil
To Josh and Marcus,
Well I tried all aspects.
Here is what I did,
a = numpy.fromfile("observed_data", dtype=numpy.complex64, count=-1, sep='')
file = open ("outputfile", "w")
for n in range(0,len(a)):
outstr = ("%f" % a[n]) + "\n"
file.write (outstr)
file.close()
The output file does not
On 10/27/2011 07:09 PM, hasanimam wrote:
>
> Well, I have been able to run the program somehow. The following code is what
> I used.
>
> import numpy
>
> numpy.fromfile("observed_data", dtype=float, count=-1, sep='')
>
See my previous email about the data type. I do not think you want to
par
On 27/10/11 10:09 PM, hasanimam wrote:
> Well, I have been able to run the program somehow. The following code is what
> I used.
>
> import numpy
>
> numpy.fromfile("observed_data", dtype=float, count=-1, sep='')
>
> Now, the problem is that the file I am getting does not show anything. I
> mean th
Well, I have been able to run the program somehow. The following code is what
I used.
import numpy
numpy.fromfile("observed_data", dtype=float, count=-1, sep='')
Now, the problem is that the file I am getting does not show anything. I
mean the characters in the file are still unreadable.
I wan
Hello Josh,
Thank you. In fact I am a very newcomer to use gnuradio.
I tried to follow your advice.
I wrote the code in python like,
numpy.fromfile(observed_data, dtype=float, count=-1, sep='')
Here, observed_data is the file which is created using the gr_file_sink
command.
However, it gives an e
Hello Marcus,
I really appreciate your help.
Those files (read_float_binary.m and read_complex_binary.m) are MATLAB
macros, intended to be used directly by MatLab.
Did you mean that, the binary file which will be created by the
gr_file_sink, is needed Matlab to open?
Ok, then I will take the f
On 10/27/2011 06:14 PM, hasanimam wrote:
>
> Hello Marcus,
>
> I really appreciate your help.
>> Those files (read_float_binary.m and read_complex_binary.m) are MATLAB
> macros, intended to be used directly by MatLab.
>
> Did you mean that, the binary file which will be created by the
> gr_fi
Hello Marcus,
I really appreciate your help.
>Those files (read_float_binary.m and read_complex_binary.m) are MATLAB
macros, intended to be used directly by MatLab.
Did you mean that, the binary file which will be created by the
gr_file_sink, is needed Matlab to open?
Ok, then I will take the f
Hello,
I am in deep deep trouble. And it would be really great if somebody come up
with any sort of help.
I am trying to collect the raw data using USRP2. I used the
gr_file_sink(itemsize, "filename") for this. The "filename" is a binary file
and so it cant be seen/open. I googled in the interne
Hello,
I am in deep deep trouble. And it would be really great if somebody come up
with any sort of help.
I am trying to collect the raw data using USRP2. I used the
gr_file_sink(itemsize, "filename") for this. The "filename" is a binary file
and so it cant be seen/open. I googled in the interne
15 matches
Mail list logo