summaryrefslogtreecommitdiff
path: root/grc/blocks/gr_fractional_interpolator_xx.xml
blob: 8d65ff8bfc517c8925458100107c6c6850aa18a0 (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
<?xml version="1.0"?>
<!--
###################################################
##Fractional Interpolator
###################################################
 -->
<block>
	<name>Fractional Interpolator</name>
	<key>gr_fractional_interpolator_xx</key>
	<import>from gnuradio import gr</import>
	<make>gr.fractional_interpolator_$(type.fcn)($phase_shift, $interp_ratio)</make>
	<callback>set_interp_ratio($interp_ratio)</callback>
	<param>
		<name>Type</name>
		<key>type</key>
		<type>enum</type>
		<option>
			<name>Complex</name>
			<key>complex</key>
			<opt>fcn:cc</opt>
		</option>
		<option>
			<name>Float</name>
			<key>float</key>
			<opt>fcn:ff</opt>
		</option>
	</param>
	<param>
		<name>Phase Shift</name>
		<key>phase_shift</key>
		<type>real</type>
	</param>
	<param>
		<name>Interpolation Ratio</name>
		<key>interp_ratio</key>
		<type>real</type>
	</param>
	<sink>
		<name>in</name>
		<type>$type</type>
	</sink>
	<source>
		<name>out</name>
		<type>$type</type>
	</source>
</block>