488 lines
9.6 KiB
Plaintext
488 lines
9.6 KiB
Plaintext
options:
|
|
parameters:
|
|
author: tempest
|
|
category: '[Tempest]'
|
|
cmake_opt: ''
|
|
comment: ''
|
|
copyright: ''
|
|
description: ''
|
|
gen_cmake: 'On'
|
|
gen_linking: dynamic
|
|
generate_options: hb
|
|
hier_block_src_path: '.:'
|
|
id: FFT_crosscorrelation_
|
|
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: FFT_crosscorrelation
|
|
window_size: ''
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [45, 15]
|
|
rotation: 0
|
|
state: enabled
|
|
|
|
blocks:
|
|
- name: delay_samples_var
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: delay_samples
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [443, 34]
|
|
rotation: 0
|
|
state: true
|
|
- name: fac_size
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: fft_size
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [319, 34]
|
|
rotation: 0
|
|
state: true
|
|
- name: klog
|
|
id: variable
|
|
parameters:
|
|
comment: ''
|
|
value: -20*log10(fac_size)
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [586, 10]
|
|
rotation: 0
|
|
state: true
|
|
- name: blocks_complex_to_mag_0_0
|
|
id: blocks_complex_to_mag
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
vlen: fac_size
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [780, 351]
|
|
rotation: 0
|
|
state: disabled
|
|
- name: blocks_complex_to_mag_squared_0
|
|
id: blocks_complex_to_mag_squared
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
vlen: fac_size
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [759, 325]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: blocks_delay_0
|
|
id: blocks_delay
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
delay: delay_samples_var
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
num_ports: '1'
|
|
type: complex
|
|
vlen: '1'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [243, 402]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: blocks_keep_one_in_n_0
|
|
id: blocks_keep_one_in_n
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
n: fac_decimation
|
|
type: complex
|
|
vlen: fac_size
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [374, 215]
|
|
rotation: 0
|
|
state: true
|
|
- name: blocks_keep_one_in_n_0_0
|
|
id: blocks_keep_one_in_n
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
n: fac_decimation
|
|
type: complex
|
|
vlen: fac_size
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [368, 471]
|
|
rotation: 0
|
|
state: true
|
|
- name: blocks_multiply_conjugate_cc_0
|
|
id: blocks_multiply_conjugate_cc
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
vlen: fac_size
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [635, 261]
|
|
rotation: 0
|
|
state: true
|
|
- name: blocks_nlog10_ff_1
|
|
id: blocks_nlog10_ff
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
k: klog
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
n: '20'
|
|
vlen: fac_size
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [947, 312]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: blocks_stream_to_vector_0
|
|
id: blocks_stream_to_vector
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
num_items: fac_size
|
|
type: complex
|
|
vlen: '1'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [288, 292]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: blocks_stream_to_vector_0_0
|
|
id: blocks_stream_to_vector
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
num_items: fac_size
|
|
type: complex
|
|
vlen: '1'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [394, 391]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: blocks_vector_to_stream_0
|
|
id: blocks_vector_to_stream
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
num_items: fft_size
|
|
type: float
|
|
vlen: '1'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [993, 234]
|
|
rotation: 0
|
|
state: true
|
|
- name: delay_samples
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: delay_samples
|
|
short_id: ''
|
|
type: intx
|
|
value: '0'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [48, 384]
|
|
rotation: 0
|
|
state: true
|
|
- name: fac_decimation
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: fac_decimation
|
|
short_id: ''
|
|
type: intx
|
|
value: '10'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [198, 113]
|
|
rotation: 0
|
|
state: true
|
|
- name: fft_size
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: fft_size
|
|
short_id: ''
|
|
type: intx
|
|
value: int(4096*512)
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [65, 230]
|
|
rotation: 0
|
|
state: true
|
|
- name: fft_vxx_0
|
|
id: fft_vxx
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
fft_size: fac_size
|
|
forward: 'True'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
nthreads: '4'
|
|
shift: 'False'
|
|
type: complex
|
|
window: ()
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [487, 119]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: fft_vxx_0_0
|
|
id: fft_vxx
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
fft_size: fac_size
|
|
forward: 'True'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
nthreads: '4'
|
|
shift: 'False'
|
|
type: complex
|
|
window: ()
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [475, 538]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: fft_vxx_1
|
|
id: fft_vxx
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
fft_size: fac_size
|
|
forward: 'False'
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
nthreads: '4'
|
|
shift: 'True'
|
|
type: complex
|
|
window: ()
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [824, 176]
|
|
rotation: 0
|
|
state: enabled
|
|
- name: import_0
|
|
id: import
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
imports: from math import log10
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [689, 8]
|
|
rotation: 0
|
|
state: true
|
|
- name: pad_sink_0
|
|
id: pad_sink
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
label: out
|
|
num_streams: '1'
|
|
optional: 'False'
|
|
type: float
|
|
vlen: '1'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [1071, 134]
|
|
rotation: 0
|
|
state: true
|
|
- name: pad_source_0
|
|
id: pad_source
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
label: in
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
num_streams: '1'
|
|
optional: 'False'
|
|
type: complex
|
|
vlen: '1'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [80, 335]
|
|
rotation: 0
|
|
state: true
|
|
- name: pad_source_0_0
|
|
id: pad_source
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
comment: ''
|
|
label: in
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
num_streams: '1'
|
|
optional: 'False'
|
|
type: complex
|
|
vlen: '1'
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [102, 569]
|
|
rotation: 0
|
|
state: true
|
|
- name: sample_rate
|
|
id: parameter
|
|
parameters:
|
|
alias: ''
|
|
comment: ''
|
|
hide: none
|
|
label: sample_rate
|
|
short_id: ''
|
|
type: intx
|
|
value: int(50e6)
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [84, 137]
|
|
rotation: 0
|
|
state: true
|
|
- name: single_pole_iir_filter_xx_0
|
|
id: single_pole_iir_filter_xx
|
|
parameters:
|
|
affinity: ''
|
|
alias: ''
|
|
alpha: '1'
|
|
comment: ''
|
|
maxoutbuf: '0'
|
|
minoutbuf: '0'
|
|
type: float
|
|
vlen: fac_size
|
|
states:
|
|
bus_sink: false
|
|
bus_source: false
|
|
bus_structure: null
|
|
coordinate: [870, 429]
|
|
rotation: 0
|
|
state: true
|
|
|
|
connections:
|
|
- [blocks_complex_to_mag_0_0, '0', single_pole_iir_filter_xx_0, '0']
|
|
- [blocks_complex_to_mag_squared_0, '0', single_pole_iir_filter_xx_0, '0']
|
|
- [blocks_delay_0, '0', blocks_stream_to_vector_0_0, '0']
|
|
- [blocks_keep_one_in_n_0, '0', fft_vxx_0, '0']
|
|
- [blocks_keep_one_in_n_0_0, '0', fft_vxx_0_0, '0']
|
|
- [blocks_multiply_conjugate_cc_0, '0', fft_vxx_1, '0']
|
|
- [blocks_nlog10_ff_1, '0', blocks_vector_to_stream_0, '0']
|
|
- [blocks_stream_to_vector_0, '0', blocks_keep_one_in_n_0, '0']
|
|
- [blocks_stream_to_vector_0_0, '0', blocks_keep_one_in_n_0_0, '0']
|
|
- [blocks_vector_to_stream_0, '0', pad_sink_0, '0']
|
|
- [fft_vxx_0, '0', blocks_multiply_conjugate_cc_0, '0']
|
|
- [fft_vxx_0_0, '0', blocks_multiply_conjugate_cc_0, '1']
|
|
- [fft_vxx_1, '0', blocks_complex_to_mag_0_0, '0']
|
|
- [fft_vxx_1, '0', blocks_complex_to_mag_squared_0, '0']
|
|
- [pad_source_0, '0', blocks_stream_to_vector_0, '0']
|
|
- [pad_source_0_0, '0', blocks_delay_0, '0']
|
|
- [single_pole_iir_filter_xx_0, '0', blocks_nlog10_ff_1, '0']
|
|
|
|
metadata:
|
|
file_format: 1
|