<?xml version="1.0" encoding="windows-1252"?>
<node id="546794" title="Re: How do I find peaks in noisy data?" created="2006-05-01 20:21:11" updated="2006-05-01 16:21:11">
<type id="11">
note</type>
<author id="205152">
nothingmuch</author>
<data>
<field name="doctext">
compute the derivative of the wave pattern, and then whenever it is, say, over the last 4 samples by average larger than say .25 then you probably have a candidate for a peak. Keep looking till it stops rising, then try to find something with a proportionate declination in the derivative function.
&lt;p&gt;
If the noise is random you can use something like [http://www.fourmilab.ch/random/|ent]. This way you can look at long sample window and decide if it's got any islands or not in it.
&lt;p&gt;
This can get false islands in, but is also more sensitive than 
&lt;p&gt;
There are more complicated algorithms, like the dolby stuff but that's probably overkill.
&lt;p&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-205152"&gt;
-nuffin&lt;br&gt;zz zZ Z   Z #!perl
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
545901</field>
<field name="parent_node">
545901</field>
</data>
</node>
