Signal Source gr_sig_source_x from gnuradio import gr gr.sig_source_$(type.fcn)($samp_rate, $waveform, $freq, $amp, $offset) set_sampling_freq($samp_rate) set_waveform($waveform) set_frequency($freq) set_amplitude($amp) set_offset($offset) Output Type type enum Sample Rate samp_rate samp_rate real Waveform waveform gr.GR_COS_WAVE raw Frequency freq 1000 real Amplitude amp 1 real Offset offset 0 $type.offset_type out $type