<br><br><div class="gmail_quote">On Thu, Sep 13, 2012 at 7:53 PM, Nicolas Brisset <span dir="ltr"><<a href="mailto:nicolas.brisset@eurocopter.com" target="_blank">nicolas.brisset@eurocopter.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">SVN commit 1316195 by brisset:<br>
<br>
Some changes to the cumulative sum plugin:<br>- do not make it a filter plugin so that it appears under the "Standard Plugin" menu, which is where I would expect it<br></blockquote><div><br></div><div>But.... it is a filter in the kst sense.  That is, it takes in a vector, and outputs a vector which could sensibly be plotted against the same X vector as the original vector.  Calling it a filter makes it very easy to plot the integral of a vector from the rmb menu in a plot.</div>
<div><br></div><div>So... should we change the name from 'filter' to something else?  If so what?  The category is a good and useful one.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
1) we have two almost identical copies of the differentiation plugin. One is enough, I think the one in src/plugins/filters is the good one<br>
but it should also be made "Generic", not "Filter" type. I can make that change (i.e. remove the second one) if nobody minds.</blockquote><div><br></div><div>I will remove the Generic one.  Filter is the one we want to keep (since it is a 'filter').</div>
<div> </div><div>2) (*BAD*) cumulative sum and differentiation plugins are not properly saved to the .kst file and are lost upon reloading. Try to read any</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

vector, add one of those plugins, create a new curve in a new plot, save and reload the saved file: plugins are gone! This has to be fixed!! I<br>
actually fear it is the case we other plugins (I tried only low pass, but it also gets lost)<br></blockquote><div><br></div><div>Fixed</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

3) when using a filter plugin from the Create menu (not the RMB contextual menu), a curve gets created in a new plot with a completely wrong x<br>
axis. The behavior is not consistent with other plugins created from the menu, for which no curve is created. And if a curve gets created, it<br>
should at least try to figure out the right X vector (to make it simple: use that of the first input vector). Or even better: also include the<br>
curve creation/placement part of the dialog when the plugin is called from the menu<br></blockquote><div><br></div><div>I have 'fixed' it so it simply doesn't create a curve at all.  But your suggestion is probably better.</div>
<div> </div></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>