Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KFA calculation #2049

Closed
rosella1234 opened this issue Feb 18, 2020 · 6 comments
Closed

KFA calculation #2049

rosella1234 opened this issue Feb 18, 2020 · 6 comments

Comments

@rosella1234
Copy link

When I try computing DKI metrics with dipy, everything works for FA;RD;AD;MD and KM,RK;AK , whereas KFA gives the following error:

KFA = dkifit.kfa
Traceback (most recent call last):
File "", line 1, in
AttributeError: 'DiffusionKurtosisFit' object has no attribute 'kfa'

Thank you,
Rosella

@arokem
Copy link
Contributor

arokem commented Feb 18, 2020

Hi Rosella - thanks for reporting. How did you install DIPY? What version are you running?

The reason I ask is that this feature is a recent addition, so you might need to upgrade your installation (e.g., by running pip install dipy --upgrade)

@skoudoro skoudoro added this to the 1.2 milestone Feb 18, 2020
@rosella1234
Copy link
Author

rosella1234 commented Feb 18, 2020 via email

@skoudoro
Copy link
Member

  • The most recent version is DIPY 1.1.1. It works only on python 3
  • the version 0.16.0 is the last version on python 2

Are you using python 2 @rosella1234? If yes, you will have to update your environment and use python3 because python2 is not anymore maintained and all packages are moving.

@rosella1234
Copy link
Author

rosella1234 commented Feb 18, 2020 via email

@skoudoro
Copy link
Member

I recommend you to set it up for python 3.6 or more. Python 3.6 will stick around for a long time.

On the opposite, python3.4 is not anymore maintained so DIPY can not rely on it. Furthermore, they will stop the maintenance of python 3.5 this year.

@arokem
Copy link
Contributor

arokem commented Feb 20, 2020

I believe the question has been answered, so I am going to close this. Feel free to reopen if you still have a follow-up.

@arokem arokem closed this as completed Feb 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants