[Paraview] Comparing two curves

Moreland, Kenneth kmorel at sandia.gov
Thu Mar 22 10:24:41 EDT 2012


There is no filter to my knowledge that does what you ask.  However, assuming that your two curves have the same number of points in the same order, I think you achieve what you want by passing both to the Python Calculator and using the following expression:

mag(inputs[0].Points - inputs[1].Points)

I hope that's clear.

-Ken

From: Abdullahi Sanusi <scontact101 at gmail.com<mailto:scontact101 at gmail.com>>
Date: Thu, 22 Mar 2012 11:24:24 +0000
To: <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXTERNAL] [Paraview] Comparing two curves

Hi All,
Given two curves A and B with point set A={p1,q1,r1} and B={p2,q2,r2}. I want to determine if the two curves are the same (similar) and compute the similarity score. Your kind advice will be well appreciated.
Cheer,
Abdul.
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120322/a1b0f4b9/attachment.htm>


More information about the ParaView mailing list