[Neuroimaging] [Dipy] Problem with QuickBundle

Ignacio Javier Osorio Wallace iosorio at udec.cl
Tue Jul 14 21:47:41 CEST 2015


Hi Eleftherios,

Thanks for replying so soon.

What i got from dipy.get_info() was:

{'sys_version': '2.7.9 (default, Dec 10 2014, 12:24:55) [MSC v.1500 32 
bit (Intel)]', 'commit_source': '(none found)', 'np_version': '1.9.2', 
'commit_hash': '<not found>', 'pkg_path': 
'C:\\Python27\\lib\\site-packages\\dipy', 'sys_executable': 
'C:\\Python27\\python.exe', 'sys_platform': 'win32'}

I hope this will help.

Many thanks,
Ignacio.

El 2015-07-13 19:15, Eleftherios Garyfallidis escribió:
> Hi Ignacio,
> 
> Thank you for your question. We are currently changing the API of
> QuickBundles. Most likely you are using the documentation from the
> development version but running code from a released version?
> 
> Can you try
> 
> import dipy
> dipy.get_info()
> 
> and tell me here what you are getting?
> 
> Many thanks,
> Eleftherios
> 
> On Mon, Jul 13, 2015 at 6:00 PM, Ignacio Javier Osorio Wallace
> <iosorio at udec.cl> wrote:
> 
>> Hello there, my name is Ignacio Osorio Wallace, I'm an electronic
>> engineer student at Concepcion University (Chile). I'm currently
>> working on the creating of a software that could use your library to
>> reconstruct and segment brain fiber from the NIfTI1Image objects.
>> 
>> I followed your examples to get a hint of how to work with Dipy.
>> And I'm having some problems with the QuickBundle. The specific
>> problem is shown here:
>> 
>> """
>> Traceback (most recent call last):
>>   File
>> "/home/cocobio/MEGA/2015/Python/Project/segment_quickbundles.py",
>> line 43, in <module>
>>     clusters = qb.cluster(streamlines)
>>   File
>> "/usr/local/lib/python2.7/dist-packages/dipy/segment/clustering.py",
>> line 459, in cluster
>>     ordering=ordering)
>>   File "dipy/segment/clustering_algorithms.pyx", line 111, in
>> dipy.segment.clustering_algorithms.quickbundles
>> (dipy/segment/clustering_algorithms.c:3179)
>>   File "dipy/segment/clusteringspeed.pyx", line 273, in
>> dipy.segment.clusteringspeed.QuickBundles.assignment_step
>> (dipy/segment/clusteringspeed.c:3840)
>> ValueError: Data features' shapes must be compatible according to
>> the metric used!
>> """
>> 
>> I think I'm not doing anything wrong, since this is the example
>> code provided by the Dipy web-page. The reconstruction and tracking
>> using ODF is working perfectly.
>> 
>> If you could help in any way, I will greatly appreciate.
>> 
>> Thanks for your time. And I hope my English didn't sound to casual.
>> 
>> Ignacio Osorio Wallace.
>> _______________________________________________
>> Neuroimaging mailing list
>> Neuroimaging at python.org
>> https://mail.python.org/mailman/listinfo/neuroimaging [1]
> 
> 
> 
> Links:
> ------
> [1] https://mail.python.org/mailman/listinfo/neuroimaging
> 
> _______________________________________________
> Neuroimaging mailing list
> Neuroimaging at python.org
> https://mail.python.org/mailman/listinfo/neuroimaging


More information about the Neuroimaging mailing list