GRC embedded Python vector support

2019-11-22 Thread Marcus D. Leech
So, I'm trying to implement and embedded Python block that handles vectors where the vector length is defined at runtime--like most blocks that take vector-length inputs. But GRC only "recognizes" the I/O signature as being vector if the dimension is of a fixed size, and invariate with respec

Re: GRC embedded Python vector support

2019-11-23 Thread Glen Langston
Hi Marcus, I’ve implemented two very simple “vector median” codes, one in python and the other in c++. These take run-time defined vectors and in series and decimate, returning the median of the 4 or more vectors. The vector length is an argument. see python/ra_vmedian.py in git clone http:/

Re: GRC embedded Python vector support

2019-11-23 Thread Marcus D. Leech
On 11/23/2019 08:22 AM, Glen Langston wrote: Hi Marcus, I’ve implemented two very simple “vector median” codes, one in python and the other in c++. These take run-time defined vectors and in series and decimate, returning the median of the 4 or more vectors. The vector length is an argument.

Re: GRC embedded Python vector support

2019-11-23 Thread Marcus D. Leech
On 11/23/2019 08:22 AM, Glen Langston wrote: Hi Marcus, I’ve implemented two very simple “vector median” codes, one in python and the other in c++. These take run-time defined vectors and in series and decimate, returning the median of the 4 or more vectors. The vector length is an argument.