ENH: Shepard Optimized Interpolation - Multiple Inputs Support#515
Merged
phmbressan merged 11 commits intodevelopfrom Jan 25, 2024
Merged
ENH: Shepard Optimized Interpolation - Multiple Inputs Support#515phmbressan merged 11 commits intodevelopfrom
phmbressan merged 11 commits intodevelopfrom
Conversation
- Minor bug in computation if distance zero solved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #515 +/- ##
===========================================
- Coverage 72.36% 72.16% -0.21%
===========================================
Files 56 56
Lines 9409 9362 -47
===========================================
- Hits 6809 6756 -53
- Misses 2600 2606 +6 ☔ View full report in Codecov by Sentry. |
phmbressan
commented
Dec 19, 2023
Gui-FernandesBR
approved these changes
Jan 20, 2024
Member
Gui-FernandesBR
left a comment
There was a problem hiding this comment.
There was a conflict on the changelog, I solved it and now I'm re-approaving.
Excellent PR, this really demonstrantes how Brillant are some people in our team.
In this case, @phmbressan .
ps.: Thank you numpy for existing.
Gui-FernandesBR
approved these changes
Jan 25, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Pull request type
Checklist
black rocketpy/ tests/) has passed locallypytest --runslow) have passed locallyCHANGELOG.mdhas been updated (if relevant)Current behavior
The optimized method
get_value_optforshepardinterpolation had a great speed up by #501. However, this method did not support (even before than the #501) arrays of inputs.New behavior
Inspired by the implementation made in the aforementioned PR, the support for multiple inputs was added in the optimized way, benefiting from the great speed up implemented. Since this also satisfies the requisites for the common
get_valuemethod while being faster, it was also updated.Breaking change