[Kst] Fixed Differentiation Time Step
Nicolas.Brisset at eurocopter.com
Tue Jul 24 07:39:35 UTC 2012
The fixed step differentiation plugin, like all of the filter plugins, assumes a constant sample rate (which, in this case, is a parameter in the plugin). In other words, it probably isn't what you want :-(
One could ~easily write a plugin which would take both X and Y and do what you want.... Use one of the fit plugins as a template.
Hey, there's a much easier way to achieve that than writing your own plugin:
1) Generate a regularly-spaced time vector (Create -> Vector, then Generate and select the appropriate min, max and number of points)
2) Use an interpolation plugin: Create -> Standard Plugin -> Interpolation [xxx], use the previous regular time vector as X' vector
3) Do the differentiation on the interpolated, regularly-sampled data.
@Barth: I tried using [Time:Min (X2)] and [Time:Max (X1)] as bounds in the fields of the Generate vector dialog and it does not seem to work. I thought it did, have I been dreaming?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kst