-
Notifications
You must be signed in to change notification settings - Fork 278
Paganin filter corrections #547
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
base: master
Are you sure you want to change the base?
Conversation
Hello @Arhatari! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2021-08-24 02:01:43 UTC |
Thanks @Arhatari for this PR! This has been brought up several times before, but never had the chance to do it properly. However, because there are many users that may have used and become familiar with the parameter settings of the "current" filter, I suggest we name the new function as |
Yes. I agree with your suggestion. This is a great suggestion and will be useful for the users.
Thank you for responding this matter.
Best regards
Benedicta
|
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Paganin's filter is corrected according to the equation in the original paper.
Frequency domain is normalized to the value of 2*pi instead of original value of 0.5.
When padding is set to False, the result was giving constant value on the image. Therefore the code is changed accordingly.
Minus logarithm is added according to the Paganin's filter equation. (The place of the minus logarithm could also be in the filter itself).
Closes #474 Related to #500