David,<div><br></div><div>David: </div><div>Thanks!  Looks good, and I think this will be useful.</div><div><br></div><div>A couple comments: </div><div>-you have implemented a cumulative average, not a moving average, so I changed or removed "Moving" in all of the user visible text.</div>
<div>-you didn't list yourself in the copyright list.  Are you explicitly assigning the copyright over to me, or do you want to be listed.</div><div>If you are retaining copyright, do I have your explicit permission to commit this to svn, and release it under the GPL?</div>
<div><br></div><div>Nicholas: </div><div>A cumulative average is a filter which replaces each sample with the average of all samples up to that point.  Each sample in the vector has had a different filter applied to it, so its behavior is... different.  </div>
<div><br></div><div>An example use might be to find the long term average value of a sensor (eg, a gyroscope offset).  You would plot this rather than just looking at the mean of the vector in order to see how well the value is converging. In a real-time application it might commonly be used in 'read-to-end' mode.  </div>
<div><br></div><div>A 'moving average' sounds more like what I typically call a 'boxcar' filter - which replaces each sample with the average of N samples around it.  In kst, this is what 'boxcar average' does to data vectors as a very simple (and, rather leaky) anti-aliasing filter before decimation. </div>
<div><br></div><div>cbn<br><br><div class="gmail_quote">On Mon, Sep 3, 2012 at 10:54 PM, David Kruger <span dir="ltr"><<a href="mailto:dxk105@cwru.edu" target="_blank">dxk105@cwru.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've recently been using Kst quite a bit lately with my work. It's a fantastic visualizer, I really appreciate the work you all have put into it.<br><br>My data sets are often noisy, and I was tired of writing equations or pre-processing them to reduce the noise, so I made a plugin to do a simple cumulative moving average on the set. I more-or-less copied cumulativesum.<br>

<br>I thought that others may find it useful, so the patch is attached. It applies against kst-2.0.6. If there is a more proper means to submit the changes for consideration let me know and I will re-submit that way.<br>
<br>
Thanks very much,<br>-David Kruger<br>
<br>_______________________________________________<br>
Kst mailing list<br>
<a href="mailto:Kst@kde.org">Kst@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kst" target="_blank">https://mail.kde.org/mailman/listinfo/kst</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;color:rgb(136,136,136)">C. Barth Netterfield<br>University of Toronto<br>
416-845-0946</span><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;color:rgb(136,136,136)"><br></span></div><br>
</div>