<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>GNU Radio 3.3.0 C++ API: gr_peak_detector_sb.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.3 --> <div class="contents"> <h1>gr_peak_detector_sb.h File Reference</h1><code>#include <<a class="el" href="gr__sync__block_8h_source.html">gr_sync_block.h</a>></code><br/> <div class="dynheader"> Include dependency graph for gr_peak_detector_sb.h:</div> <div class="dynsection"> <div class="center"><img src="gr__peak__detector__sb_8h__incl.png" border="0" usemap="#gr__peak__detector__sb_8h_map" alt=""/></div> <map name="gr__peak__detector__sb_8h_map" id="gr__peak__detector__sb_8h"> <area shape="rect" id="node3" href="gr__sync__block_8h.html" title="gr_sync_block.h" alt="" coords="347,83,464,112"/><area shape="rect" id="node5" href="gr__block_8h.html" title="gr_block.h" alt="" coords="364,160,447,189"/><area shape="rect" id="node7" href="gr__basic__block_8h.html" title="gr_basic_block.h" alt="" coords="345,237,465,267"/><area shape="rect" id="node9" href="gr__runtime__types_8h.html" title="gr_runtime_types.h" alt="" coords="135,315,268,344"/><area shape="rect" id="node23" href="gr__sptr__magic_8h_source.html" title="gr_sptr_magic.h" alt="" coords="5,392,120,421"/><area shape="rect" id="node28" href="gr__msg__accepter_8h.html" title="gr_msg_accepter.h" alt="" coords="543,315,676,344"/><area shape="rect" id="node11" href="gr__types_8h.html" title="gr_types.h" alt="" coords="160,392,243,421"/><area shape="rect" id="node19" href="gr__complex_8h.html" title="gr_complex.h" alt="" coords="300,469,399,499"/><area shape="rect" id="node30" href="msg__accepter_8h.html" title="gruel/msg_accepter.h" alt="" coords="437,392,584,421"/><area shape="rect" id="node32" href="pmt_8h.html" title="gruel/pmt.h" alt="" coords="579,469,664,499"/><area shape="rect" id="node48" href="pmt__sugar_8h.html" title="gruel/pmt_sugar.h" alt="" coords="580,547,705,576"/></map> </div> <p><a href="gr__peak__detector__sb_8h_source.html">Go to the source code of this file.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__peak__detector__sb.html">gr_peak_detector_sb</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Detect the peak of a signalIf a peak is detected, this block outputs a 1, or it outputs 0's. <a href="classgr__peak__detector__sb.html#_details">More...</a><br/></td></tr> <tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1shared__ptr.html">gr_peak_detector_sb_sptr</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="gr__peak__detector__sb_8h.html#a708efa550746930b7b48fc5142f5948b">gr_make_peak_detector_sb</a> (float threshold_factor_rise=0.25, float threshold_factor_fall=0.40, int look_ahead=10, float alpha=0.001)</td></tr> </table> <hr/><h2>Function Documentation</h2> <a class="anchor" id="a708efa550746930b7b48fc5142f5948b"></a><!-- doxytag: member="gr_peak_detector_sb.h::gr_make_peak_detector_sb" ref="a708efa550746930b7b48fc5142f5948b" args="(float threshold_factor_rise=0.25, float threshold_factor_fall=0.40, int look_ahead=10, float alpha=0.001)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">gr_peak_detector_sb_sptr</a> gr_make_peak_detector_sb </td> <td>(</td> <td class="paramtype">float </td> <td class="paramname"> <em>threshold_factor_rise</em> = <code>0.25</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"> <em>threshold_factor_fall</em> = <code>0.40</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>look_ahead</em> = <code>10</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">float </td> <td class="paramname"> <em>alpha</em> = <code>0.001</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Dec 29 19:51:50 2010 for GNU Radio 3.3.0 C++ API by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>