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

DWI pipeline -- RuntimeWarning #1333

Open
oesteban opened this issue Aug 21, 2024 · 2 comments
Open

DWI pipeline -- RuntimeWarning #1333

oesteban opened this issue Aug 21, 2024 · 2 comments

Comments

@oesteban
Copy link
Member

/home/oesteban/.miniconda3/envs/fmriprep/lib/python3.11/site-packages/dipy/denoise/noise_estimate.py:252: RuntimeWarning: divide by zero encountered in divide
  s = sum_m2 / (2 * K * sigma**2)
/home/oesteban/.miniconda3/envs/fmriprep/lib/python3.11/site-packages/dipy/denoise/noise_estimate.py:252: RuntimeWarning: invalid value encountered in divide
  s = sum_m2 / (2 * K * sigma**2)
@arokem
Copy link
Collaborator

arokem commented Aug 21, 2024

My guess is that is probably due to background voxels that get included in the mask.

@oesteban
Copy link
Member Author

Yes, this is some sort of note to self to look into the calling function.

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