Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/share/doc/libclam-doc/html/ |
Current File : //proc/self/root/usr/share/doc/libclam-doc/html/classSimac_1_1CircularPeakPicking.html |
<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>CLAM-Development: Simac::CircularPeakPicking Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">CLAM-Development  <span id="projectnumber">1.4.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceSimac.html">Simac</a></li><li class="navelem"><a class="el" href="classSimac_1_1CircularPeakPicking.html">CircularPeakPicking</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-types">Public Types</a> | <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <div class="title">Simac::CircularPeakPicking Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>This processing takes a vector of scalars magnitudes and returns a list of peaks found considering that the first and last bins are neighbors. <a href="classSimac_1_1CircularPeakPicking.html#details">More...</a></p> <p><code>#include <<a class="el" href="CircularPeakPicking_8hxx_source.html">CircularPeakPicking.hxx</a>></code></p> <p><a href="classSimac_1_1CircularPeakPicking-members.html">List of all members.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="pub-types"></a> Public Types</h2></td></tr> <tr class="memitem:afe33d4d9db82e2fa6d28b6e9a22f7980"><td class="memItemLeft" align="right" valign="top">typedef std::vector< std::pair<br class="typebreak"/> < double, double > > </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimac_1_1CircularPeakPicking.html#afe33d4d9db82e2fa6d28b6e9a22f7980">PeakList</a></td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a56c8a3a1a86e8c9955b82e36f8f2739c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimac_1_1CircularPeakPicking.html#a56c8a3a1a86e8c9955b82e36f8f2739c">CircularPeakPicking</a> (<a class="el" href="classunsigned.html">unsigned</a> chromagramSize, double binSize=1.0, double offset=0.0)</td></tr> <tr class="memitem:a10cc93bd77dcdb0c99e711dc57dc9510"><td class="memItemLeft" align="right" valign="top">std::pair< double, double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimac_1_1CircularPeakPicking.html#a10cc93bd77dcdb0c99e711dc57dc9510">interpolate</a> (double y0, double y1, double y2)</td></tr> <tr class="memdesc:a10cc93bd77dcdb0c99e711dc57dc9510"><td class="mdescLeft"> </td><td class="mdescRight">Find the maximum of an interpolated quadratic polynomial function giving the samples at three equidistant points at x=0, x=1 and x=2. <a href="#a10cc93bd77dcdb0c99e711dc57dc9510"></a><br/></td></tr> <tr class="memitem:a951929321644ddca8d2f3b8c4467d6b8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimac_1_1CircularPeakPicking.html#a951929321644ddca8d2f3b8c4467d6b8">doIt</a> (const std::vector< double > &chromagram)</td></tr> <tr class="memitem:a9ea6921360b95a9a94a7c4850c5f2e99"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classSimac_1_1CircularPeakPicking.html#afe33d4d9db82e2fa6d28b6e9a22f7980">PeakList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classSimac_1_1CircularPeakPicking.html#a9ea6921360b95a9a94a7c4850c5f2e99">output</a> () const </td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>This processing takes a vector of scalars magnitudes and returns a list of peaks found considering that the first and last bins are neighbors. </p> <p>Peaks are detected when there is a bin that is greater that neighbor at both sides. Then peak position and value are interpolated using a quadratic function that passes also by the two neighbors bins.</p> <p>The first bin is considered at offset and each bin increases binSize. By default, binSize and offset are 1 and 0 so that the bin position matches the resulting position.</p> <dl class="section author"><dt>Author:</dt><dd>David Garcia </dd></dl> <p>Definition at line <a class="el" href="CircularPeakPicking_8hxx_source.html#l00045">45</a> of file <a class="el" href="CircularPeakPicking_8hxx_source.html">CircularPeakPicking.hxx</a>.</p> </div><hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="afe33d4d9db82e2fa6d28b6e9a22f7980"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef std::vector<std::pair<double, double> > <a class="el" href="classSimac_1_1CircularPeakPicking.html#afe33d4d9db82e2fa6d28b6e9a22f7980">Simac::CircularPeakPicking::PeakList</a></td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CircularPeakPicking_8hxx_source.html#l00048">48</a> of file <a class="el" href="CircularPeakPicking_8hxx_source.html">CircularPeakPicking.hxx</a>.</p> </div> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a56c8a3a1a86e8c9955b82e36f8f2739c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Simac::CircularPeakPicking::CircularPeakPicking </td> <td>(</td> <td class="paramtype"><a class="el" href="classunsigned.html">unsigned</a> </td> <td class="paramname"><em>chromagramSize</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>binSize</em> = <code>1.0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>offset</em> = <code>0.0</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CircularPeakPicking_8hxx_source.html#l00055">55</a> of file <a class="el" href="CircularPeakPicking_8hxx_source.html">CircularPeakPicking.hxx</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a951929321644ddca8d2f3b8c4467d6b8"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">void Simac::CircularPeakPicking::doIt </td> <td>(</td> <td class="paramtype">const std::vector< double > & </td> <td class="paramname"><em>chromagram</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CircularPeakPicking_8hxx_source.html#l00106">106</a> of file <a class="el" href="CircularPeakPicking_8hxx_source.html">CircularPeakPicking.hxx</a>.</p> <p>References <a class="el" href="CircularPeakPicking_8hxx_source.html#l00070">interpolate()</a>.</p> <p>Referenced by <a class="el" href="ChordExtractor_8hxx_source.html#l00100">Simac::ChordExtractor::doIt()</a>.</p> </div> </div> <a class="anchor" id="a10cc93bd77dcdb0c99e711dc57dc9510"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">std::pair<double,double> Simac::CircularPeakPicking::interpolate </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>y0</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>y1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>y2</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Find the maximum of an interpolated quadratic polynomial function giving the samples at three equidistant points at x=0, x=1 and x=2. </p> <p>You can use it for any equidistant samples just by adding x0 to the resulting xmax.</p> <dl class="section pre"><dt>Precondition:</dt><dd>The function will fail when y0>=y1 or y2>=y1, as it is supposed to be applied after having located a peak in y1. </dd></dl> <dl class="section return"><dt>Returns:</dt><dd>A pair containing xmax,ymax </dd></dl> <p>Definition at line <a class="el" href="CircularPeakPicking_8hxx_source.html#l00070">70</a> of file <a class="el" href="CircularPeakPicking_8hxx_source.html">CircularPeakPicking.hxx</a>.</p> <p>Referenced by <a class="el" href="CircularPeakPicking_8hxx_source.html#l00106">doIt()</a>.</p> </div> </div> <a class="anchor" id="a9ea6921360b95a9a94a7c4850c5f2e99"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const <a class="el" href="classSimac_1_1CircularPeakPicking.html#afe33d4d9db82e2fa6d28b6e9a22f7980">PeakList</a>& Simac::CircularPeakPicking::output </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Definition at line <a class="el" href="CircularPeakPicking_8hxx_source.html#l00132">132</a> of file <a class="el" href="CircularPeakPicking_8hxx_source.html">CircularPeakPicking.hxx</a>.</p> <p>Referenced by <a class="el" href="ChordExtractor_8hxx_source.html#l00100">Simac::ChordExtractor::doIt()</a>, and <a class="el" href="ChordExtractor_8hxx_source.html#l00180">Simac::ChordExtractor::peaks()</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="CircularPeakPicking_8hxx_source.html">CircularPeakPicking.hxx</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1 </small></address> </body> </html>
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare