-
Notifications
You must be signed in to change notification settings - Fork 26
Simplify Fourier-Bessel basis list of zeros #776
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
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #776 +/- ##
===========================================
- Coverage 88.53% 88.53% -0.01%
===========================================
Files 112 112
Lines 8760 8756 -4
===========================================
- Hits 7756 7752 -4
Misses 1004 1004
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
j-c-c
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.
LGTM!
garrettwrong
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.
LGTM thanks!!
This will close out #609
It turned out the
m_reshapewas totally unnecessary in the first place: you could achieve the same effect by doingnp.array(zeros).T!This test turns
basis.r0from an array of shape(max_num_zeros, ell_max)(i.e., the first dimension tracks the zeros of a given Bessel function, while the second tracks the Bessel order) to a list of lengthell_max, where the i'th element is a 1d numpy array containing exactly as many zeros as we have for Bessel order i. That is, it is a ragged list.