options: parameters: author: mettus category: Custom cmake_opt: '' comment: '' copyright: '' description: '' gen_cmake: 'On' gen_linking: dynamic generate_options: qt_gui hier_block_src_path: '.:' id: demo_spec_an max_nouts: '0' output_language: python placement: (0,0) qt_qss_theme: '' realtime_scheduling: '' run: 'True' run_command: '{python} -u {filename}' run_options: prompt sizing_mode: fixed thread_safe_setters: '' title: '' window_size: 1280, 1024 states: coordinate: [16, 12.0] rotation: 0 state: enabled blocks: - name: fft_size id: variable parameters: comment: '' value: '1000' states: coordinate: [200, 12.0] rotation: 0 state: enabled - name: freq_offset id: variable_qtgui_range parameters: comment: '' gui_hint: '' label: Frequency Offset min_len: '200' orient: Qt.Horizontal rangeType: float start: -5*samp_rate/fft_size step: '1' stop: 5*samp_rate/fft_size value: '0' widget: counter_slider states: coordinate: [560, 12.0] rotation: 0 state: enabled - name: samp_rate id: variable parameters: comment: '' value: '100000' states: coordinate: [272, 12.0] rotation: 0 state: enabled - name: snr id: variable_qtgui_range parameters: comment: '' gui_hint: '' label: Noise Level min_len: '200' orient: Qt.Horizontal rangeType: float start: '-100' step: '1' stop: '100' value: '0' widget: counter_slider states: coordinate: [440, 12.0] rotation: 0 state: enabled - name: analog_noise_source_x_0 id: analog_noise_source_x parameters: affinity: '' alias: '' amp: math.pow(10.0,snr/20.0) comment: '' maxoutbuf: '0' minoutbuf: '0' noise_type: analog.GR_GAUSSIAN seed: '42' type: complex states: coordinate: [72, 300.0] rotation: 0 state: enabled - name: analog_sig_source_x_0 id: analog_sig_source_x parameters: affinity: '' alias: '' amp: '1.0' comment: '' freq: float(samp_rate)/float(fft_size)*26+freq_offset maxoutbuf: '0' minoutbuf: '0' offset: '0' samp_rate: samp_rate type: complex waveform: analog.GR_COS_WAVE states: coordinate: [88, 172.0] rotation: 0 state: enabled - name: blocks_add_xx_0 id: blocks_add_xx parameters: affinity: '' alias: '' comment: '' maxoutbuf: '0' minoutbuf: '0' num_inputs: '2' type: complex vlen: '1' states: coordinate: [296, 472.0] rotation: 0 state: enabled - name: blocks_divide_xx_0 id: blocks_divide_xx parameters: affinity: '' alias: '' comment: '' maxoutbuf: '0' minoutbuf: '0' num_inputs: '2' type: float vlen: '1' states: coordinate: [472, 288.0] rotation: 0 state: enabled - name: blocks_nlog10_ff_0 id: blocks_nlog10_ff parameters: affinity: '' alias: '' comment: '' k: '0' maxoutbuf: '0' minoutbuf: '0' n: '20' vlen: '1' states: coordinate: [584, 300.0] rotation: 0 state: enabled - name: blocks_rms_xx_0 id: blocks_rms_xx parameters: affinity: '' alias: '' alpha: '.0001' comment: '' maxoutbuf: '0' minoutbuf: '0' type: complex states: coordinate: [288, 316.0] rotation: 0 state: enabled - name: blocks_rms_xx_0_0 id: blocks_rms_xx parameters: affinity: '' alias: '' alpha: '.0001' comment: '' maxoutbuf: '0' minoutbuf: '0' type: complex states: coordinate: [288, 204.0] rotation: 0 state: enabled - name: blocks_throttle_0 id: blocks_throttle parameters: affinity: '' alias: '' comment: '' ignoretag: 'True' maxoutbuf: '0' minoutbuf: '0' samples_per_second: samp_rate type: complex vlen: '1' states: coordinate: [392, 484.0] rotation: 0 state: enabled - name: imp0 id: import parameters: alias: '' comment: '' imports: import math states: coordinate: [16, 92.0] rotation: 0 state: enabled - name: qtgui_freq_sink_x_0 id: qtgui_freq_sink_x parameters: affinity: '' alias: '' alpha1: '1.0' alpha10: '1.0' alpha2: '1.0' alpha3: '1.0' alpha4: '1.0' alpha5: '1.0' alpha6: '1.0' alpha7: '1.0' alpha8: '1.0' alpha9: '1.0' autoscale: 'True' average: '1.0' axislabels: 'True' bw: '1.0' color1: '"blue"' color10: '"dark blue"' color2: '"red"' color3: '"green"' color4: '"black"' color5: '"cyan"' color6: '"magenta"' color7: '"yellow"' color8: '"dark red"' color9: '"dark green"' comment: '' ctrlpanel: 'False' fc: '0' fftsize: '1024' freqhalf: 'True' grid: 'False' gui_hint: '' label: Relative Gain label1: '' label10: '' label2: '' label3: '' label4: '' label5: '' label6: '' label7: '' label8: '' label9: '' legend: 'True' maxoutbuf: '0' minoutbuf: '0' name: FFT Plot nconnections: '1' showports: 'True' tr_chan: '0' tr_level: '0.0' tr_mode: qtgui.TRIG_MODE_FREE tr_tag: '""' type: complex units: dB update_time: '0.10' width1: '1' width10: '1' width2: '1' width3: '1' width4: '1' width5: '1' width6: '1' width7: '1' width8: '1' width9: '1' wintype: window.WIN_FLATTOP ymax: '10' ymin: '-140' states: coordinate: [680, 460.0] rotation: 0 state: enabled - name: qtgui_number_sink_0 id: qtgui_number_sink parameters: affinity: '' alias: '' autoscale: 'False' avg: '0' color1: ("black", "black") color10: ("black", "black") color2: ("black", "black") color3: ("black", "black") color4: ("black", "black") color5: ("black", "black") color6: ("black", "black") color7: ("black", "black") color8: ("black", "black") color9: ("black", "black") comment: '' factor1: '1' factor10: '1' factor2: '1' factor3: '1' factor4: '1' factor5: '1' factor6: '1' factor7: '1' factor8: '1' factor9: '1' graph_type: qtgui.NUM_GRAPH_HORIZ gui_hint: '' label1: Noise Amplitude label10: '' label2: '' label3: '' label4: '' label5: '' label6: '' label7: '' label8: '' label9: '' max: '100' min: '0' name: '""' nconnections: '1' type: float unit1: '' unit10: '' unit2: '' unit3: '' unit4: '' unit5: '' unit6: '' unit7: '' unit8: '' unit9: '' update_time: '0.10' states: coordinate: [680, 372.0] rotation: 0 state: enabled - name: qtgui_number_sink_signal_amplitude id: qtgui_number_sink parameters: affinity: '' alias: '' autoscale: 'False' avg: '0' color1: ("black", "black") color10: ("black", "black") color2: ("black", "black") color3: ("black", "black") color4: ("black", "black") color5: ("black", "black") color6: ("black", "black") color7: ("black", "black") color8: ("black", "black") color9: ("black", "black") comment: '' factor1: '1' factor10: '1' factor2: '1' factor3: '1' factor4: '1' factor5: '1' factor6: '1' factor7: '1' factor8: '1' factor9: '1' graph_type: qtgui.NUM_GRAPH_HORIZ gui_hint: '' label1: Signal Amplitude label10: '' label2: '' label3: '' label4: '' label5: '' label6: '' label7: '' label8: '' label9: '' max: '2' min: '0' name: '""' nconnections: '1' type: float unit1: '' unit10: '' unit2: '' unit3: '' unit4: '' unit5: '' unit6: '' unit7: '' unit8: '' unit9: '' update_time: '0.10' states: coordinate: [680, 188.0] rotation: 0 state: enabled - name: qtgui_number_sink_snr id: qtgui_number_sink parameters: affinity: '' alias: '' autoscale: 'True' avg: '0' color1: ("black", "black") color10: ("black", "black") color2: ("black", "black") color3: ("black", "black") color4: ("black", "black") color5: ("black", "black") color6: ("black", "black") color7: ("black", "black") color8: ("black", "black") color9: ("black", "black") comment: '' factor1: '1' factor10: '1' factor2: '1' factor3: '1' factor4: '1' factor5: '1' factor6: '1' factor7: '1' factor8: '1' factor9: '1' graph_type: qtgui.NUM_GRAPH_HORIZ gui_hint: '' label1: SNR label10: '' label2: '' label3: '' label4: '' label5: '' label6: '' label7: '' label8: '' label9: '' max: '1' min: '-1' name: '""' nconnections: '1' type: float unit1: '' unit10: '' unit2: '' unit3: '' unit4: '' unit5: '' unit6: '' unit7: '' unit8: '' unit9: '' update_time: '0.10' states: coordinate: [680, 284.0] rotation: 0 state: enabled - name: qtgui_time_sink_x_0 id: qtgui_time_sink_x parameters: affinity: '' alias: '' alpha1: '1.0' alpha10: '1.0' alpha2: '1.0' alpha3: '1.0' alpha4: '1.0' alpha5: '1.0' alpha6: '1.0' alpha7: '1.0' alpha8: '1.0' alpha9: '1.0' autoscale: 'False' axislabels: 'True' color1: '"blue"' color10: '"blue"' color2: '"red"' color3: '"green"' color4: '"black"' color5: '"cyan"' color6: '"magenta"' color7: '"yellow"' color8: '"dark red"' color9: '"dark green"' comment: '' ctrlpanel: 'False' entags: 'True' grid: 'False' gui_hint: '' label1: '' label10: '' label2: '' label3: '' label4: '' label5: '' label6: '' label7: '' label8: '' label9: '' legend: 'True' marker1: '-1' marker10: '-1' marker2: '-1' marker3: '-1' marker4: '-1' marker5: '-1' marker6: '-1' marker7: '-1' marker8: '-1' marker9: '-1' name: Scope Plot nconnections: '1' size: '1024' srate: samp_rate stemplot: 'False' style1: '1' style10: '1' style2: '1' style3: '1' style4: '1' style5: '1' style6: '1' style7: '1' style8: '1' style9: '1' tr_chan: '0' tr_delay: '0' tr_level: '0.0' tr_mode: qtgui.TRIG_MODE_FREE tr_slope: qtgui.TRIG_SLOPE_POS tr_tag: '""' type: complex update_time: '0.10' width1: '1' width10: '1' width2: '1' width3: '1' width4: '1' width5: '1' width6: '1' width7: '1' width8: '1' width9: '1' ylabel: Amplitude ymax: '1' ymin: '-1' yunit: '""' states: coordinate: [680, 572.0] rotation: 0 state: disabled connections: - [analog_noise_source_x_0, '0', blocks_add_xx_0, '1'] - [analog_noise_source_x_0, '0', blocks_rms_xx_0, '0'] - [analog_sig_source_x_0, '0', blocks_add_xx_0, '0'] - [analog_sig_source_x_0, '0', blocks_rms_xx_0_0, '0'] - [blocks_add_xx_0, '0', blocks_throttle_0, '0'] - [blocks_divide_xx_0, '0', blocks_nlog10_ff_0, '0'] - [blocks_nlog10_ff_0, '0', qtgui_number_sink_snr, '0'] - [blocks_rms_xx_0, '0', blocks_divide_xx_0, '1'] - [blocks_rms_xx_0, '0', qtgui_number_sink_0, '0'] - [blocks_rms_xx_0_0, '0', blocks_divide_xx_0, '0'] - [blocks_rms_xx_0_0, '0', qtgui_number_sink_signal_amplitude, '0'] - [blocks_throttle_0, '0', qtgui_freq_sink_x_0, '0'] - [blocks_throttle_0, '0', qtgui_time_sink_x_0, '0'] metadata: file_format: 1