summaryrefslogtreecommitdiff
path: root/grc/blocks/blks2_pfb_arb_resampler.xml
blob: b4e09791f38a302ab9af7ea1460f464364b0456d (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
<?xml version="1.0"?>
<!--
###################################################
##Polyphase Arbitrary Resampler
###################################################
 -->
<block>
	<name>Polyphase Resampler</name>
	<key>blks2_pfb_arb_resampler_ccf</key>
	<import>from gnuradio import blks2</import>
	<import>from gnuradio.gr import firdes</import>
	<make>blks2.pfb_arb_resampler_ccf(
	$rate,
	$taps,
	$size,
)</make>
	<!-- Set taps not implemented yet 
           <callback>set_taps($taps)</callback>
         -->
	<callback>set_rate($rate)</callback>
	<param>
		<name>Resample Rate</name>
		<key>rate</key>
		<type>real</type>
	</param>
	<param>
		<name>Taps</name>
		<key>taps</key>
		<type>real_vector</type>
	</param>
	<param>
		<name>Size (# phases)</name>
		<key>size</key>
		<value>32</value>
		<type>int</type>
	</param>
	<sink>
		<name>in</name>
		<type>complex</type>
	</sink>
	<source>
		<name>out</name>
		<type>complex</type>
	</source>
</block>