-
Notifications
You must be signed in to change notification settings - Fork 429
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
[NF] Add workflow to convert tensors in different formats #3053
Conversation
Hello @skoudoro, Thank you for updating ! Cheers ! There are no PEP8 issues in this Pull Request. 🍻 Comment last updated at 2024-01-30 02:11:09 UTC |
a878067
to
26869b3
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #3053 +/- ##
==========================================
+ Coverage 81.95% 81.99% +0.04%
==========================================
Files 147 147
Lines 20710 20740 +30
Branches 3330 3337 +7
==========================================
+ Hits 16972 17005 +33
+ Misses 2905 2903 -2
+ Partials 833 832 -1
|
Did you have the opportunity to try @tangwei? |
I tried to install from the branch following your video instruction. I came to the point of checkout, but after I clicked the checkout button on the pull request description page: I found myself in "pr/skoudoro/3053" rather than "convert-tensors": I ran I then tried
|
The branch is correct
this is correct. Before that, you need to do Let me know if it goes ok @tangwei . Thanks ! |
Ah okay, now it installed correctly and I saw dipy_convert_tensors. I don't have tensor files from other software for testing though. @skoudoro do you know if there are test data somewhere I could use directly? |
No, sorry... |
Do you have an update on this @tangwei ? |
The installation worked and I can pull up -help no problem. But I don't have data to test it. I basically don't have tensor files from other software. |
in this case, the easy way is:
|
Got ya. Will do! |
@skoudoro I followed the DIPY tutorial to create tensor variables, but what file format should I save them as? Can you give me an example for the dipy tensor output? |
Hi @tangwei, You can look at dipy DTI tutorial: https://docs.dipy.org/stable/examples_built/reconstruction/reconst_dti.html#sphx-glr-examples-built-reconstruction-reconst-dti-py We save tensor as Nifti. Another example: https://github.com/dipy/miccai23/blob/main/quantconn/process.py#L103-L112 I hope it helps. |
This PR allow the possible to convert tensor files from different software. it should help user to import their data from other software or visualize data processed by DIPY in other software.