-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Rician Noise Transform #2066
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
Rician Noise Transform #2066
Conversation
Signed-off-by: Lyndon Boone <[email protected]>
Signed-off-by: Lyndon Boone <[email protected]>
Signed-off-by: Lyndon Boone <[email protected]>
Signed-off-by: Lyndon Boone <[email protected]>
thanks, it looks nice! just a few minor things to improve:
|
Signed-off-by: Lyndon Boone <[email protected]>
Signed-off-by: Lyndon Boone <[email protected]>
Signed-off-by: Lyndon Boone <[email protected]>
@wyli thanks for the comments! I added a couple of unit tests that closely resemble These test the default options for the Rician noise transform, which make it act the same as the current Gaussian noise transform. I also added a couple of additional options to the Rician noise transform:
Whenever you get a chance, let me know what you think of these options and whether I should include unit tests for them. I'm fairly new to writing unit tests but I'll do my best to figure it out if necessary. I'll also try to take a look at the flake8 issue over the weekend or early next week. |
the PR looks good to me, just need to fix the flake8 issue, and keep the branch uptodate with the master branch then I'll merge it. Many thanks! |
@wyli thanks! When I run the mypy tests on my local machine I get the error below, which is preventing me from getting to the typing errors. Any ideas on how I might be able to get around this? |
What OS are you on? |
Thanks for the reply @rijobro. I'm using WSL2 |
Signed-off-by: Lyndon Boone <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the PR looks good to me, thank you!
No problem, thanks @wyli ! @rijobro the problem I was having seems to be related to this issue in mypy: python/mypy#7281. I temporarily moved the |
Description
Added a Rician noise transform for modeling noise in MRI.
closes #2054
Status
ready
Types of changes
./runtests.sh -f -u --net --coverage
../runtests.sh --quick --unittests
.make html
command in thedocs/
folder.