<?xml version="1.0"?>
<block>
  <name>Plateau Detector</name>
  <key>blocks_plateau_detector_fb</key>
  <import>from gnuradio import blocks</import>
  <make>blocks.plateau_detector_fb($max_len, $threshold)</make>
  <callback>set_threshold($threshold)</callback>
  <param>
    <name>Max. plateau length</name>
    <key>max_len</key>
    <type>int</type>
  </param>
  <param>
    <name>Threshold</name>
    <key>threshold</key>
    <value>0.9</value>
    <type>real</type>
  </param>
  <sink>
    <name>in</name>
    <type>float</type>
  </sink>
  <source>
    <name>out</name>
    <type>byte</type>
  </source>
</block>
