blob: a42cff358936cfb655ecd8253704853b09b4b5cb (
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
31
32
33
34
35
36
|
<?xml version="1.0"?>
<!--
###################################################
##Float to Complex:
## one or two input streams
###################################################
-->
<block>
<name>Float To Complex</name>
<key>gr_float_to_complex</key>
<import>from gnuradio import gr</import>
<make>gr.float_to_complex($vlen)</make>
<param>
<name>Vec Length</name>
<key>vlen</key>
<value>1</value>
<type>int</type>
</param>
<check>$vlen > 0</check>
<sink>
<name>re</name>
<type>float</type>
<vlen>$vlen</vlen>
</sink>
<sink>
<name>im</name>
<type>float</type>
<vlen>$vlen</vlen>
<optional>1</optional>
</sink>
<source>
<name>out</name>
<type>complex</type>
<vlen>$vlen</vlen>
</source>
</block>
|