satnogs_cw_matched_filter_ff.xml 1.02 KB
Newer Older
1 2
<?xml version="1.0"?>
<block>
3 4 5 6
	<name>CW Matched Filter</name>
	<key>satnogs_cw_matched_filter_ff</key>
	<category>satnogs</category>
	<import>import satnogs</import>
7 8 9
	<make>satnogs.cw_matched_filter_ff($sampling_rate, $carrier_freq, $wpm, $energy)</make>
	<callback>set_new_freq_locked($carrier_freq)</callback>
	
10 11 12 13 14
	<param>
		<name>Sampling Rate</name>
		<key>sampling_rate</key>
		<type>real</type>
	</param>
15

16 17 18 19 20
	<param>
		<name>Audio Frequency (Hz)</name>
		<key>carrier_freq</key>
		<type>real</type>
	</param>
21

22 23 24 25 26 27
	<param>
		<name>Words per Minute</name>
		<key>wpm</key>
		<value>20</value>
		<type>int</type>
	</param>
Manolis Surligas's avatar
Manolis Surligas committed
28 29 30 31 32 33 34 35 36 37 38 39 40 41
	
	<param>
		<name>Compute Energy</name>
		<key>energy</key>
		<type>enum</type>
		<option>
			<name>No</name>
			<key>False</key>
		</option>
		<option>
			<name>Yes</name>
			<key>True</key>
		</option>
	</param>
42 43 44 45 46 47
	
	<sink>
		<name>freq</name>
		<type>message</type>
		<optional>1</optional>
	</sink>
48 49 50 51 52 53 54 55 56 57

	<sink>
		<name>in</name>
		<type>float</type>
	</sink>

	<source>
		<name>out</name>
		<type>float</type>
	</source>
58
</block>