-
Notifications
You must be signed in to change notification settings - Fork 26
PolarBasis2D bug.
#561
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
PolarBasis2D bug.
#561
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #561 +/- ##
===========================================
+ Coverage 87.16% 87.42% +0.25%
===========================================
Files 108 108
Lines 7979 8172 +193
===========================================
+ Hits 6955 7144 +189
- Misses 1024 1028 +4
Continue to review full report at Codecov.
|
chris-langfield
left a comment
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.
As discussed in person:
doing
self.nrad = size[0] // 2
is another option, but the repeated class variable is already done with ndim, so for readability's sake I like this solution. Could add the default values for nrad and ntheta to the docstring as well. Thanks!
|
Thanks @chris-langfield! Added defaults to the docstring and moved the assignment of default values for |
| Currently only square images are supported. | ||
| :param nrad: The number of points in the radial dimension. | ||
| :param ntheta: The number of points in the angular dimension. | ||
| :param nrad: The number of points in the radial dimension. Default is resoltuion // 2. |
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.
resolution
This resolves issue #560. While creating a
PolarBasis2Dobjectself.nradcalls onself.nresprior toself.nresbeing initialized.