3
###################################################
6
###################################################
9
<name>Random Source</name>
10
<key>random_source_x</key>
11
<import>from gnuradio import gr</import>
12
<import>import numpy</import>
13
<make>gr.vector_source_$(type.fcn)(map(int, numpy.random.randint($min, $max, $num_samps)), $repeat)</make>
15
<name>Output Type</name>
47
<name>Num Samples</name>
71
Generate num samples of random numbers of [min, max). Repeat samples if specified.
73
Ex: With min=0 and max=2, the sequence 01110101... will be generated.