Hi Jeremy,

I put together a plugin for doing the integration, based on the
DatasetPlugin example on your website.  I'd be happy for you to
distribute this under the Veusz license.

Perhaps there could be a "Calculus" submenu under "Operations", which
would have this, and maybe a numerical derivative operation.

Steve



On Thu, Jun 28, 2012 at 9:23 AM, Jeremy Sanders
<[email protected]> wrote:
> On 28/06/12 14:20, Jeremy Sanders wrote:
>> On 27/06/12 16:27, Steve Richardson wrote:
>>> Hi,
>>>
>>> I have a 1D dataset which I would like to integrate numerically and
>>> then plot.  Is this possible in Veusz?  I checked in Data->Operations,
>>> but didn't see anything like that.
>>
>> Numpy has a trapz function which does trapezoid integration. You should
>> be able to use the create dataset dialog with an expression like
>
> By the way, the next release has a "cumulative sum" plugin which would
> almost be an integration for a fixed bin width (if the bin width is small!).
>
> Jeremy
>
>

Attachment: integrateplugin.py
Description: Binary data

_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss

Répondre à