blob: 768bc730183fbbce4f08b937a0a380b7d40ce319 (
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: blocks_transcendental
label: Transcendental
parameters:
- id: type
label: Type
dtype: enum
options: [complex_double, float]
option_labels: [Complex, Float]
option_attributes:
type: [complex, float]
hide: part
- id: name
label: Function Name
dtype: string
default: cos
inputs:
- domain: stream
dtype: ${ type.type }
outputs:
- domain: stream
dtype: ${ type.type }
templates:
imports: from gnuradio import blocks
make: blocks.transcendental(${name}, "$type")
file_format: 1
|