<?xml version="1.0"?>
<!--
###################################################
##Peak Detector2
###################################################
 -->
<block>
	<name>Peak Detector2</name>
	<key>blocks_peak_detector2_fb</key>
	<import>from gnuradio import blocks</import>
	<make>blocks.peak_detector2_fb($threshold_factor_rise, $look_ahead, $alpha)</make>
	<callback>set_threshold_factor_rise($threshold_factor_rise)</callback>
	<callback>set_look_ahead($look_ahead)</callback>
	<callback>set_alpha($alpha)</callback>
	<param>
		<name>TH Factor Rise</name>
		<key>threshold_factor_rise</key>
                <value>7</value>
		<type>real</type>
	</param>
	<param>
		<name>Look Ahead</name>
		<key>look_ahead</key>
                <value>1000</value>
		<type>int</type>
	</param>
	<param>
		<name>Alpha</name>
		<key>alpha</key>
                <value>0.001</value>
		<type>real</type>
	</param>
	<sink>
		<name>in</name>
		<type>float</type>
	</sink>
	<source>
		<name>out</name>
		<type>byte</type>
	</source>
	<source>
		<name>debug</name>
		<type>float</type>
                <optional>1</optional>
	</source>
</block>
