summaryrefslogtreecommitdiff
path: root/gr-fft/grc/fft_goertzel_fc.block.yml
blob: 6ea74e7f53e640f5ecc2138631c6a7138ee3e668 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
id: goertzel_fc
label: Goertzel

parameters:
-   id: rate
    label: Rate
    dtype: int
-   id: len
    label: Length
    dtype: int
-   id: freq
    label: Frequency
    dtype: real

inputs:
-   domain: stream
    dtype: float

outputs:
-   domain: stream
    dtype: complex

templates:
    imports: from gnuradio import fft
    make: fft.goertzel_fc(${rate}, ${len}, ${freq})
    callbacks:
    - set_freq(${freq})
    - set_rate(${rate})

file_format: 1