<?xml version="1.0"?>
<block>
	<name>CW Matched Filter</name>
	<key>satnogs_cw_matched_filter_ff</key>
	<category>satnogs</category>
	<import>import satnogs</import>
	<make>satnogs.cw_matched_filter_ff($sampling_rate, $carrier_freq, $wpm, $energy)</make>
	<callback>set_new_freq_locked($carrier_freq)</callback>
	
	<param>
		<name>Sampling Rate</name>
		<key>sampling_rate</key>
		<type>real</type>
	</param>

	<param>
		<name>Audio Frequency (Hz)</name>
		<key>carrier_freq</key>
		<type>real</type>
	</param>

	<param>
		<name>Words per Minute</name>
		<key>wpm</key>
		<value>20</value>
		<type>int</type>
	</param>
	
	<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>
	
	<sink>
		<name>freq</name>
		<type>message</type>
		<optional>1</optional>
	</sink>

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

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