Re: [Discuss-gnuradio] trouble creating PMT uniform vectors in python that are the same type, but differ in value

2015-12-21 Thread Marcus Müller
Hi Richard, On 21.12.2015 20:03, Collins, Richard wrote: > Hello Marcus, > > Wow, Thanks for such an in-depth reply! Ha, I had fun writing it :) > > I knew I kept a reference for numpy data types about a month ago for a > reason, but forgot how/when/why GNU Radio uses them. Now it's very > clear

Re: [Discuss-gnuradio] trouble creating PMT uniform vectors in python that are the same type, but differ in value

2015-12-21 Thread Collins, Richard
Hello Marcus, Wow, Thanks for such an in-depth reply! I knew I kept a reference for numpy data types about a month ago for a reason, but forgot how/when/why GNU Radio uses them. Now it's very clear how the whole conversion in python happens based on the data type. I'll print this out and work

Re: [Discuss-gnuradio] trouble creating PMT uniform vectors in python that are the same type, but differ in value

2015-12-19 Thread Marcus Müller
Hi Richard, we need more mails like yours! Sharing recipes and problems is really heavily appreciated :) Let me comment on a few things; it's a while back that I worked with the PMT code, though. > Why does pmt.to_pmt() return a vector, > but fails when tested under pmt.is_uniform_vector() or

[Discuss-gnuradio] trouble creating PMT uniform vectors in python that are the same type, but differ in value

2015-12-18 Thread Collins, Richard
Hello, I just wanted to share some trouble I had trying to create a pmt uniform c32 vector in python, what I found as the fix, and hope to get some insight as to why things are this way. Here's an entry from my notes: THIS CREATES A VECTOR, BUT NOT A UNIFORM OR C32 VECTOR: testv =