You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.2 KiB
57 lines
1.2 KiB
# auto-generated by grc.converter |
|
|
|
id: multirds_pilot_SNR |
|
label: pilot_SNR |
|
category: '[multirds]' |
|
|
|
parameters: |
|
- id: debug |
|
label: Debug |
|
dtype: bool |
|
default: 'False' |
|
options: ['True', 'False'] |
|
option_labels: [Enable, Disable] |
|
- id: carrier_freq |
|
label: carrier_freq |
|
dtype: float |
|
default: 19e3 |
|
- id: gap_width |
|
label: gap_width |
|
dtype: float |
|
default: 4e3 |
|
- id: update_period |
|
label: update_period |
|
dtype: float |
|
default: '0.2' |
|
- id: samp_rate |
|
label: samp_rate |
|
dtype: int |
|
default: '240000' |
|
- id: fft_len |
|
label: fft_len |
|
dtype: int |
|
default: '2048' |
|
- id: msg_adr |
|
label: msg_adr |
|
dtype: int |
|
default: '3' |
|
|
|
inputs: |
|
- domain: stream |
|
dtype: float |
|
vlen: ${ fft_len } |
|
|
|
outputs: |
|
- domain: message |
|
id: out |
|
optional: true |
|
|
|
templates: |
|
imports: import multirds |
|
make: multirds.pilot_SNR(${debug}, ${samp_rate}, ${fft_len}, ${carrier_freq},${gap_width}, |
|
${msg_adr},${update_period}) |
|
|
|
documentation: |- |
|
outputs PMT pair of longs (msg_adr . SNR) SNR is calculated as difference (in dB) between the 19k carrier power and the average power between carrier_freq-gap_width and carrier_freq+gap_width \ |
|
|
|
file_format: 1
|
|
|