[Paraview] Calculator filter
Liam Healy
lnp at healy.washington.dc.us
Tue Nov 10 17:32:57 EST 2015
Thanks for the advice. Indeed, I can select the two filter outputs and
start up a Python Calculator. Now however, I am stumped: I don't know
how to specify the input vectors which Table to Points created. The
spreadsheet view shows all the fields, and a points column which
happens to be the second vector. I don't know where the first one
went. I was able to find http://www.vtk.org/Wiki/Python_Calculator
which is a nice illustration of capability, but it's not specified
there how "BrownianVectors" got named. If I do mag(Points)
(Points=name at top of spreadsheet) or mag(points) or mag(Position)
(Position = name of my first filter) or mag(input[0]), I get an error.
I've tried looking through the documentation but I'm not even sure
where to look.
Thanks,
Liam
On Tue, Nov 10, 2015 at 2:34 PM, David E DeMarle
<dave.demarle at kitware.com> wrote:
> The Python Calculator will accept multiple sources so I recommend that.
> Otherwise you will need to apply something like the Append or Merge filter
> to produce one source for the standard Calculator's input.
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
> On Tue, Nov 10, 2015 at 2:30 PM, Liam Healy <lnp at healy.washington.dc.us>
> wrote:
>>
>> I am trying to compute a quantity based on two 3-vectors as input. All
>> six components are in six columns of one (csv) file, so I read that in
>> and create two Table to Points filters. I would like to bring up the
>> calculator to compute the magnitudes of each vector, but if I
>> highlight the two filters I cannot select the Calculator tool, it is
>> greyed out. How do I do computations on two (or more) inputs?
>>
>> Thanks,
>> Liam
>> _______________________________________________
>> 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
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>
>
More information about the ParaView
mailing list