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

Advice for saving results from MAPMRI #1637

Closed
mattcieslak opened this issue Sep 12, 2018 · 5 comments
Closed

Advice for saving results from MAPMRI #1637

mattcieslak opened this issue Sep 12, 2018 · 5 comments

Comments

@mattcieslak
Copy link
Contributor

Hello,

I was looking into the pam5 format and was wondering if there is an example of using it to save the results from a 3dSHORE or MAPMRI reconstruction. Do any MAPMRI or 3dSHORE users have any recommendations on storing data?

Thanks!

@skoudoro
Copy link
Member

Hi @mattcieslak,

Is my answer here enough for your question?

It would be good if you can create a short tutorial for the other users 😄 .

@Garyfallidis
Copy link
Contributor

Hi @mattcieslak, pam5 is used for saving the results from peaks_from_model which can have any model that can generate ODFs (or FODs). This is used to primarily save ODFs (optional), their peaks and ODFs as spherical harmonics coefficients. To save the SHORE or MAPMRI models you can save directly their coefficients as Nifti images (dipy.io.image.save_nifti) and the same for their different maps/metrics.

But the real question is what you really want to do. What is the application in mind?

@mattcieslak
Copy link
Contributor Author

Hi @Garyfallidis, I just wanted to make sure I had all the necessary information to calculate propagator metrics and calculate ODFs after the lengthy fitting process is over. So It looks like is should just do a save_nifti on the coefficients and then re-load them in the appropriate model class and I can go about calculating ODFs and metrics?

@Garyfallidis
Copy link
Contributor

Yes, you can do that @mattcieslak. Load them in a Fit class and then later calculate other metrics, including the ODF.

@arokem
Copy link
Contributor

arokem commented Dec 9, 2018

Looks like we can close this one, but feel free to reopen if you still have questions.

@arokem arokem closed this as completed Dec 9, 2018
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

4 participants