blob: 49e5cb0321ceb2868f60e36f9df4ee9ca79447ff (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
<?xml version="1.0"?>
<!--
###################################################
##Polyphase Synthesis Filterbank
###################################################
-->
<block>
<name>Polyphase Synthesizer</name>
<key>gr_pfb_synthesizer_ccf</key>
<import>from gnuradio import gr</import>
<import>from gnuradio.gr import firdes</import>
<make>gr.pfb_synthesizer_ccf(
$numchans, $taps, $twox)
self.$(id).set_channel_map($ch_map)
</make>
<callback>set_taps($taps)</callback>
<callback>set_channel_map($ch_map)</callback>
<param>
<name>Channels</name>
<key>numchans</key>
<value>2</value>
<type>int</type>
</param>
<param>
<name>Connections</name>
<key>connections</key>
<value>2</value>
<type>int</type>
</param>
<param>
<name>Taps</name>
<key>taps</key>
<type>real_vector</type>
</param>
<param>
<name>2x Sample Rate</name>
<key>twox</key>
<value>False</value>
<type>bool</type>
</param>
<param>
<name>Channel Map</name>
<key>ch_map</key>
<value>[]</value>
<type>int_vector</type>
</param>
<sink>
<name>in</name>
<type>complex</type>
<nports>$connections</nports>
</sink>
<source>
<name>out</name>
<type>complex</type>
</source>
</block>
|