[Paraview] (no subject)

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Thu Mar 30 10:35:32 EDT 2017


Isn't that simply a sum of all the rows in the output of
 integrateSqrVarOverSpace filter?

If so, that can be done by using another *ProgrammableFilter* with  the
following *Script*:

from numpy import sum
for inTable, outTable in zip(inputs[0], output):

    for aname in inTable.RowData.keys():

        outTable.RowData.append(sum(inTable.RowData[aname]), aname)


Utkarsh




On Wed, Mar 29, 2017 at 1:15 PM, John Haase <jhaase1 at nd.edu> wrote:

> Sorry, that's not what I wanted. I want to integrate the variable
> "integrateSqrVarOverSpace", over time as well.
>
> Regards,
>
> John R. Haase
> jhaase1 at nd.edu
>
> On Wed, Mar 29, 2017 at 1:05 PM, Utkarsh Ayachit <
> utkarsh.ayachit at kitware.com> wrote:
>
>> Your script worked for me for the most part with ParaView 5.3. All I did
>> was added a plot view to show the results (attached). If that what you were
>> looking for?
>>
>> On Wed, Mar 29, 2017 at 12:30 PM, John Haase <jhaase1 at nd.edu> wrote:
>>
>>> They are very large. I believe you should be able to access them through
>>> this link
>>>
>>> https://notredame.box.com/s/qy0p9y5jg71jwxtzfey80xiq9i9udk5s
>>>
>>> Regards,
>>>
>>> John R. Haase
>>> jhaase1 at nd.edu
>>>
>>> On Wed, Mar 29, 2017 at 12:06 PM, Utkarsh Ayachit <
>>> utkarsh.ayachit at kitware.com> wrote:
>>>
>>>> John,
>>>>
>>>> Can you send me the datafiles too (feel free to do it off the mailing
>>>> list) so I can figure out what could be going wrong.
>>>>
>>>> Thanks
>>>> Utkarsh
>>>>
>>>> On Wed, Mar 29, 2017 at 12:01 PM, John Haase <jhaase1 at nd.edu> wrote:
>>>>
>>>>> Hello Paraviewers,
>>>>>
>>>>> I'm trying to integrate variables over time. I found this thread where
>>>>> it had been brought up previously.
>>>>>
>>>>> http://paraview.markmail.org/search/?q=integral+over+time#qu
>>>>> ery:integral%20over%20time+page:1+mid:z75bede26onth4eu+state:results
>>>>>
>>>>> However, when I try and open the state file, paraview crashes. So what
>>>>> commands do I use to do the integral over time? I'm trying to integrate a
>>>>> PlotSelectionOverTime filter (with row data).
>>>>>
>>>>> I'm doing this programmatically, so attached is the python script. I
>>>>> have so far.
>>>>>
>>>>> Regards,
>>>>>
>>>>> John R. Haase
>>>>> jhaase1 at nd.edu
>>>>>
>>>>> _______________________________________________
>>>>> 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
>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170330/0ed40559/attachment.html>


More information about the ParaView mailing list