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

About MCPC3DS #29

Open
youyiyiyi opened this issue Jan 20, 2025 · 1 comment
Open

About MCPC3DS #29

youyiyiyi opened this issue Jan 20, 2025 · 1 comment

Comments

@youyiyiyi
Copy link

Do you know what is the possible reason of MCP3DS with an output of all NAN?
Also when running: mask3 = robustmask(romeovoxelquality(phase; mag)); # Using magnitude and phase
, it complains about the loss of key word TEs.
Thanks!

@korbinian90
Copy link
Owner

For the NAN problem
Can you check if your inputs to mcpc3ds contain NaNs?
for example: sum(.!isfinite.(phase))
phase[.!isfinite.(phase)] .= 0 might help in that case before using mcpc3ds.
If that doesn't fix your problem, can you share your dataset for me to have a look?

romeovoxelquality
When your data is 4D, for example with multiple echoes, then you need to specify the echo time:

TEs = [1,2,3]
mask3 = robustmask(romeovoxelquality(phase; mag, TEs));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants