Skip to content

Conversation

@chris-langfield
Copy link
Collaborator

This will close out #609

It turned out the m_reshape was totally unnecessary in the first place: you could achieve the same effect by doing np.array(zeros).T!

This test turns basis.r0 from 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 length ell_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.

@chris-langfield chris-langfield changed the base branch from master to develop November 28, 2022 16:16
@chris-langfield chris-langfield self-assigned this Nov 28, 2022
@codecov
Copy link

codecov bot commented Nov 28, 2022

Codecov Report

Merging #776 (3d0e526) into develop (63255ce) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@             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              
Impacted Files Coverage Δ
src/aspire/basis/fb_2d.py 100.00% <ø> (ø)
src/aspire/basis/fb.py 100.00% <100.00%> (ø)
src/aspire/basis/fb_3d.py 100.00% <100.00%> (ø)
src/aspire/basis/ffb_2d.py 100.00% <100.00%> (ø)
src/aspire/basis/ffb_3d.py 100.00% <100.00%> (ø)
src/aspire/utils/filter_to_fb_mat.py 96.96% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Collaborator

@j-c-c j-c-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@chris-langfield chris-langfield marked this pull request as ready for review November 29, 2022 18:04
@chris-langfield chris-langfield linked an issue Nov 29, 2022 that may be closed by this pull request
Copy link
Collaborator

@garrettwrong garrettwrong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks!!

@chris-langfield chris-langfield merged commit cb39a8a into develop Dec 1, 2022
@chris-langfield chris-langfield deleted the fb2d_m_reshape branch December 1, 2022 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MATLAB hold-overs in Fourier Bessel zero finding method

4 participants