<div dir="ltr">You are welcome Ignacio. Happy hacking!</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 14, 2015 at 4:44 PM, Ignacio Javier Osorio Wallace <span dir="ltr"><<a href="mailto:iosorio@udec.cl" target="_blank">iosorio@udec.cl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It work! Thanks for everything, now I'm going to try use it with my own data sets.<br>
<br>
Thanks for your time Eleftherious.<span class=""><br>
<br>
El 2015-07-14 17:34, Eleftherios Garyfallidis escribió:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Okay you are using the released version of Dipy.<br>
<br>
Can you try to run this tutorial in your computer and tell me if it<br>
works for you?<br>
<br>
<a href="https://github.com/nipy/dipy/blob/maint/0.9.x/doc/examples/segment_quickbundles.py" rel="noreferrer" target="_blank">https://github.com/nipy/dipy/blob/maint/0.9.x/doc/examples/segment_quickbundles.py</a><br></span>
[2]<span class=""><br>
<br>
On Tue, Jul 14, 2015 at 4:30 PM, Ignacio Javier Osorio Wallace<br>
<<a href="mailto:iosorio@udec.cl" target="_blank">iosorio@udec.cl</a>> wrote:<br>
<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
it prints: 0.9.2<br>
<br>
El 2015-07-14 16:57, Eleftherios Garyfallidis escribió:<br>
<br>
And what <br>
<br>
dipy.__version__<br>
<br>
is giving you?<br>
<br>
On Tue, Jul 14, 2015 at 3:47 PM, Ignacio Javier Osorio Wallace<br>
<<a href="mailto:iosorio@udec.cl" target="_blank">iosorio@udec.cl</a>> wrote:<br>
<br>
Hi Eleftherios,<br>
<br>
Thanks for replying so soon.<br>
<br>
What i got from dipy.get_info() was:<br>
<br>
{'sys_version': '2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500<br>
32 bit (Intel)]', 'commit_source': '(none found)', 'np_version':<br>
'1.9.2', 'commit_hash': '<not found>', 'pkg_path':<br></span>
'C:Python27libsite-packagesdipy', 'sys_executable':<br>
'C:Python27python.exe', 'sys_platform': 'win32'}<div><div class="h5"><br>
<br>
I hope this will help.<br>
<br>
Many thanks,<br>
Ignacio.<br>
<br>
El 2015-07-13 19:15, Eleftherios Garyfallidis escribió:<br>
<br>
Hi Ignacio,<br>
<br>
Thank you for your question. We are currently changing the API of<br>
QuickBundles. Most likely you are using the documentation from the<br>
development version but running code from a released version?<br>
<br>
Can you try<br>
<br>
import dipy<br>
dipy.get_info()<br>
<br>
and tell me here what you are getting?<br>
<br>
Many thanks,<br>
Eleftherios<br>
<br>
On Mon, Jul 13, 2015 at 6:00 PM, Ignacio Javier Osorio Wallace<br>
<<a href="mailto:iosorio@udec.cl" target="_blank">iosorio@udec.cl</a>> wrote:<br>
<br>
Hello there, my name is Ignacio Osorio Wallace, I'm an electronic<br>
engineer student at Concepcion University (Chile). I'm currently<br>
working on the creating of a software that could use your library<br>
to<br>
reconstruct and segment brain fiber from the NIfTI1Image objects.<br>
<br>
I followed your examples to get a hint of how to work with Dipy.<br>
And I'm having some problems with the QuickBundle. The specific<br>
problem is shown here:<br>
<br>
"""<br>
Traceback (most recent call last):<br>
File<br>
"/home/cocobio/MEGA/2015/Python/Project/segment_quickbundles.py",<br>
line 43, in <module><br>
clusters = qb.cluster(streamlines)<br>
File<br>
"/usr/local/lib/python2.7/dist-packages/dipy/segment/clustering.py",<br>
line 459, in cluster<br>
ordering=ordering)<br>
File "dipy/segment/clustering_algorithms.pyx", line 111, in<br>
dipy.segment.clustering_algorithms.quickbundles<br>
(dipy/segment/clustering_algorithms.c:3179)<br>
File "dipy/segment/clusteringspeed.pyx", line 273, in<br>
dipy.segment.clusteringspeed.QuickBundles.assignment_step<br>
(dipy/segment/clusteringspeed.c:3840)<br>
ValueError: Data features' shapes must be compatible according to<br>
the metric used!<br>
"""<br>
<br>
I think I'm not doing anything wrong, since this is the example<br>
code provided by the Dipy web-page. The reconstruction and tracking<br>
using ODF is working perfectly.<br>
<br>
If you could help in any way, I will greatly appreciate.<br>
<br>
Thanks for your time. And I hope my English didn't sound to casual.<br>
<br>
Ignacio Osorio Wallace.<br>
_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org" target="_blank">Neuroimaging@python.org</a><br>
</div></div><a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a> [1] [1] [1]<br>
<br>
Links:<br>
------<br>
[1] <a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a> [1] [1]<span class=""><br>
<br>
_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org" target="_blank">Neuroimaging@python.org</a><br>
</span><a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a> [1] [1]<span class=""><br>
<br>
_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org" target="_blank">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a> [1] [1]<br>
<br>
Links:<br>
------<br>
[1] <a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a> [1]<br>
<br>
_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org" target="_blank">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a> [1]<br>
</span></blockquote><span class="">
<br>
_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org" target="_blank">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a> [1]<br>
<br>
<br>
<br>
Links:<br>
------<br>
[1] <a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a><br></span>
[2]<br>
<a href="https://github.com/nipy/dipy/blob/maint/0.9.x/doc/examples/segment_quickbundles.py" rel="noreferrer" target="_blank">https://github.com/nipy/dipy/blob/maint/0.9.x/doc/examples/segment_quickbundles.py</a><span class=""><br>
<br>
_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org" target="_blank">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a><br>
</span></blockquote><div class="HOEnZb"><div class="h5">
_______________________________________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org" target="_blank">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/neuroimaging</a><br>
</div></div></blockquote></div><br></div>