summaryrefslogtreecommitdiff
path: root/grc/blocks/blks2_pfb_channelizer.xml
blob: 5a93c08664e7932bb3565867951a38b17cc3d948 (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
58
59
60
61
62
<?xml version="1.0"?>
<!--
###################################################
##Polyphase Channelizer
###################################################
 -->
<block>
	<name>Polyphase Channelizer</name>
	<key>blks2_pfb_channelizer_ccf</key>
	<import>from gnuradio import blks2</import>
	<import>from gnuradio.gr import firdes</import>
	<make>blks2.pfb_channelizer_ccf(
	  $nchans,
	  $taps,
	  $osr,
	  $atten)
self.$(id).set_channel_map($ch_map)
	</make>
	<!-- Set taps not implemented yet
           <callback>set_taps($taps)</callback>
         -->
        <callback>set_channel_map($ch_map)</callback>

	<param>
		<name>Channels</name>
		<key>nchans</key>
		<type>int</type>
	</param>
	<param>
		<name>Taps</name>
		<key>taps</key>
		<value>None</value>
		<type>real_vector</type>
	</param>
	<param>
		<name>Over Sample Ratio</name>
		<key>osr</key>
		<value>1.0</value>
		<type>real</type>
	</param>
	<param>
		<name>Attenuation</name>
		<key>atten</key>
		<value>100</value>
		<type>real</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>
	</sink>
	<source>
		<name>out</name>
		<type>complex</type>
		<nports>$nchans</nports>
	</source>
</block>