<div dir="ltr"><span style="font-size:12.8px">Exploring 'integrateSqrVarOverSpace', it doesn't have a 'RowData' object.</span><br><div><span style="font-size:12.8px"><br></span></div><div><p style="margin:0px"><span style="font-family:courier;font-size:8.25pt;color:rgb(0,0,0)">dir(integrateSqrVarOverSpace)</span></p>
<p style="margin:0px"><span style="font-family:courier;font-size:8.25pt;color:rgb(0,150,0)">['CellData', 'FieldData', 'FileNameChanged', 'GetCellDataInformation', 'GetDataInformation', 'GetFieldDataInformation', 'GetPointDataInformation', 'GetProperty', 'GetPropertyValue', 'Initialize', 'InitializeFromProxy', 'Input', 'ListProperties', 'Observed', 'ObserverTag', 'OnlyReportSelectionStatistics', 'PointData', 'Port', 'SMProxy', 'Selection', 'SetPropertyWithName', 'UpdatePipeline', 'UpdatePipelineInformation', '_Proxy__ConvertArgumentsAndCall', '_Proxy__GetActiveCamera', '_Proxy__LastAttrName', '_Proxy__Properties', '__class__', '__del__', '__delattr__', '__dict__', '__doc__', '__eq__', '__format__', '__getattr__', '__getattribute__', '__getitem__', '__hash__', '__init__', '__iter__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'add_attribute']</span></p><p style="margin:0px"><span style="font-family:courier;font-size:8.25pt;color:rgb(0,150,0)"><br></span></p><p style="margin:0px"><span style="font-size:12.8px">So, using the script you posted, I get the error "IndexError: tuple index out of range".</span><span style="font-family:courier;font-size:8.25pt;color:rgb(0,150,0)"><br></span></p></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif">Regards,<br></div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif"><br></div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif">John R. Haase</div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif"><a href="mailto:jhaase1@nd.edu" target="_blank">jhaase1@nd.edu</a></div></div></div></div>
<br><div class="gmail_quote">On Thu, Mar 30, 2017 at 10:35 AM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Isn't that simply a sum of all the rows in the output of  integrateSqrVarOverSpace filter? <br><br>If so, that can be done by using another <b>ProgrammableFilter</b> with  the following <b>Script</b>:<br><br><div><span style="color:rgb(0,128,0);font-family:monospace;font-weight:600">from numpy import sum</span><br></div><div><span style="font-family:monospace;font-weight:600;color:rgb(0,128,0)">for</span><span style="font-family:monospace"> inTable, outTable </span><span style="font-family:monospace;font-weight:600;color:rgb(170,34,255)">in</span><span style="font-family:monospace"> </span><span style="font-family:monospace;color:rgb(0,128,0)">zip</span><span style="font-family:monospace">(inputs[</span><span style="font-family:monospace;color:rgb(102,102,102)">0</span><span style="font-family:monospace">], output):</span><br></div><div>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:monospace">    </span><span style="font-family:monospace;font-weight:600;color:rgb(0,128,0)">for</span><span style="font-family:monospace"> aname </span><span style="font-family:monospace;font-weight:600;color:rgb(170,34,255)">in</span><span style="font-family:monospace"> inTable</span><span style="font-family:monospace;color:rgb(102,102,102)">.</span><span style="font-family:monospace">RowData</span><span style="font-family:monospace;color:rgb(102,102,102)">.</span><span style="font-family:monospace">keys():</span></pre>
<pre style="margin-top:0px;margin-bottom:0px"><span style="font-family:monospace">        outTable</span><span style="font-family:monospace;color:rgb(102,102,102)">.</span><span style="font-family:monospace">RowData</span><span style="font-family:monospace;color:rgb(102,102,102)">.</span><span style="font-family:monospace">append(</span><span style="font-family:monospace;color:rgb(0,128,0)">sum</span><span style="font-family:monospace">(<wbr>inTable</span><span style="font-family:monospace;color:rgb(102,102,102)">.</span><span style="font-family:monospace">RowData[aname]), aname)</span></pre><span class="HOEnZb"><font color="#888888">
<pre style="margin-top:0px;margin-bottom:0px;font-family:monospace"><br></pre>
<pre style="margin-top:0px;margin-bottom:12px;font-family:monospace">Utkarsh</pre><div><br></div><div><br></div></font></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 29, 2017 at 1:15 PM, John Haase <span dir="ltr"><<a href="mailto:jhaase1@nd.edu" target="_blank">jhaase1@nd.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sorry, that's not what I wanted. I want to integrate the variable "integrateSqrVarOverSpace", over time as well.</div><div class="gmail_extra"><span><br clear="all"><div><div class="m_-4285501907191998347m_-2110497352090742525gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif">Regards,<br></div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif"><br></div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif">John R. Haase</div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif"><a href="mailto:jhaase1@nd.edu" target="_blank">jhaase1@nd.edu</a></div></div></div></div>
<br></span><div><div class="m_-4285501907191998347h5"><div class="gmail_quote">On Wed, Mar 29, 2017 at 1:05 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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?</div><div class="m_-4285501907191998347m_-2110497352090742525HOEnZb"><div class="m_-4285501907191998347m_-2110497352090742525h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 29, 2017 at 12:30 PM, John Haase <span dir="ltr"><<a href="mailto:jhaase1@nd.edu" target="_blank">jhaase1@nd.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">They are very large. I believe you should be able to access them through this link<div><br></div><div><a href="https://notredame.box.com/s/qy0p9y5jg71jwxtzfey80xiq9i9udk5s" target="_blank">https://notredame.box.com/s/qy<wbr>0p9y5jg71jwxtzfey80xiq9i9udk5s</a></div></div><div class="gmail_extra"><span><br clear="all"><div><div class="m_-4285501907191998347m_-2110497352090742525m_-3483360377495985220m_-5476676280361016333gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif">Regards,<br></div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif"><br></div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif">John R. Haase</div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif"><a href="mailto:jhaase1@nd.edu" target="_blank">jhaase1@nd.edu</a></div></div></div></div>
<br></span><div><div class="m_-4285501907191998347m_-2110497352090742525m_-3483360377495985220h5"><div class="gmail_quote">On Wed, Mar 29, 2017 at 12:06 PM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">John,<div><br></div><div>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.</div><div><br></div><div>Thanks</div><div>Utkarsh</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-4285501907191998347m_-2110497352090742525m_-3483360377495985220m_-5476676280361016333h5">On Wed, Mar 29, 2017 at 12:01 PM, John Haase <span dir="ltr"><<a href="mailto:jhaase1@nd.edu" target="_blank">jhaase1@nd.edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-4285501907191998347m_-2110497352090742525m_-3483360377495985220m_-5476676280361016333h5"><div dir="ltr"><div>Hello Paraviewers,</div><div><br></div><div>I'm trying to integrate variables over time. I found this thread where it had been brought up previously.</div><div><br></div><div><a href="http://paraview.markmail.org/search/?q=integral+over+time#query:integral%20over%20time+page:1+mid:z75bede26onth4eu+state:results" target="_blank">http://paraview.markmail.org/s<wbr>earch/?q=integral+over+time#qu<wbr>ery:integral%20over%20time+pag<wbr>e:1+mid:z75bede26onth4eu+state<wbr>:results</a><br></div><div><br></div><div>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).</div><div><br></div><div>I'm doing this programmatically, so attached is the python script. I have so far.</div><br clear="all"><div><div class="m_-4285501907191998347m_-2110497352090742525m_-3483360377495985220m_-5476676280361016333m_3136142101393587616m_-3594233231282467362gmail_signature"><div dir="ltr"><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif">Regards,<br></div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif"><br></div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif">John R. Haase</div><div style="font-size:13px;color:rgb(136,136,136);font-family:arial,sans-serif"><a href="mailto:jhaase1@nd.edu" target="_blank">jhaase1@nd.edu</a></div></div></div></div>
</div>
<br></div></div>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>