Random Sourcerandom_source_xfrom gnuradio import grimport numpygr.vector_source_$(type.fcn)(numpy.random.randint($min, $max, $num_samps), $repeat)Output TypetypeenumMinimummin0intMaximummax2intNum Samplesnum_samps1000intRepeatrepeatTrueenum
Generate num samples of random numbers of [min, max). Repeat samples if specified.
Ex: With min=0 and max=2, the sequence 01110101... will be generated.