Hi Matt<div><br></div><div>I will try to use HaloFinder from YT, the script would be:</div><div><br></div><div><font class="Apple-style-span" face="'courier new', monospace"># create Paraview Handler</font></div><div>
<div><font class="Apple-style-span" face="'courier new', monospace">pf = stream.StreamStaticOutput(handler)</font></div></div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><font class="Apple-style-span" face="'courier new', monospace"><br>
</font></div><div><font class="Apple-style-span" face="'courier new', monospace"># halos will be added to this polydata</font></div><div><font class="Apple-style-span" face="'courier new', monospace">spheres = vtkAppendPolyData()</font></div>
<div></div></div><div><font class="Apple-style-span" face="'courier new', monospace"><br></font></div><div><font class="Apple-style-span" face="'courier new', monospace">halos = HaloFinder(pf)</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace">for halo in halos:</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> # create a vtkSphere using halo information</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> s = vtkSphereSource()</font></div><div><font class="Apple-style-span" face="'courier new', monospace"> s.SetCenter(halo.get_sphere().center) </font></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><font class="Apple-style-span" face="'courier new', monospace"> s.SetRadius(halo.get_sphere().radius) </font></div><div><font class="Apple-style-span" face="'courier new', monospace"> s.Update()</font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> spheres.AddInput(s.GetOutput()) </font></div><div><span class="Apple-style-span" style="white-space: pre-wrap; "><font class="Apple-style-span" face="'courier new', monospace">spheres.Update()</font></span></div>
<div><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="white-space: normal; "></span></font></p>
<p style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "></p><p style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
<font class="Apple-style-span" face="'courier new', monospace"><br></font></p><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="white-space: pre-wrap; ">output.SetPoints(s1.GetOutput().GetPoints())</span></font><span class="Apple-style-span" style="white-space: normal; "><p style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
<font class="Apple-style-span" face="'courier new', monospace">output.SetPolys(s1.GetOutput().GetPolys())</font></p><p style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
<br></p><p style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></p><p style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
Using this script we will be able to recover the halos as a set of spheres which </p><p style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">could be visualized using paraview.</p>
<p style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></p><p style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
Questions:</p><p style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">* HaloFinder needs the particle information right?</p><p style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
* Current stream.StreamHandler support the particle data?</p><p style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></p><p style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
Regards,</p><p style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><br></p><p style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">
<br></p><p style="white-space: pre-wrap; margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; ">Att. Jorge Poco</p></span><p></p></div>