<div dir="ltr">On 5 January 2015 at 20:12, Swaroop Guntupalli <span dir="ltr"><<a href="mailto:swaroopgj@gmail.com" target="_blank">swaroopgj@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">My use case is a bit different from the intended one. Let me know if<br>
this approach of using SQEs for that makes sense:<br>
I want to get voxels corresponding to nodes at a particular<br>
hop/distance from a center node (not less than or equal to that<br>
distance). This is similar to HollowSphere in volume searchlights. One<br>
approach I am thinking of is to use multiple SQEs at difference hops<br>
and eliminate nodes from SQE with smaller radius. I already have<br>
SurfaceVerticesQueryEngine with r=0, which lets me get voxels assigned<br>
to any particular node, so that I can quickly get all voxels<br>
associated with any set of nodes.<br></blockquote><div><br></div><div>Yes, that could work.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Since my initial email, I thought of another approach by using SVQE<br>
with largest radius I want and using 'center_distances' to get voxels<br>
at a particular distance. I am assuming those are Euclidean distances<br>
from center node, is that correct? </blockquote><div><br></div><div>No, they are the node-to-node distance* between the center node and the selected node (in the case of a volumetric dataset, the "selected node" means the node associated with that voxel).</div><div><br></div><div>* which distance depends on the selected distance metric, so it could be Dijkstra or Euclidean.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Eitherway, is there a way to pass<br>
that 'fa' to Measure along with the dataset using standard<br>
Searchlight()?<br></blockquote><div><br></div><div>I haven't tried it, but looking at measures/searchlight.py it seems that that should probably work. Please let us know if you run into issues.</div></div></div></div>