Dear Neuroimaging Community,
The Online DIPY Workshop is back with a great lineup of topics and
speakers! Please forward this email to any interested parties.
[image: image.png]
For registration and more information please visit
https://dipy.org/workshops/latest
On behalf of the DIPY team,
Eleftherios Garyfallidis, PhD
Assistant Professor
Intelligent Systems Engineering
Indiana University
Luddy Hall 700 N Woodlawn
Bloomington, IN 47408
GRG <https://grg.luddy.indiana.edu/> | DIPY <…
[View More]http://dipy.org/> | FURY
<https://fury.gl/>
[View Less]
Hi,
I apologize if this is just a stupid bug on my part – I am new to FURY - but this is my issue:
I am trying to define multiple lines in a scene as multiple independent actors, but when I do so the renderer adds an extra line that connects one of the ends to the origin. This does not happen if I define a single actor with multiple lines.
I am running on multiple python versions (3.8,3.9) and on multiple Mac systems (Mac Pro, iMac, MacBook Pro) with the same result.
To reproduce the issue:
…
[View More]Single actor:
scene = window.Scene()
scene.SetBackground((255,255,255))
lines = []
for n in range(5):
lines.append(np.random.rand(2, 3))
colors = [np.random.rand(2, 3)]*5
c = actor.line(lines, colors, opacity= 1.0, lod=False,
fake_tube=True, linewidth=3)
scene.add(c)
window.show(scene)
[A picture containing antenna Description automatically generated]
Multiple actors:
scene = window.Scene()
scene.SetBackground((255,255,255))
lines = []
for n in range(5):
lines.append(np.random.rand(2, 3))
colors = [np.random.rand(2, 3)]*5
line_actor = []
for n in range(5):
line_actor.append(actor.line(lines[n], colors[n], opacity= 1.0, lod=False,
fake_tube=True, linewidth=3))
scene.add(line_actor[n])
window.show(scene)
[A picture containing antenna Description automatically generated]
Thank you very much for any suggestion you can give me!
Best
Marco Buongiorno Nardelli (he/him)
Regents Professor, University of North Texas
External Professor, Santa Fe Institute
CEMI, Center for Experimental Music and Intermedia
iARTA, Initiative for Advanced Research in Technology and the Arts
ArtSciLab, ATEC @ the University of Texas at Dallas
http://ermes.unt.eduhttp://www.materialssoundmusic.com<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.materi…>
[View Less]
Hi Yanyu,
For dipy <= 1.4.1, need fury <= 0.7.1
for dipy >= 1.5.0, you need fury >= 0.8.0
It should fix your problem.
Cheers,
Serge Koudoro
________________________________
From: Xiong, Yanyu <xionyany(a)indiana.edu>
Sent: Tuesday, February 8, 2022 7:18 PM
To: fury-owner(a)python.org <fury-owner(a)python.org>
Subject: [External] Can't import name 'vtk' from 'fury.window'
This message was sent from a non-IU address. Please exercise caution when clicking links or …
[View More]opening attachments from external sources.
Dear community members,
I had an issue using ‘ from dipy.viz import window, actor’ as follows:
from dipy.viz import window, actor
Traceback (most recent call last):
File "C:\Users\ADMINI~1\AppData\Local\Temp/ipykernel_10660/96092957.py", line 1, in <module>
from dipy.viz import window, actor
File "C:\ProgramData\Anaconda3\lib\site-packages\dipy\viz\__init__.py", line 16, in <module>
from fury.window import vtk
ImportError: cannot import name 'vtk' from 'fury.window' (C:\ProgramData\Anaconda3\lib\site-packages\fury\window.py)
How should I fix the problem?
Thanks,
Yanyu
[View Less]